Chapter 4 - Terms Flashcards

1
Q

aging:

A

a policy used to ensure that jobs that have been in the system for a long time in
the lower-level queues will eventually complete their execution.

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

context switching:

A

the acts of saving a job’s processing information in its PCB so the job can be swapped out of memory and of loading the processing information from the PCB of another job into the appropriate registers so the CPU can process it. Context switching occurs in all preemptive policies.

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

CPU-bound:

A

a job that will perform a great deal of nonstop computation before issuing an I/O request. It contrasts with I/O-bound.

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

earliest deadline first (EDF):

A

a preemptive process scheduling policy (or algorithm) that
selects processes based on the proximity of their deadlines (appropriate for real-time
environments).

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

first-come, first-served (FCFS):

A

a nonpreemptive process scheduling policy (or

algorithm) that handles jobs according to their arrival time.

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

high-level scheduler:

A

a synonym for the Job Scheduler.

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

I/O-bound:

A

a job that requires a large number of input/output operations, resulting in
substantial free time for the CPU. It contrasts with CPU-bound.

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

indefinite postponement:

A

signifies that a job’s execution is delayed indefinitely.

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

interrupt:

A

a hardware signal that suspends execution of a program and activates the
execution of a special program known as the interrupt handler.

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

interrupt handler:

A

the program that controls what action should be taken by the operating system when a certain sequence of events is interrupted.

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

Job Scheduler:

A

the high-level scheduler of the Processor Manager that selects jobs from
a queue of incoming jobs based on each job’s characteristics.

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

job status:

A

the state of a job as it moves through the system from the beginning to the
end of its execution.

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

low-level scheduler:

A

a synonym for the Process Scheduler.

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

middle-level scheduler:

A

a scheduler used by the Processor Manager when the system to remove active processes from memory becomes overloaded. The middle-level scheduler swaps these processes back into memory when the system overload has cleared.

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

multiple-level queues:

A

a process scheduling scheme (used with other scheduling algorithms) that groups jobs according to a common characteristic.

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

multiprogramming:

A

a technique that allows a single processor to process several programs residing simultaneously in main memory and interleaving their execution by
overlapping I/O requests with CPU requests.

17
Q

natural wait:

A

an I/O request from a program in a multiprogramming environment that
would cause a process to wait “naturally” before resuming execution.

18
Q

nonpreemptive scheduling policy:

A

a job scheduling strategy that functions without
external interrupts so that once a job captures the processor and begins execution, it remains in the running state uninterrupted until it issues an I/O request or it’s finished.

19
Q

preemptive scheduling policy:

A

any process scheduling strategy that, based on predeter-
mined policies, interrupts the processing of a job and transfers the CPU to another job.

It is widely used in time-sharing environments.

20
Q

priority scheduling:

A

a nonpreemptive process scheduling policy (or algorithm) that
allows for the execution of high-priority jobs before low-priority jobs.

21
Q

process:

A

an instance of execution of a program that is identifiable and controllable by
the operating system.

22
Q

Process Control Block (PCB): a

A

a data structure that contains information about the

current status and characteristics of a process.

23
Q

Process Scheduler:

A

a low-level scheduler that establishes the order in which processes
in the READY queue will be served by the CPU.

24
Q

process status:

A

information stored in the job’s PCB that indicates the current location in memory of the job and the resources responsible for that status.

25
Q

processor:

A

(1) a synonym for the CPU, or (2) any component in a computing system
capable of performing a sequence of activities.

26
Q

program:

A

a unit of instructions.

27
Q

queue:

A

a linked list of PCBs that indicates the order in which jobs or processes will be
serviced.

28
Q

response time:

A

one measure of the efficiency of an interactive system that tracks the
time required for the system to respond to a user’s command.

29
Q

Round Robin:

A

a preemptive process scheduling policy (or algorithm) that allocates to
each job one unit of processing time per turn to ensure that the CPU is equally shared among all active processes and isn’t monopolized by any one job.

30
Q

scheduling algorithm:

A

an algorithm used by the Job or Process Scheduler to allocate the CPU and move jobs or processes through the system.

31
Q

scheduling policy:

A

any policy used by the Processor Manager to select the order in which incoming jobs, processes, and threads will be executed.

32
Q

shortest job next (SJN):

A

a nonpreemptive process scheduling policy (or algorithm) that selects the waiting job with the shortest CPU cycle time.

33
Q

shortest remaining time (SRT):

A

a preemptive process scheduling policy (or algorithm)
similar to the SJN algorithm that allocates the processor to the job closest to
completion.

34
Q

task:

A

(1) the term used to describe a process, or (2) the basic unit of concurrent programming languages that defines a sequence of instructions that may be executed in parallel with other similar units.

35
Q

thread:

A

a portion of a process that can run independently.

36
Q

Multithreaded systems

A

can have several threads running at one time with the same or different priorities.

37
Q

Thread Control Block (TCB):

A

a data structure that contains information about the

current status and characteristics of a thread.

38
Q

thread status:

A

information stored in the thread control block that indicates the current
position of the thread and the resources responsible for that status.

39
Q

time quantum:

A

a period of time assigned to a process for execution before it is preempted.