Introduction Flashcards

1
Q

Operating system

A

A program that manages a computer’s hardware. Also provides a basis for application programs and acts as an intermediary between the computer user and the computer hardware

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

Virtualization

A

The OS takes a physical resource and transforms it into a more general, powerful and easy-to-use virtual form of itself / abstracting underlying hardware

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

What does an OS provide?

A
  • Standard library for resources
  • Resource management
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Resource

A

Anything valuable

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

What abstraction does a modern OS provide for the resource CPU?

A

Process / thread

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

What abstraction does a modern OS provide for the resource memory?

A

Address space

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

What abstraction does a modern OS provide for the resource disk?

A

Files

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

Resource management

A

Sharing of resources in a good manner

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

What techniques are deployed to manage the increasing complexity of OS’s?

A

Modularity, abstraction and hierarchy

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

What is the core component of an OS?

A

Kernel

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

Kernel

A

The software responsible for providing secure access to the hardware and executing programs

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

What four areas does the kernel handle?

A

Process management
Device driver
Memory management
System calls

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

System calls

A

Provide the interface between a running program and the operating system kernel

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

Describe an OS with a simple structure

A

Programs and OS have the same level of privilege

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

Describe an OS with a monolithic kernel

A

The entire OS works in kernel space

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

Describe an OS with a microkernel

A

Some services / modules are decoupled from the OS kernel and stay in the user space

17
Q

Describe an OS with a hybrid kernel

A

Combines monolithic kernel and microkernel

18
Q

What three pieces helps the OS achieve its goals?

A

Virtualization, concurrency, persistence

19
Q

Virtualizing the CPU

A

Turning a single CPU into a seemingly infinite number of CPUs and thus allowing many programs to seemingly run at once

20
Q

Virtualizing memory

A

Each process accesses its own private virtual address space, which the OS maps onto the physical memory of the machine

21
Q

Concurrency

A

Events are occurring simultaneously and may interact with one another

22
Q

Persistence

A

Safely storing data on different storage devices