Ch 2 Flashcards

1
Q

types of user interfaces

A

Command line interface - or command interpreter (a shell) Batch - commands are entered into files and those files are executed Grafical (GUI) -

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

system calls

A

interface to services generally write in C, C++, or assembly (a system of tasks)

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

API

A

the “menu” in the restaurant analogy Specifies a set of functions that are available to programers. An API invokes a System Call i.e. read(), fork(), open(), etc.

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

System Call Interface

A

link between System Calls and API (a set of functions built into libraries included with a compiler)

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

System Program or Program Utility pg 77

A

provides a convenient environment for program development and execution i.e. background services, language support, file modification

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

Operating-System Structure

A

Simple - written to provide the most functionality in the least space. Vulnerable to errant users. Layered - easy to debug. Not efficient, bottom layer only accessed by top. Microkernel - Unessential task taken away from kernel. optimizes comm. b/w client and services (message passing) . Mods are easy. Not efficient; system func overhead Module (best) - loadable kernel

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

policy vs mechanism

A

policies - what to do mechanisms - how to do it

important for flxibility, in best case scenario, when mechanisims are incensitive to policies, a change in policy only requires the redefinitont of a few parmeters.

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

monolithic kernel

A

when the entire OS is working in kernel space

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

crash (“blue screen,” not application crash)

A

failure in kernel

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

Typical microkernel architecture

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

Typical layered operating system

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

typical module os

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

Typical simple OS

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

Passing parameters to OS

A

may be done by passing in registers, address of parameter stored in a block, pushed into a stack and popped of by the OS

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

process control (system call examples)

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
16
Q

File management (system call examples)

A

create/delete file, open/close file, read, write, get/set attributes

17
Q

Device management (system calls examples)

A

request/release device, read, write, logically attach/detach devices

18
Q

Information maintenance (system call examples)

A

system calls: get/set time, get/set system data, get/set process/file/device attributes

19
Q

Communications (system call examples)

A

create/delete communication connection, send/receive, transfer status information