Chapter 2 - OS Structures Flashcards

1
Q

What are some types of User Interfaces (UI)?

A

Command-Line Interfaces (CLI) or Graphics User Interface (GUI) or Batch

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

What to UIs do?

A

Allow the user to interact with the system services via system calls (typically written in C/C++)

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

What are five system services that are useful to the user?

A

1) Program Execution
2) I/O Operations
3) File-system Manipulation
4) Communications
5) Error detection

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

What are four system services that ensure efficient OS operation?

A

1) Resource allocation
2) Accounting
3) Protection
4) Security

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

What do Application Program Interfaces do?

A

Give access to most system calls through WIN32, POSIX, and Java

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

What does the system call interface do?

A

Maintain the number that is usually associated with each system call

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

How are parameters passed to the OS during a system call? (4 steps)

A

1) Pass the parameter in a register
2) Store parameter address in a block
3) Push onto the stack by program
4) Pop off stack by OS

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

What are some process control system calls? (9 total)

A

End, Abort, Load, Execute, Create/Terminate Process, Wait, Allocate/Free Memory

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

What are the five main categories of system calls?

A

1) Process control
2) File Management
3) Device Management
4) Information Maintenance
5) Communications

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

What are some device management system calls? (6 total)

A

Request/Release device, Read, Write, Logically Attach/Detach Devices

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

What are some file management system calls? (8 total)

A

Create/Delete File, Open/Close File, Read, Write, Get/Set Attributes

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

What are some information maintenance system calls? (10 total)

A

Get/Set Time, Get/Set System Data, Get/Set Process/File/Device Attributes

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

What is a OS layered approach?

A

When the OS is divided into a number of layers (levels), each built on top of lower layers. The bottom layer (level 0) is the hardware; the highest is the UI

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

What is modularity?

A

In a layered OS, when layers are selected such that each uses functions (operations) and services of only lower-level layers

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