generated from mwc/lab_encoding
Finished checkpoint 1 boolean qs
This commit is contained in:
14
questions.md
14
questions.md
@@ -21,16 +21,28 @@ The answers to the first two questions are given.
|
||||
|
||||
3. 00000001
|
||||
|
||||
a >> 7
|
||||
|
||||
4. 10000000
|
||||
|
||||
a << 3
|
||||
|
||||
5. 01010000
|
||||
|
||||
(a & b) >>1
|
||||
|
||||
6. 00001010
|
||||
|
||||
7. 01010000
|
||||
(~a) & b
|
||||
|
||||
7. 01010000 #this is the same as #5...
|
||||
|
||||
((~a) & b) << 3
|
||||
|
||||
8. 10101011
|
||||
|
||||
(a >> 7) | b
|
||||
|
||||
## Integer questions
|
||||
|
||||
These questions are difficult! Try exploring ideas with `Bits`
|
||||
|
||||
Reference in New Issue
Block a user