Classroom Assessments
Midterm Exam, Final Exam & Homework Bank
Public Access Note: These printable exam sheets are publicly accessible for independent learners and educators. Teachers using them for graded assessments should modify numerical inputs (e.g., binary values, EAN prefixes, or frequency values) to create unique classroom variants.
Midterm Examination — Chapters 1–11 (45 Minutes)
- Binary & Parity (Ch. 01): Convert decimal 45 to 6-bit binary, append an even-parity bit, and explain why a single parity bit misses a 2-bit flip.
- Luhn Transformation (Ch. 02): Validate fictional code
79927398713step by step, showing which digits are doubled and where 9 is subtracted. Explain why Luhn is not an ordinary linear weighted sum. - EAN-13 & QR Codes (Ch. 03–04): Explain why EAN-13 stores a product ID rather than a price, and explain why QR error-correction Level H (~30% recoverable codewords) does not guarantee scanning if a finder pattern is destroyed.
- Hamming(7,4) & RAID-5 (Ch. 05): A Hamming(7,4) receiver observes failing parity checks P1 and P4 (while P2 passes). Which 1-based bit position was corrupted, and why is RAID-5 not a replacement for an offline backup?
- Cellular & Internet Routing (Ch. 06–08): Contrast how two cell phones actually communicate through base stations and the core network vs. direct phone-to-phone myths. Then explain how DNS, NAT, and TCP sequence numbers work together to load a web page.
- GPS & Cryptography (Ch. 10–11): Calculate the range error caused by a 2-microsecond GPS receiver clock bias, explain why four satellites are required, and contrast small-prime Diffie-Hellman learning examples with real authenticated AES-GCM.
Final Examination — Chapters 12–22 (45 Minutes)
- Steganography (Ch. 12): Calculate the maximum 1-bit RGB LSB byte capacity of a 100×80 lossless PNG. Explain why 1-bit LSB edits are often visually imperceptible yet still detectable through statistical steganalysis.
- Hashes, Signatures & TOTP (Ch. 13): Explain why a SHA-256 mismatch indicates modification only against a trusted reference digest, distinguish integrity from authentication, and state why RFC 6238 TOTP is not limited to SHA-1.
- Defensive Security & Payments (Ch. 14–15): Using
R_eff = R0 · (1 − p), find the patch rate needed to contain an outbreak with R0 = 5. Then explain how idempotency keys and integer-cent ledgers protect card payments. - Compression & Audio (Ch. 16–17): Use the pigeonhole principle to prove no lossless compressor can shrink every file, and state the minimum Nyquist sampling rate required to capture a 15,000 Hz audio tone without aliasing.
- Search, Vision & AI (Ch. 18–20): Explain why PageRank redistributes dangling-node rank, describe the FAR vs. FRR trade-off when raising a biometric threshold, and explain why train/test separation detects overfitting.
- NFC & Finding Networks (Ch. 21–22): Distinguish reading raw NFC tag bytes from parsing NDEF, opening a URL, and granting permissions. Then explain why a helper phone in a BLE finding network knows its own location before encrypting a relay report, and how unwanted-tracker alerts protect safety.
Suggested Homework & Classroom Discussion Prompts
- Homework 1 (Ch. 1–5): Pick one real retail barcode at home, verify its EAN-13 check digit by hand, and write a 1-paragraph explanation of why the price is not printed in the bars.
- Homework 2 (Ch. 6–10): Audit five apps on a family device for data minimization: list which permissions are strictly required vs. optional.
- Homework 3 (Ch. 11–15): Run the Chapter 13 Lab over
https://howdigitalworks.dev, tamper with 1 character of a signed fictional certificate, and write a short lab note explaining why verification failed. - Homework 4 (Ch. 16–22): Ask an AI assistant two factual science questions from Volume 1, independently verify every number and formula against the primary sources on Resources, and document any error you find.