CrashCourse · @crashcourse

Early Programming: Crash Course Computer Science #10

Uploaded June 8, 2017 · Length 9:26

Early Programming: Crash Course Computer Science #10

Summary

This video explains the history of programming, from Jacquard's loom and punch cards to stored-program computers and the von Neumann architecture.

  • history of programming
  • jacquard loom
  • punch cards
  • stored program computer
  • von neumann architecture

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:02

    Hi, I'm Carrie Anne and welcome to Crash Course Computer Science.

  2. 0:05

    Over the last few episodes,

  3. 0:07

    We've talked a lot about the mechanics of how computers work.

  4. 0:10

    How they use complex circuits to save and retrieve values from memory,

  5. 0:13

    and perform operations on those values,

  6. 0:15

    like adding two numbers together.

  7. 0:17

    We've even briefly talked about sequences of operations,

  8. 0:19

    which is a computer program.

  9. 0:21

    What we haven't talked about

  10. 0:22

    is how a program gets into a computer.

  11. 0:24

    You might remember in episode 7 and 8,

  12. 0:25

    when we stepped through some simple example programs for the CPU that we had created.

  13. 0:30

    For simplicity, we just waved our hands

  14. 0:33

    and said that the program was already magically in memory.

  15. 0:35

    But in reality, programs have to be loaded into a computer's memory.

  16. 0:38

    It's not magic. It's computer science.

  17. 0:40

    [Theme Music]

  18. 0:49

    The need to programme machines existed way before the development of computers.

  19. 0:53

    The most famous example of this was in textile manufacturing.

  20. 0:56

    if you just wanted to weave a big red tablecloth,

  21. 0:58

    you could simply feed red thread into a loom and let it run.

  22. 1:01

    But what about if you wanted the cloth to have a pattern like stripes or plaid?

  23. 1:05

    Workers would have to periodically reconfigure the loom as dictated by the pattern,

  24. 1:09

    but this was labor intensive which made patterned fabrics expensive.

  25. 1:12

    In response, Joseph Marie Jacquard developed a programmable textile loom,

  26. 1:16

    which he first demonstrated in 1801.

  27. 1:18

    The pattern for each row of the cloth was defined by a punched card.

  28. 1:21

    The presence or absence of a hole in the card determined

  29. 1:24

    if a specific threat was held high or low in the loom.

  30. 1:26

    Such that the cross thread called the weft passed above or below the thread.

  31. 1:30

    To vary the pattern across rows these punch cards were arranged in long chains,

  32. 1:34

    forming a sequence of commands for the loom.

  33. 1:36

    Sound familiar?

  34. 1:37

    Many consider Jacquard's loom to be one of the earliest forms of programming.

  35. 1:40

    Punched cards, turned out to be a cheap, reliable,

  36. 1:43

    fairly human readable way to store data.

  37. 1:45

    Nearly a century later,

  38. 1:46

    punch cards were use to help tabulate the 1890 newest census

  39. 1:49

    which we talked about in episode 1.

  40. 1:51

    Each card held an individual person's data.

  41. 1:54

    Things like race,

  42. 1:54

    marital status,

  43. 1:55

    number of children,

  44. 1:56

    country of birth, and so on.

  45. 1:57

    For each demographic question,

  46. 1:59

    a census worker would punch out a hole of the appropriate position.