CSCI 480 Operating System Final
Review questions with 100% correct
answers
I/O-bound program typically has many short ______ and a CPU-bound
program might have a few long __________.
a. I/O burst, CPU burst
b. I/O burst, I/O burst
c. CPU burst, CPU burst
d. CPU burst, I/O burst - answer c
Which of the following scheduling algorithms must be
nonpreemptive?
a. SJF
b. RR
c. FCFS
d. priority algorithms - answer c
If the time quantum gets too large, RR scheduling degenerates to
__________?
a. SJF
b. FCFS
c. Shortest-remaining-time-first
d. Multilevel queue - answer b
Which of the following are preemptive scheduling algorithms:
a. FCFS
b. Round Robin
,c. Shortest job first but do not use remaining time.
d. None of the rest
e. All of the rest - answer b
The criteria for CPU scheduling are always compatible. For example,
when you minimize response time, you always maximize
throughput.
a. true
b. false - answer b
A significant problem with priority scheduling algorithms is _____.
a. complexity
b. starvation
c. determining the length of the next CPU burst
d. determining the length of the time quantum - answer b
Although some CPU scheduling criteria are not compatible,
minimizing turnaround time guarantees minimizing response time.
a. true
b. false - answer b
Which of the following circumstances can preemptive scheduling
take place?
a. when a process switches from the running state to the waiting
state
b. when a process switches from the waiting state to the ready
state
c. when a process terminates
d. none of the rest - answer b
, Which of these is NOT included in the PCB?
a. local variable.
b. accounting information.
c. a copy of the program counter.
d. a copy of the registers. - answer a
Virtually all contemporary operating systems support kernel
threads.
a. true
b. false - answer a
Which of the following is true about inter-process communication:
a. ordinary pipe is uni-directional.
b. ordinary pipe is often used for communication between a process
and its child.
c. socket, a communication mechanism in a client-server system, is
a concatenation of an IP address and a port.
d. All of the rest - answer d
Which of the following is NOT a possible situation when a child
process is created?
a. The child process is running concurrently with the parent process.
b. The child process and the parent process are both waiting in a
device queue.
c. The child process and the parent process are both ready.
d. The child process has the same process id as the parent process.
- answer d
Which of the following is true about state transitions of a process:
a. A process in the waiting state can transition to the running state.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller BRAINBOOSTERS. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $12.99. You're not tied to anything after your purchase.