Exam practice
A timed set of this course's public problems, one at a time
Information in bits
Give one bit a meaning
Read binary place values
Find what fits in three bits
Encode a character as bytes
Decode a tiny bitmap
Reason with true and false
Read a two-state predicate
Fill an AND table
Fill an OR table
Negate a condition
Check two rules against every input pair
Algorithms on paper
State inputs and outputs
Write an unambiguous instruction
Trace a decision
Explain when a repetition ends
Check a procedure against a counterexample
Search, sort and cost
Count comparisons in a linear search
Keep a sorted interval for binary search
Insert one card into sorted order
Trace a sort on repeated keys
Compare work as the collection doubles
Networks
Agree on a message format
Split a message into numbered pieces
Reassemble pieces arriving out of order
Use acknowledgments in a paper protocol
Explain a duplicate request