sources/

Code: The Hidden Language Of Computer Hardware And Software

petzold-code-hidden-language-computer-hardware-software-2e

3 lessons 61 anchors

Anchors

From Bits to Meaning

lesson / 13 anchors
  1. 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.

  2. Chapter 2. Codes and Combinations, near page 10 through page 14: binary code combinations, powers of two, undefined codes.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. 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.

  9. Chapter 1. Best Friends, near page 5 through page 7: code as communication system; Morse code; computer codes for many information types.

  10. Chapter 3. Braille and Binary Codes, near page 16 through page 19: six binary dot positions; context, shift codes, and escape codes.

  11. Chapter 9. Bit by Bit by Bit, near page 61 through page 64: bits as binary digits and information as a choice among possibilities.

  12. Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285: character codes, ASCII, digits as text, and character encoding limits.

  13. 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
  1. Chapter 1. Best Friends, near page 5 through page 7: codes and communication.

  2. Chapter 2. Codes and Combinations, near page 10 through page 14: binary combinations and powers of two.

  3. Chapter 3. Braille and Binary Codes, near page 16 through page 19: binary dot patterns and contextchanging codes.

  4. Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285: text characters as codes.

  5. 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
  1. Chapter 1. Best Friends, near page 5 through page 7: codes as communication systems and computer codes for different information types.

  2. Chapter 2. Codes and Combinations, near page 10 through page 14: powers of two and binary code combinations.

  3. Chapter 3. Braille and Binary Codes, near page 16 through page 19: binary dot positions, 64 codes, shift and escape codes.

  4. Chapter 9. Bit by Bit by Bit, near page 61 through page 64: bit, information, and choices.

  5. Chapter 15. Bytes and Hex, near page 170 through page 180: byte, 256 possibilities, byte interpretations, and latches.

  6. Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285: character sets, ASCII, text strings, digits as character codes.

  7. Chapter 22. The Operating System, near page 310 through page 311: text files versus binary files.

  8. Chapter 25. The Graphical Revolution, near page 344 through page 353: pixels, bitmaps, color depth, realworld image capture, ADC/PCM sound.

  1. Chapter 15. Bytes and Hex, near page 170 through page 180: byte as 8 bits and one of 256 possible things.

  2. Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285: ASCII character codes and text strings.

  3. Chapter 22. The Operating System, near page 310 through page 311: binary files versus text files and numeric values represented as ASCII text.

  4. 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
  1. Chapter 1. Best Friends, near page 5 through page 7: codes and communication.

  2. Chapter 2. Codes and Combinations, near page 10 through page 14: binary combinations and powers of two.

  3. Chapter 3. Braille and Binary Codes, near page 16 through page 19: six binary dots and contextchanging codes.

  4. Chapter 9. Bit by Bit by Bit, near page 61 through page 64: bit and information.

  5. Chapter 15. Bytes and Hex, near page 170 through page 180: byte and multiple interpretations.

  6. Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285: ASCII, character codes, text digits.

  7. Chapter 25. The Graphical Revolution, near page 344 through page 353: bitmap pixels and sampled sound.

Flashcards: From Bits to Meaning

flashcards / 7 anchors
  1. Chapter 1. Best Friends, near page 5 through page 7: codes.

  2. Chapter 2. Codes and Combinations, near page 10 through page 14: binary combinations.

  3. Chapter 3. Braille and Binary Codes, near page 16 through page 19: shift and escape codes.

  4. Chapter 9. Bit by Bit by Bit, near page 61 through page 64: bit.

  5. Chapter 15. Bytes and Hex, near page 170 through page 180: byte.

  6. Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285: ASCII and text.

  7. Chapter 25. The Graphical Revolution, near page 344 through page 353: pixels, bitmaps, ADC/PCM sound.

  1. Chapter 15. Bytes and Hex, near page 170 through page 180: byte as 8 bits and one of 256 possible values or meanings.

  2. Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285: ASCII character codes.

  3. Chapter 25. The Graphical Revolution, near page 344 through page 353: pixels, bitmaps, and color depth.

From Logic To Memory

lesson / 7 anchors
  1. Chapter 10. Logic and Switches, near page 77 through page 91: switches and circuits as a concrete way to reason about logical conditions.

  2. Chapter 11. Gates (Not Bill), near page 92 through page 123: relays assembled into logic gates such as AND, OR, NAND, NOR, and inverters.

  3. Chapter 14. Feedback and Flip-Flops, near page 146 through page 159: feedback, flip-flops, D-type latches, clocks, and one-bit memory.

  4. Chapter 15. Bytes and Hex, near page 170 through page 180: bytes as groups of bits stored in latches.

  5. Chapter 10. Logic and Switches, near page 77 through page 91: switches and circuits as logic.

  6. Chapter 11. Gates (Not Bill), near page 92 through page 123: relays and basic logic gates.

  7. 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
  1. 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.

  2. Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285.

Diagram: Unicode And UTF-8

diagram / 1 anchor
  1. Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285.

Study Guide: Unicode And UTF-8

study-guide / 1 anchor
  1. Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285.

Lab: Inspect UTF-8 Bytes

lab / 1 anchor
  1. Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285.

Quiz: Unicode And UTF-8

quiz / 1 anchor
  1. Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285.

Flashcards: Unicode And UTF-8

flashcards / 1 anchor
  1. Chapter 20. ASCII and a Cast of Characters, near page 271 through page 285.

Referenced By

  1. How real-world information becomes symbols, bits, bytes, encodings, and interpreted meaning inside a computer.

  2. How simple binary decisions become circuits that can compute, remember, and expose memory to software.

  3. How modern text moves from characters to code points to bytes, and why UTF-8 is different from ASCII and Unicode.