Basic Terms Flashcards

1
Q

What is the purpose of an OS?

A

Simplify the interface to a computer’s underlying hardware and to manage a system’s resources so they are used in a equitable and safe manner.

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

Name a few types of OSes.

A
  • Mainframe
  • Sever
  • Multiprocessor
  • Personal Computer
  • Handheld Computer
  • Sensor Node
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What do OSes manage?

A
  • Users
  • Resources
  • Execution codes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Name the elements of a typical OS.

A
  • User-level interfaces
  • Validation components
  • Scheduler
  • Components that manage memory
  • Virtual file system
  • Device drivers
  • Tracking tables for system executions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do OSes ensure system reliability?

A

They protect sensitive code/resources from casual access.

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

What are the layers of the OSI model?

A
Application
Presentation
Session
Transport
Network
Data Link
Physical
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Where are user codes stored in memory?

A

The user space

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

Where are system codes stored in memory?

A

The kernel space

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

What are the purpose of traps?

A

Traps ensure that attempts to access the kernel space/privileged instructions do the following:

  • Reset the operating mode from the user (unpriv.) to priv.
  • Validate the attempts to access these resources.
  • Carry out/reject the access-related requests.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a system call?

A

A routine that explicitly trap to the kernel.

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

What are the advantages / disadvantages of a monolithic kernel?

A

Adv. - better performance

Dis. - maintainability; difficulty of validating kernel operation, including kernel security

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

What are the advantages / disadvantages of a microkernel?

A

Adv.- maintainability; improved support for validating kernel operation.

Dis.- lower performance, due to increased need for context switching to access different functionality.

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

What is a register for an I/O device?

A

These are dedicated memory locations whose bits monitor and control device operation.

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

What items can registers also control?

A

Processor operation
Traps
Virtual Memory

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

What two ways are APIs codified?

A

De facto- determined mostly by features provided in widely used implementation.

POSIX- an IEEE standardization of Unix features

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

What is a program?

A

specification for a set of actions a computer can execute.

17
Q

How are actions to be executed?

A

lazy - execute what is needed to produce a final output.

normal - start from the beginning; proceed in a normal order.

eager - aggressive concurrency; start all that can be started.