Final Exam Quiz Review Flashcards

1
Q

_____ assigns a processor to the first process in the ready queue

A

Dispatching

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

An operating system must be designed such that…

A

Context switches are transparent to processes

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

What operation is particularly useful for detecting security threats and debugging software?

A

Suspend

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

What does a process control block do?

A

Store the address of the next instruction to be processed by a different process.

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

For a single processor system, there will never be more than ____ running process(es)

A

One

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

When a process is created by a unix fork() call, what is not inherited by the child process?

A

The process ID

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

What kind of state transition is not possible?

A

Blocked to running

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

A process switch might occur when the system encounters an interrupt condition, such as that generated by…

A

Supervisor call, memory fault, and trap

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

When a process is in the ____ state it is in secondary memory but is available for execution as soon as it is loaded into main memory

A

Ready/Suspend

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

The concept of process in an operating system embodies two primary characteristics, one of which is:

A

Resource ownership

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

LWP is placed between…

A

User and kernel threads

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

The basic thread operation related to the change in thread state that occurs when thread needs to wait for an event is referred to as:

A

Block operation

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

In a linux system, if the process has been terminated but, for some reason, still must have its task structure in the process table is in the ____ state.

A

Zombie

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

To overcome the disadvantages of ULT, a technique is used to convert a blocking system call into a non-blocking system call:

A

Jacketing

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

In a solaris system, a user-level thread that enters the active state is assigned to a:

A

Light-weight process (LWP)

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

What is the relationship between processes and threads in terms of time?

A

It takes far less time to create a new thread in an existing process than it does to create a new process.

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

Pure user-level thread implementations are usually ____ thread mappings

A

many-to-one

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

The threading model supported by the linux operating system is:

A

one-to-one

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

Which type of process interaction might result in the problem “data coherence”?

A

Cooperation by sharing

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

The initial value of the semaphore that allows only one of the many processes to enter their critical sections is..

A

1

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

A ____ is a data type that is used to block a process or thread until a particular condition is true.

A

Condition variable

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

An instruction that executes atomically executes as a ____ unit.

A

Single/uninterruptible

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

A _____ refers to where a process is accessing/updating shared data

A

Critical section

24
Q

In message passing, when does the condition “rendezvous” arise?

A

Blocking send, blocking receive

25
Probably the most useful combination, _____ allows a process to send one or more messages to a variety of destinations as quickly as possible.
Nonblocking send, blocking receive.
26
The _____ is a programming language that construct that provides equivalent functionality to that of semaphores and is easier to control.
Monitor
27
____ is when the sequence of instruction is guaranteed to execute as a group or not execute at all. No other process can see an intermediate step or interrupt the operation.
Atomic operation
28
(T/F) Deadlock can be defined as the periodic blocking of a set of processes that either compete for system resources or communicate with each other.
False
29
(T/F) Both banker's algorithm and process initiation denial belong to deadlock avoidance
True
30
(T/F) Although deadlock can potentially exist without it, the condition known as Circular Wait is required for deadlock to actually take place
True
31
(T/F) In the Resource Allocation Denial approach to Deadlock Avoidance, a safe state is defined as one in which all potential process sequences do not result in deadlock.
False
32
(T/F) A reusable resource is one that can safely be used by only one process at a time and is not depleted by that use
True
33
One necessary condition for deadlock is ____, which states that at least one resource must be held in a non-sharable mode.
Mutual exclusion
34
The approach of adopting a policy that eliminates one of the four conditions leading to a deadlock state is defined as ...
Deadlock prevention
35
The dining philosopher's problem is a standard test case for evaluating approaches of implementing...
Synchronization
36
What is a weakness of banker's algorithm?
Requiring that processes state their maximum needs in advance
37
When is a system in an unsafe state?
The OS cannot guarantee that all processes can complete their work in a finite time
38
____ is the number of processes per time unit that are completed.
Throughput
39
In RR scheduling, the time quantum should be ____ the context-switch time.
Large with respect to
40
An IO bound process spends ____ its time seeping IO operations than it does doing computational work.
More of
41
In the case of the ____ policy, the scheduler always chooses the process that has the shortest expected remaining processing time.
SRT/Shortest remaining time
42
A risk with ____ is the possibility of starvation for longer processes as long as there is a steady supply of shorter processes
SPN/Shortest process next?
43
One difficulty with the shortest process next scheduling technique is:
Starvation of long processes, lack of preemption, and knowing/estimating remaining processing times
44
Long term scheduling is performed...
Typically on submitted jobs
45
(T/F) FCFS is a simple scheduling technique that tends to favor IO bound processes over processor bound processes
False
46
(T/F) In HRRN scheduling, long jobs are favored because they yield a larger ratio from a smaller denominator in the equation
False
47
(T/F) One problem with a pure priority scheduling scheme is is that lower priority processes may suffer deadlock
False
48
The category of parallelism in multiprocessors in which there is no explicit synchronization among processes is...
Independent parallelism
49
Scheduling on a multiprocessor involves which of the following design issues:
Dispatching, assignment, and multiprogramming
50
A disadvantage of the Load Sharing multiprocessor scheduling and assignment approach is:
The central queue can be a bottleneck due to mutual exclusion
51
A task that, unless it meets its deadline may cause undesirable damage or a fatal error to the system, is called a:
Hard real-time task
52
____ is concerned with how long an operating system delays before acknowledging an interrupt
Determinism
53
The ____ approach is a set of related threads scheduled to run on a set of processors at the same time, on a one-to-one basis.
Gang scheduling
54
With the ____ approach the number of threads in a process can be altered during the course of execution.
Dynamic scheduling
55
In a SMP system, each processor maintains a local cache and must alert all other processors that a change to cache update has taken place. This is referred to as the:
Cache coherency problem