Code: The Hidden Language Of Computer Hardware And Software
petzold-code-hidden-language-computer-hardware-software-2e
Anchors
From Bits to Meaning
lesson / 13 anchors-
Chapter 1. Best Friends, near page 5 through page 7: codes as systems of signals, symbols, and rules; Morse code as a concrete communication code; computers need codes for numbers, sounds, pictures, and movies.
-
Chapter 2. Codes and Combinations, near page 10 through page 14: binary code combinations, powers of two, undefined codes.
-
Chapter 3. Braille and Binary Codes, near page 15 through page 19: six binary dots give 64 possible codes; shift and escape codes alter interpretation.
-
Chapter 9. Bit by Bit by Bit, near page 61 through page 64: a bit as a binary digit, tiny unit of information, and a choice among possibilities.
-
Chapter 15. Bytes and Hex, near page 170 through page 180: byte as 8 bits; one byte can represent 0 through 255 or one of 256 different things; bytes stored in latches.
-
Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285: coded character sets, ASCII, text strings, character codes for digits, and a historical presentation of Unicode.
-
Chapter 22. The Operating System, near page 310 through page 311: text files as ASCII codes, binary files as machine code or raw numeric bytes, and the same numbers stored differently as binary bytes or ASCII text.
-
Chapter 25. The Graphical Revolution, near page 344 through page 353: pixels, bitmaps, color depth, real-world images sampled through hardware, and sound converted to binary numbers by ADC/PCM.
-
Chapter 1. Best Friends, near page 5 through page 7: code as communication system; Morse code; computer codes for many information types.
-
Chapter 3. Braille and Binary Codes, near page 16 through page 19: six binary dot positions; context, shift codes, and escape codes.
-
Chapter 9. Bit by Bit by Bit, near page 61 through page 64: bits as binary digits and information as a choice among possibilities.
-
Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285: character codes, ASCII, digits as text, and character encoding limits.
-
Chapter 25. The Graphical Revolution, near page 344 through page 353: pixels, bitmaps, sampled images, and sampled sound.
Diagram: From Bits to Meaning
diagram / 5 anchors-
Chapter 1. Best Friends, near page 5 through page 7: codes and communication.
-
Chapter 2. Codes and Combinations, near page 10 through page 14: binary combinations and powers of two.
-
Chapter 3. Braille and Binary Codes, near page 16 through page 19: binary dot patterns and contextchanging codes.
-
Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285: text characters as codes.
-
Chapter 25. The Graphical Revolution, near page 344 through page 353: bitmap pixels and sampled sound.
Study Guide: From Bits to Meaning
study-guide / 8 anchors-
Chapter 1. Best Friends, near page 5 through page 7: codes as communication systems and computer codes for different information types.
-
Chapter 2. Codes and Combinations, near page 10 through page 14: powers of two and binary code combinations.
-
Chapter 3. Braille and Binary Codes, near page 16 through page 19: binary dot positions, 64 codes, shift and escape codes.
-
Chapter 9. Bit by Bit by Bit, near page 61 through page 64: bit, information, and choices.
-
Chapter 15. Bytes and Hex, near page 170 through page 180: byte, 256 possibilities, byte interpretations, and latches.
-
Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285: character sets, ASCII, text strings, digits as character codes.
-
Chapter 22. The Operating System, near page 310 through page 311: text files versus binary files.
-
Chapter 25. The Graphical Revolution, near page 344 through page 353: pixels, bitmaps, color depth, realworld image capture, ADC/PCM sound.
Lab: Inspect Meaning In Bytes
lab / 4 anchors-
Chapter 15. Bytes and Hex, near page 170 through page 180: byte as 8 bits and one of 256 possible things.
-
Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285: ASCII character codes and text strings.
-
Chapter 22. The Operating System, near page 310 through page 311: binary files versus text files and numeric values represented as ASCII text.
-
Chapter 25. The Graphical Revolution, near page 344 through page 353: pixels, bitmaps, bits per pixel, and binary representation of visual information.
Quiz: From Bits to Meaning
quiz / 7 anchors-
Chapter 1. Best Friends, near page 5 through page 7: codes and communication.
-
Chapter 2. Codes and Combinations, near page 10 through page 14: binary combinations and powers of two.
-
Chapter 3. Braille and Binary Codes, near page 16 through page 19: six binary dots and contextchanging codes.
-
Chapter 9. Bit by Bit by Bit, near page 61 through page 64: bit and information.
-
Chapter 15. Bytes and Hex, near page 170 through page 180: byte and multiple interpretations.
-
Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285: ASCII, character codes, text digits.
-
Chapter 25. The Graphical Revolution, near page 344 through page 353: bitmap pixels and sampled sound.
Flashcards: From Bits to Meaning
flashcards / 7 anchors-
Chapter 1. Best Friends, near page 5 through page 7: codes.
-
Chapter 2. Codes and Combinations, near page 10 through page 14: binary combinations.
-
Chapter 3. Braille and Binary Codes, near page 16 through page 19: shift and escape codes.
-
Chapter 9. Bit by Bit by Bit, near page 61 through page 64: bit.
-
Chapter 15. Bytes and Hex, near page 170 through page 180: byte.
-
Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285: ASCII and text.
-
Chapter 25. The Graphical Revolution, near page 344 through page 353: pixels, bitmaps, ADC/PCM sound.
Silent Motion Script: Same Bits, Different Meaning
video-script / 3 anchors-
Chapter 15. Bytes and Hex, near page 170 through page 180: byte as 8 bits and one of 256 possible values or meanings.
-
Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285: ASCII character codes.
-
Chapter 25. The Graphical Revolution, near page 344 through page 353: pixels, bitmaps, and color depth.
From Logic To Memory
lesson / 7 anchors-
Chapter 10. Logic and Switches, near page 77 through page 91: switches and circuits as a concrete way to reason about logical conditions.
-
Chapter 11. Gates (Not Bill), near page 92 through page 123: relays assembled into logic gates such as AND, OR, NAND, NOR, and inverters.
-
Chapter 14. Feedback and Flip-Flops, near page 146 through page 159: feedback, flip-flops, D-type latches, clocks, and one-bit memory.
-
Chapter 15. Bytes and Hex, near page 170 through page 180: bytes as groups of bits stored in latches.
-
Chapter 10. Logic and Switches, near page 77 through page 91: switches and circuits as logic.
-
Chapter 11. Gates (Not Bill), near page 92 through page 123: relays and basic logic gates.
-
Chapter 14. Feedback and FlipFlops, near page 146 through page 159: feedback, flipflops, latches, clocks, and onebit memory.
Unicode And UTF-8
lesson / 2 anchors-
Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285: ASCII, character codes, extended ASCII, double-byte character sets, and an older historical explanation of Unicode.
-
Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285.
Diagram: Unicode And UTF-8
diagram / 1 anchor-
Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285.
Study Guide: Unicode And UTF-8
study-guide / 1 anchor-
Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285.
Lab: Inspect UTF-8 Bytes
lab / 1 anchor-
Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285.
Quiz: Unicode And UTF-8
quiz / 1 anchor-
Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285.
Flashcards: Unicode And UTF-8
flashcards / 1 anchor-
Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285.
Referenced By
-
From Bits to Meaning draft
How real-world information becomes symbols, bits, bytes, encodings, and interpreted meaning inside a computer.
-
From Logic To Memory seed
How simple binary decisions become circuits that can compute, remember, and expose memory to software.
-
Unicode And UTF-8 draft
How modern text moves from characters to code points to bytes, and why UTF-8 is different from ASCII and Unicode.