Lecture 1 - Basics Flashcards

1
Q

What is an operating system?

A
  • Program that acts as intermediary between user and hardware
  • Manages complexity of running multiple programs efficiently
  • “Everything you don’t need to write to get a program to run”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How did direct input operating systems work?

A

Run one job at a time:

enter into computer (possibly by rewiring)

Run

Get results

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What was the problem with direct input operating systems?

A
  • Lots of wasted time - computer very often idle
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the point of the operating system?

A

Abstract details of hardware away so the programmer can focus on writing the program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a batch system?

A
  • Programmer prepares program away from machine (e.g. punch cards)
  • Cards are read by card reader - input tape produced
  • Input tape inserted on computer - Program is performed
  • Output tape is produced
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is spooling?

A
  • Simultaneous peripheral operation on-line
  • While one job is busy, perform I/O for another job
  • Still only one job running but a bit more efficient
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What was the major hardware advance that helped move away from batch systems?

A
  • 1960s - integrated circuits
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is multiprogramming?

A
  • Multiple jobs in memory - protected from one another
  • Resources split - while one does I/O the other computes
  • Still not interactive - user submits job, computer runs its, user gets results
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is timesharing?

A

Like multiprogramming but timer device interrupts after given time

So perform one job for a bit, then the next, then the next, then back to the first etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does timesharing require?

A

CPU scheduling to choose next job to run

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What was Multics

A
  • Joint industry/academe OS - supported hundreds of users on a computer roughly as powerful as intel 386
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What was Unix?

A
  • OS inspired by Multics
  • Written by Bell Labs in C
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the point of timesharing?

A

Allow multiple users to have jobs running on a computer at the same time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What was Minix?

A
  • Simplified version of UNIX that runs on a PC
  • Intended for class teaching
  • By Andrew Tanenbaum
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is Linux?

A

By linus torvalds

Working from Minix, built his own kernel - encouraged people to contribute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly