diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..4a96c22 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +source .venv/bin/activate \ No newline at end of file diff --git a/questions.md b/questions.md index 6a16806..5e39f22 100644 --- a/questions.md +++ b/questions.md @@ -21,16 +21,28 @@ The answers to the first two questions are given. 3. 00000001 +~a >> 3 + 4. 10000000 +a << 3 + 5. 01010000 +a & ~b + 6. 00001010 +~a & b + 7. 01010000 +a & ~b + 8. 10101011 +b | (~a >> 3) + ## Integer questions These questions are difficult! Try exploring ideas with `Bits`