Chapter 3 Flashcards

(28 cards)

1
Q

Functions of operating systems

A
  • Oversee the operation of a computer.
  • Store and retrieve files.
  • Schedule programs for execution.
  • Coordinate the execution of programs.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Job

A

a program to be executed with its inputs and outputs

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

Batch processing

A

execution of a batch of jobs without any interaction of a user (originally operated by a computer operator)

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

Interactive processing

A

support of interaction between programs and users during execution (originally via terminals)

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

Real time processing

A

execution of tasks in accordance with deadlines in an external real world environment.

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

Multiprogramming

A

multiple programs can be executed “at the same time” (originally during batch processing) on a processor

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

Time-sharing

A

a computer provides service to multiple users “at the same time” (time slices)

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

Multitasking

A

multiple programs can be executed “at the same time” by a single user

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

Operating system components

A

User interface

Kernel

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

File

A

a named separate group of data

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

Directory (folder)

A

a named collection of files and other directories (subdirectories)

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

Directory/file path

A

a branching list of directories containing the directory/file, for example “C:\Users\Peter\Documents\MyDocument.doc”

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

Memory manager

A

Allocates/deallocates main memory to processes.

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

Paging

A

rotates (pages of) programs and data back and forth between main memory and mass storage.

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

Virtual memory

A

the computer works as if it has more main memory (using paging) than the actual physical main memory

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

Bootstrapping

A

the start up process of a computer.

17
Q

Boot loader

A

a program stored in ROM (non-volatile read only memory), which is run by the CPU when power is turned on

18
Q

Process

A

the activity of executing a program

19
Q

Scheduler

A

keeps track of all processes by maintaining a process table (stored in main memory). [Task Manager]

20
Q

Dispatcher

A

controls the allocation of time slices (for execution) to the processes in the process table.

21
Q

process switch

A

The procedure of changing from one process to another

22
Q

Critical region

A

a group of instructions that should be executed by only one process at a time

23
Q

Mutual exclusion

A

the requirement that only one process at a time is allowed to execute a critical region

24
Q

Semaphore

A

a flag that controls a critical region to obtain mutual exclusion

25
Test-and-set
a machine instruction that both tests and sets a flag (in the same non-interruptible instruction).
26
Deadlock
Processes block each other from continuing
27
Conditions required for deadlock:
* competition for non-sharable resources, * resources requested on a partial basis, * allocated resources cannot be forcibly retrieved.
28
Spooling
holding data for output at a later more convenient time (example: printer)