Week 1 Flashcards

1
Q

Design Goals

A

Abstraction
Performance
Protection

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

Operating System

A

Body of software that abstracts and arbitrates system hardware

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

Virtualization

A

Use of software to to create a layer over the hardware

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

Point of Virtualization

A

Allow system hardware to be used efficiently to generate max output: easy to use.

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

Virtualizing the CPU

A

Turning CPU into infinite number of processors to allow programs seemingly run at once

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

Virtualizing Memory

A

Assigning private address space to programs such that they think they have the whole physical memory to themselves.

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

Memory

A

Array of bytes with specific address to allow reads(loads) and writes(stores)

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

System calls

A

Interfaces the OS provides users to access system resources.

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

Trap

A

Hardware instructions to initiate a system call

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

Procedural call

A

Libraries are accessible without any real privilege

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

Standard library

A

Provided by OS to all applications make system calls

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

File system

A

Software that manages the disk in an OS

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

What does the file system do?

A
Figures out where to store new data(file created by the user)
Keeps track of various structures
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Device driver

A

Code responsible for handling a particular device in an OS

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

How does the system handle crashes under persistent data storage

A

Journaling or copy-on-write: ordering writes to recover a to a reasonable state in case of failure.

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

Explain the transition of OSs

A
Libraries
Protection(through system calls, abandoning procedural calls)
CPU optimization (multi programming)
Modern Era(more on memory protection, sort of has the goals)
17
Q

What’s the main difference between system calls and procedural calls

A

Privileges and access. Systems made it better and more rigorous.

18
Q

User mode

A

Apps cannot initiate I/O requests to some hardware or even access some system hardware

19
Q

Kernel mode

A

OS has full access to hardware