1. Bits/Booleans questions

This commit is contained in:
caglazir2
2026-03-03 18:01:18 -05:00
parent 816bdfda77
commit 0f60112490
2 changed files with 13 additions and 0 deletions

1
.envrc Normal file
View File

@@ -0,0 +1 @@
source .venv/bin/activate

View File

@@ -21,16 +21,28 @@ The answers to the first two questions are given.
3. 00000001 3. 00000001
~a >> 3
4. 10000000 4. 10000000
a << 3
5. 01010000 5. 01010000
a & ~b
6. 00001010 6. 00001010
~a & b
7. 01010000 7. 01010000
a & ~b
8. 10101011 8. 10101011
~b << 1
## Integer questions ## Integer questions
These questions are difficult! Try exploring ideas with `Bits` These questions are difficult! Try exploring ideas with `Bits`