• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 7 pages
Exam (elaborations)

Operating Systems Exam 2 Exam ACTUAL QUESTIONS AND CORRECT ANSWERS

Document preview thumbnail
Preview 2 out of 7 pages

Operating Systems Exam 2 Exam ACTUAL QUESTIONS AND CORRECT ANSWERS The two operations that can be performed on a semaphore variable are select and increment (P and V). - CORRECT ANSWER False A computer system that can support jobs that use multiple processors to execute sets of instructions in parallel is referred to as a ____ system. - CORRECT ANSWER concurrent processing The ____ multiprocessing configuration is an asymmetric system. - CORRECT ANSWER master/slave ____ proposed a solution to the readers and writers problem that did not result in starvation for readers or writers. - CORRECT ANSWER Hoare Parallel processing is a situation in which two or more processors operate in one system at the same time and may or may not work on related activities. - CORRECT ANSWER True The common element in all synchronization schemes is to allow a process to finish work on a critical region of the program before other processes have access to it. - CORRECT ANSWER True The classic problem of producers and consumers is one in which one or more processes produce some data that one or more processes consume later. - CORRECT ANSWER True The operation P in a semaphore scheme requires a(n) ____ sequence to be performed as an indivisible action in a single machine cycle. - CORRECT ANSWER test, fetch, decrement, and store The ____ multiprocessing configuration is the most difficult to implement because the processes must be well synchronized to avoid races and deadlocks. - CORRECT ANSWER symmetric

Content preview

Operating Systems Exam 2 Exam ACTUAL
QUESTIONS AND CORRECT ANSWERS
The two operations that can be performed on a semaphore variable are select and increment (P and V).
- CORRECT ANSWER False



A computer system that can support jobs that use multiple processors to execute sets of instructions in
parallel is referred to as a ____ system. - CORRECT ANSWER concurrent processing



The ____ multiprocessing configuration is an asymmetric system. - CORRECT ANSWER
master/slave



____ proposed a solution to the readers and writers problem that did not result in starvation for
readers or writers. - CORRECT ANSWER Hoare



Parallel processing is a situation in which two or more processors operate in one system at the same
time and may or may not work on related activities. - CORRECT ANSWER True



The common element in all synchronization schemes is to allow a process to finish work on a critical
region of the program before other processes have access to it. - CORRECT ANSWER True



The classic problem of producers and consumers is one in which one or more processes produce some
data that one or more processes consume later. - CORRECT ANSWER True



The operation P in a semaphore scheme requires a(n) ____ sequence to be performed as an indivisible
action in a single machine cycle. - CORRECT ANSWER test, fetch, decrement, and store



The ____ multiprocessing configuration is the most difficult to implement because the processes must
be well synchronized to avoid races and deadlocks. - CORRECT ANSWER symmetric



In parallel computations, mutual exclusion is achieved automatically because each operation is
handled in order, one at a time. - CORRECT ANSWER False

, When multiprocessing takes place at the thread level, a high degree of synchronization is required to
disassemble each process. - CORRECT ANSWER True



Consider the given Figure, Amdahl's Law maintains that if a given program would take one hour to
run to completion with one processor, but 10 percent of the program had to run sequentially (and
therefore could not be sped up by applying additional processors to it), then a resulting parallel
program would have a maximum speed up of ____ . - CORRECT ANSWER 10



Multiprocessing can refer to one job using several processors to execute sets of instructions in
parallel. - CORRECT ANSWER True



Most current operating systems support the implementation of threads, or ____, which have become
part of numerous application packages. - CORRECT ANSWER lightweight processes



In general, parallel systems can be put into two broad categories: ____ level parallelism and
instruction level parallelism. - CORRECT ANSWER data



The success of process synchronization hinges on the capability of the operating system to make a
resource available to other processes while it is being used by one of them. - CORRECT ANSWER
False



Test-and-set is a single indivisible machine instruction. In a single machine cycle, it tests to see if a
key is available and, if it is, sets it to unavailable. - CORRECT ANSWER True



In a master/slave system, the master processor is responsible for managing the entire system—all
files, devices, memory, and processors. - CORRECT ANSWER True



The ____ multiprocessing configuration features several complete computer systems, each with its
own memory, I/O devices, CPU, and operating system. - CORRECT ANSWER loosely
coupled



The primary disadvantage of the WAIT and SIGNAL operation set is that it does not address busy
waiting. - CORRECT ANSWER False

Document information

Uploaded on
July 2, 2026
Number of pages
7
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$11.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Sold
70
Followers
2
Items
10481
Last sold
1 week ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions