CrashCourse · @crashcourse

Operating Systems: Crash Course Computer Science #18

Uploaded June 8, 2018 · Length 13:36

Operating Systems: Crash Course Computer Science #18

Summary

This video explains the history and function of operating systems, from early batch processing to multitasking and virtual memory.

  • what is an operating system
  • history of operating systems
  • batch processing
  • multitasking explained
  • virtual memory concept
  • device drivers

Transcript preview

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

  1. 0:03

    This episode is supported by Hover.

  2. 0:06

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

  3. 0:09

    Computers in the 1940s and early 50s ran one program at a time.

  4. 0:12

    A programmer would write one at their desk, for example, on punch cards.

  5. 0:15

    Then, they’d carry it to a room containing a room-sized computer, and hand it to a dedicated

  6. 0:19

    computer operator.

  7. 0:20

    That person would then feed the program into the computer when it was next available.

  8. 0:24

    The computer would run it, spit out some output, and halt.

  9. 0:27

    This very manual process worked OK back when computers were slow, and running a program

  10. 0:31

    often took hours, days or even weeks.

  11. 0:33

    But, as we discussed last episode, computers became faster... and faster... and faster

  12. 0:38

    – exponentially so!

  13. 0:39

    Pretty soon, having humans run around and inserting programs into readers was taking

  14. 0:43

    longer than running the actual programs themselves.

  15. 0:46

    We needed a way for computers to operate themselves, and so, operating systems were born.

  16. 0:50

    INTRO

  17. 0:59

    Operating systems, or OS’es for short, are just programs.

  18. 1:03

    But, special privileges on the hardware let them run and manage other programs.

  19. 1:07

    They’re typically the first one to start when a computer is turned on, and all subsequent

  20. 1:10

    programs are launched by the OS.

  21. 1:12

    They got their start in the 1950s, as computers became more widespread and more powerful.

  22. 1:16

    The very first OSes augmented the mundane, manual task of loading programs by hand.

  23. 1:21

    Instead of being given one program at a time, computers could be given batches.

  24. 1:25

    When the computer was done with one, it would automatically and near-instantly start the next.

  25. 1:30

    There was no downtime while someone scurried around an office to find the next program

  26. 1:33

    to run.

  27. 1:34

    This was called batch processing.

  28. 1:36

    While computers got faster, they also got cheaper.

  29. 1:38

    So, they were popping up all over the world, especially in universities and government

  30. 1:42

    offices.

  31. 1:43

    Soon, people started sharing software.

  32. 1:45

    But there was a problem…

  33. 1:46

    In the era of one-off computers, like the Harvard Mark 1 or ENIAC, programmers only

  34. 1:51

    had to write code for that one single machine.

  35. 1:53

    The processor, punch card readers, and printers were known and unchanging.

  36. 1:58

    But as computers became more widespread, their configurations were not always identical,