Quiz_OS_2-6 - QUIZ 2 1/ Which of the following is a...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
QUIZ 2 1/ Which of the following is a high-level synchronization primitive? A/ Semaphores B/ Monitors C/ TSL D/ Nonf of the above 2/ Which of the following is used in mutual exclusion ( exclusive control)? A/ Checkpoint B/ Semaphore C/ Contention D/ Hash 3/ What is Software proposal in the solution of Mutual exclusion with Busy waiting? A/ Lock Variables B/ Strict Alternation C/ Peterson’s Solution D/ All of the above 4/ Which of the following preemptive scheduling algorithm? A/ FCFS B/ Shortest Job First C/ Round Robin D/ None of the above 5/ Which of the following state transitions are legal? A / running ready B/ waiting terminated C/ ready terminated D/ waiting running 6/ Which of the following state transitions are illegal? A/ ready running B/ running ready C/ waiting runing D/ running terminated 7/ Which is not a goal of a scheduling algorithm for batch systems? A/ Fairness B/ Response time C/ Throughput D/ Turnaround time 8/ Which of the following cannot be shared among different threads of a process?
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
A/ File handless B/ Process data C/ Process code D/ Stack 9/ Which is the correct description of transitions between process states below? 1/ Process blocks for input Scheduler picks another process Scheduler picks this process Input becomes avaiable 10/ Which of the following is not correct about user-level threads? A/ If one use-level thread makes a blocking system call, the system will block the entire process (which contains that user-level thread) B/ User-level threads cannot be preempted by clock interrupts unless the whole process’ quantum has beenn used up C/ With user- level threads, customized scheduling alogorithms cannot be
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 6

Quiz_OS_2-6 - QUIZ 2 1/ Which of the following is a...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online