What is an OS Flashcards

1
Q

What is an Operating System

A

Software that manages computer hardware

  • Manages application programs
  • Acts as interface between user and hardware
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the goals of an OS

A
  • Convenience
  • Efficiency
  • Flexibility
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the roles of an OS

A
  • Resource Allocator
  • Protection Mechanism
  • Access to memory, storage, and I/O devices
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does the resource allocator do?

A
  • Manage allocation of hw resources

- Concerned with fairness and efficiency

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

What does the protection mechanism do?

A
  • Control execution of applications

- Prevents errors and improper use (IE reading data it shouldn’t access)

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

How does the OS provide access to memory, storage and I/O devices

A

Provides a consistent interface to hardware resources

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

What is the Kernel

A
  • The “core” which interfaces with hardware.

- Drivers, HW management, Scheduling

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

What does an OS consist of?

A
  • Kernel
  • System programs and libraries
  • Application programs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is an example of an application program

A

Web browser, media player etc.

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

What does the System programs and libraries consist of?

A

Shell, GUI, system library (STDIO etc), utilities (ls, ps, cp…)

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

Give an example of a simple OS

A

Unit of work is a job (program and data). Each job is executed in serial

Has low CPU utilisation as the CPU cannot be kept busy due to IO.

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

What is multi-programming

A

Subset of jobs held in memory

Improves CPU utilisation.

CPU never idle so long as there are jobs to run (jobs in memory)

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

What is Time Sharing (Multi-tasking)?

A

CPU executes multiples jobs concurrently by switching between jobs quickly.

Users interact with running programs

Requires a low response time.

NB. Also allows multiple users to share a computer simultaneously

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