SlideShare a Scribd company logo
1 of 41
BCS 4th Semester
Marks : 80
Time duration : 60 minutes
a) collection of programs that manages
hardware resources
b) system service provider to the application
programs
c) link to interface the hardware and
application programs
d) all of the mentioned
a) fork
b) create
c) new
d) none of the mentioned
a) normal exit
b) fatal error
c) killed by another process
d) all of the mentioned
a) when process is scheduled to run after
some execution
b) when process is unable to run until some
task has been completed
c) when process is using the CPU
d) none of the mentioned
a) each process is blocked and will remain so
forever
b) each process is terminated
c) all processes are trying to kill each other
d) none of the mentioned
a) New
b) Old
c) Waiting
d) Running
a) single threaded
b) multithreaded
c) both (a) and (b)
d) none of the mentioned
a) thread moves to the ready queue
b) thread remains blocked
c) thread completes
d) a new thread is provided
a) convert a blocking system call into
nonblocking system call
b) create a new thread
c) communicate between threads
d) terminate a thread
a) first thread of the process
b) first two threads of the process
c) all threads within the process
d) no thread within the process
a) running
b) parsing
c) ready
d) blocked
a) a part of
b) the creator of
c) unaware of
d) aware of
a) the thread loading the page continues with
the loading
b) the thread loading the page does not stop,
but continues with another task
c) the thread loading the page is paused
d) the thread loading the page is cancelled
a) dispatcher
b) interrupt
c) scheduler
d) none of the mentioned
a) waiting time
b) turnaround time
c) response time
d) throughput
a) CPU is allocated to the process with
highest priority
b) CPU is allocated to the process with lowest
priority
c) equal priority processes can not be
scheduled
d) none of the mentioned
a) all process
b) currently running process
c) parent process
d) init process
a) shortest job scheduling algorithm
b) round robin scheduling algorithm
c) priority scheduling algorithm
d) multilevel queue scheduling algorithm
a) kernel level thread
b) user level thread
c) process
d) none of the mentioned
a) I/O Burst
b) CPU Burst
c) Memory Burst
d) OS Burst
a) blocked, short term
b) wait, long term
c) ready, short term
d) ready, long term
a) the total time taken from the submission
time till the completion time
b) the total time taken from the submission
time till the first response is produced
c) the total time taken from submission time
till the response is output
d) None of these
 (a) Round-Robin
 (b) First In First Out
 (c) Multilevel Queue Scheduling
 (d) Multilevel Queue Scheduling with
Feedback
a) Job Queue
b) PCB queue
c) I/O Queue
d) Ready Queue
a) It is placed in an I/O queue
b) It is placed in a waiting queue
c) It is placed in the ready queue
d) It is placed in the Job queue
a) It is removed from all queues
b) It is removed from all, but the job queue
c) Its process control block is de-allocated
d) Its process control block is never de-
allocated
a) It selects which process has to be brought
into the ready queue
b) It selects which process has to be executed
next and allocates CPU
c) It selects which process to remove from
memory by swapping
d) None of these
a) full,little
b) full,lot
c) empty,little
d) empty,lot
a) It selects which process has to be brought
into the ready queue
b) It selects which process has to be executed
next and allocates CPU
c) It selects which process to remove from
memory by swapping
d) None of these
a) It selects which process has to be brought
into the ready queue
b) It selects which process has to be executed
next and allocates CPU
c) It selects which process to remove from
memory by swapping
d) None of these
a) block
b) create
c) dispatch
d) None of these
a) it can do more than one task at a time
b) it can do only one task at a time, but much
faster
c) it has to use only one thread per process
d) None of these
a) first-come, first-served scheduling
b) shortest job scheduling
c) priority scheduling
d) none of the mentioned
a) Running state
b) Ready state
c) Suspended state
d) Terminated state
a) A device
b) Timer
c) Scheduler process
d) Power failure
a) blocked to running
b) ready to running
c) blocked to ready
d) running to blocked
 A. CPU scheduler
 B. Context switching
 C. Long-term scheduler
 D. Medium-term scheduler
(a) 1 (b) 2 (c) 3 (d) 4
Assume that the following jobs are to be executed on a single processor
system
-----------------------
Job-Id CPU-BurstTime
-----------------------
p 4
q 1
r 8
s 1
t 2
-----------------------
The jobs are assumed to have arrived at time 0 and in the order p, q, r, s,
t.
Calculate the departure time (completion time) for job p if scheduling is
round robin with time slice 1.
(a) 4 (b) 10 (c) 11 (d) 12
a) increase the turnaround time
b) decrease the turnaround time
c) keep the turnaround time same
d) there is no relation between scheduling
and turnaround time

More Related Content

What's hot

Is your profiler speaking the same language as you? -- Docklands JUG
Is your profiler speaking the same language as you? -- Docklands JUGIs your profiler speaking the same language as you? -- Docklands JUG
Is your profiler speaking the same language as you? -- Docklands JUGSimon Maple
 
FOSDEM2015: Live migration for containers is around the corner
FOSDEM2015: Live migration for containers is around the cornerFOSDEM2015: Live migration for containers is around the corner
FOSDEM2015: Live migration for containers is around the cornerAndrey Vagin
 
Lightining Talk - Task queue and micro task queues in browser
Lightining Talk - Task queue and micro task queues in browserLightining Talk - Task queue and micro task queues in browser
Lightining Talk - Task queue and micro task queues in browserJitendra Kasaudhan
 
Round Robin Algorithm in Operating System
Round Robin Algorithm in Operating SystemRound Robin Algorithm in Operating System
Round Robin Algorithm in Operating SystemZeeshan Iqbal
 
Concurrency in Go by Denys Goldiner.pdf
Concurrency in Go by Denys Goldiner.pdfConcurrency in Go by Denys Goldiner.pdf
Concurrency in Go by Denys Goldiner.pdfDenys Goldiner
 
Profiling your Applications using the Linux Perf Tools
Profiling your Applications using the Linux Perf ToolsProfiling your Applications using the Linux Perf Tools
Profiling your Applications using the Linux Perf ToolsemBO_Conference
 
Smarter Scheduling
Smarter SchedulingSmarter Scheduling
Smarter SchedulingDavid Evans
 
CRIU: Time and Space Travel for Linux Containers
CRIU: Time and Space Travel for Linux ContainersCRIU: Time and Space Travel for Linux Containers
CRIU: Time and Space Travel for Linux ContainersKirill Kolyshkin
 
Crossing into Kernel Space
Crossing into Kernel SpaceCrossing into Kernel Space
Crossing into Kernel SpaceDavid Evans
 

What's hot (15)

Context switching
Context switchingContext switching
Context switching
 
Is your profiler speaking the same language as you? -- Docklands JUG
Is your profiler speaking the same language as you? -- Docklands JUGIs your profiler speaking the same language as you? -- Docklands JUG
Is your profiler speaking the same language as you? -- Docklands JUG
 
FOSDEM2015: Live migration for containers is around the corner
FOSDEM2015: Live migration for containers is around the cornerFOSDEM2015: Live migration for containers is around the corner
FOSDEM2015: Live migration for containers is around the corner
 
Building a cron scheduler
Building a cron schedulerBuilding a cron scheduler
Building a cron scheduler
 
The Internet
The InternetThe Internet
The Internet
 
Lightining Talk - Task queue and micro task queues in browser
Lightining Talk - Task queue and micro task queues in browserLightining Talk - Task queue and micro task queues in browser
Lightining Talk - Task queue and micro task queues in browser
 
RCU
RCURCU
RCU
 
Scheduling
SchedulingScheduling
Scheduling
 
Round Robin Algorithm in Operating System
Round Robin Algorithm in Operating SystemRound Robin Algorithm in Operating System
Round Robin Algorithm in Operating System
 
Concurrency in Go by Denys Goldiner.pdf
Concurrency in Go by Denys Goldiner.pdfConcurrency in Go by Denys Goldiner.pdf
Concurrency in Go by Denys Goldiner.pdf
 
More Mining
More MiningMore Mining
More Mining
 
Profiling your Applications using the Linux Perf Tools
Profiling your Applications using the Linux Perf ToolsProfiling your Applications using the Linux Perf Tools
Profiling your Applications using the Linux Perf Tools
 
Smarter Scheduling
Smarter SchedulingSmarter Scheduling
Smarter Scheduling
 
CRIU: Time and Space Travel for Linux Containers
CRIU: Time and Space Travel for Linux ContainersCRIU: Time and Space Travel for Linux Containers
CRIU: Time and Space Travel for Linux Containers
 
Crossing into Kernel Space
Crossing into Kernel SpaceCrossing into Kernel Space
Crossing into Kernel Space
 

Similar to quizz-2

Anhnh osg202-1
Anhnh osg202-1Anhnh osg202-1
Anhnh osg202-1QuynBiVn1
 
100 objective question eis
100 objective question eis100 objective question eis
100 objective question eisgajani121
 
Samples of competitive examination questions: part II
Samples of competitive examination questions: part IISamples of competitive examination questions: part II
Samples of competitive examination questions: part IIAli I. Al-Mosawi
 
Computer knowledge-old-papers
Computer knowledge-old-papersComputer knowledge-old-papers
Computer knowledge-old-papersneha rawat
 
Operating system Q/A
Operating system Q/AOperating system Q/A
Operating system Q/AAbdul Munam
 
UGC-NET, GATE and all IT Companies Interview C++ Solved Questions PART - 2
UGC-NET, GATE and all IT Companies Interview C++ Solved Questions PART - 2UGC-NET, GATE and all IT Companies Interview C++ Solved Questions PART - 2
UGC-NET, GATE and all IT Companies Interview C++ Solved Questions PART - 2Knowledge Center Computer
 
Cpu scheduling qusetions
Cpu scheduling qusetionsCpu scheduling qusetions
Cpu scheduling qusetionsJasonMarandi1
 
Axes Tech
Axes TechAxes Tech
Axes Techncct
 
200 mcq c++(Ankit dubey)
200 mcq c++(Ankit dubey)200 mcq c++(Ankit dubey)
200 mcq c++(Ankit dubey)Ankit Dubey
 
Java questions1
Java questions1Java questions1
Java questions1yash4884
 
Assignment unix & shell programming
Assignment  unix  & shell programmingAssignment  unix  & shell programming
Assignment unix & shell programmingMohit Aggarwal
 
Operating System Multiple Choice Questions
Operating System Multiple Choice QuestionsOperating System Multiple Choice Questions
Operating System Multiple Choice QuestionsShusil Baral
 
Vlsi design mc qs
Vlsi design mc qsVlsi design mc qs
Vlsi design mc qsswagatkarve
 
Kato Mivule: An Overview of CUDA for High Performance Computing
Kato Mivule: An Overview of CUDA for High Performance ComputingKato Mivule: An Overview of CUDA for High Performance Computing
Kato Mivule: An Overview of CUDA for High Performance ComputingKato Mivule
 
New microsoft office word document (3)
New microsoft office word document (3)New microsoft office word document (3)
New microsoft office word document (3)Sagar Kuchekar
 
Operating Systems MCQ Bank from mcqSets.com
Operating Systems MCQ Bank from mcqSets.comOperating Systems MCQ Bank from mcqSets.com
Operating Systems MCQ Bank from mcqSets.comSuresh Khanal
 

Similar to quizz-2 (20)

Anhnh osg202-1
Anhnh osg202-1Anhnh osg202-1
Anhnh osg202-1
 
100 objective question eis
100 objective question eis100 objective question eis
100 objective question eis
 
Samples of competitive examination questions: part II
Samples of competitive examination questions: part IISamples of competitive examination questions: part II
Samples of competitive examination questions: part II
 
Computer knowledge-old-papers
Computer knowledge-old-papersComputer knowledge-old-papers
Computer knowledge-old-papers
 
Operating system Q/A
Operating system Q/AOperating system Q/A
Operating system Q/A
 
UGC-NET, GATE and all IT Companies Interview C++ Solved Questions PART - 2
UGC-NET, GATE and all IT Companies Interview C++ Solved Questions PART - 2UGC-NET, GATE and all IT Companies Interview C++ Solved Questions PART - 2
UGC-NET, GATE and all IT Companies Interview C++ Solved Questions PART - 2
 
Cpu scheduling qusetions
Cpu scheduling qusetionsCpu scheduling qusetions
Cpu scheduling qusetions
 
Axes Tech
Axes TechAxes Tech
Axes Tech
 
200 mcq c++(Ankit dubey)
200 mcq c++(Ankit dubey)200 mcq c++(Ankit dubey)
200 mcq c++(Ankit dubey)
 
Java questions1
Java questions1Java questions1
Java questions1
 
Assignment unix & shell programming
Assignment  unix  & shell programmingAssignment  unix  & shell programming
Assignment unix & shell programming
 
Bc0042 os-mqp
Bc0042 os-mqpBc0042 os-mqp
Bc0042 os-mqp
 
Operating System Multiple Choice Questions
Operating System Multiple Choice QuestionsOperating System Multiple Choice Questions
Operating System Multiple Choice Questions
 
Vlsi design mc qs
Vlsi design mc qsVlsi design mc qs
Vlsi design mc qs
 
Kato Mivule: An Overview of CUDA for High Performance Computing
Kato Mivule: An Overview of CUDA for High Performance ComputingKato Mivule: An Overview of CUDA for High Performance Computing
Kato Mivule: An Overview of CUDA for High Performance Computing
 
Mc qs threads
Mc qs threadsMc qs threads
Mc qs threads
 
test questions
test questionstest questions
test questions
 
New microsoft office word document (3)
New microsoft office word document (3)New microsoft office word document (3)
New microsoft office word document (3)
 
Operating Systems MCQ Bank from mcqSets.com
Operating Systems MCQ Bank from mcqSets.comOperating Systems MCQ Bank from mcqSets.com
Operating Systems MCQ Bank from mcqSets.com
 
Operating system quiz
Operating system quizOperating system quiz
Operating system quiz
 

quizz-2

  • 1. BCS 4th Semester Marks : 80 Time duration : 60 minutes
  • 2. a) collection of programs that manages hardware resources b) system service provider to the application programs c) link to interface the hardware and application programs d) all of the mentioned
  • 3. a) fork b) create c) new d) none of the mentioned
  • 4. a) normal exit b) fatal error c) killed by another process d) all of the mentioned
  • 5. a) when process is scheduled to run after some execution b) when process is unable to run until some task has been completed c) when process is using the CPU d) none of the mentioned
  • 6. a) each process is blocked and will remain so forever b) each process is terminated c) all processes are trying to kill each other d) none of the mentioned
  • 7. a) New b) Old c) Waiting d) Running
  • 8. a) single threaded b) multithreaded c) both (a) and (b) d) none of the mentioned
  • 9. a) thread moves to the ready queue b) thread remains blocked c) thread completes d) a new thread is provided
  • 10. a) convert a blocking system call into nonblocking system call b) create a new thread c) communicate between threads d) terminate a thread
  • 11. a) first thread of the process b) first two threads of the process c) all threads within the process d) no thread within the process
  • 12. a) running b) parsing c) ready d) blocked
  • 13. a) a part of b) the creator of c) unaware of d) aware of
  • 14. a) the thread loading the page continues with the loading b) the thread loading the page does not stop, but continues with another task c) the thread loading the page is paused d) the thread loading the page is cancelled
  • 15. a) dispatcher b) interrupt c) scheduler d) none of the mentioned
  • 16. a) waiting time b) turnaround time c) response time d) throughput
  • 17. a) CPU is allocated to the process with highest priority b) CPU is allocated to the process with lowest priority c) equal priority processes can not be scheduled d) none of the mentioned
  • 18. a) all process b) currently running process c) parent process d) init process
  • 19. a) shortest job scheduling algorithm b) round robin scheduling algorithm c) priority scheduling algorithm d) multilevel queue scheduling algorithm
  • 20. a) kernel level thread b) user level thread c) process d) none of the mentioned
  • 21. a) I/O Burst b) CPU Burst c) Memory Burst d) OS Burst
  • 22. a) blocked, short term b) wait, long term c) ready, short term d) ready, long term
  • 23. a) the total time taken from the submission time till the completion time b) the total time taken from the submission time till the first response is produced c) the total time taken from submission time till the response is output d) None of these
  • 24.  (a) Round-Robin  (b) First In First Out  (c) Multilevel Queue Scheduling  (d) Multilevel Queue Scheduling with Feedback
  • 25. a) Job Queue b) PCB queue c) I/O Queue d) Ready Queue
  • 26. a) It is placed in an I/O queue b) It is placed in a waiting queue c) It is placed in the ready queue d) It is placed in the Job queue
  • 27. a) It is removed from all queues b) It is removed from all, but the job queue c) Its process control block is de-allocated d) Its process control block is never de- allocated
  • 28. a) It selects which process has to be brought into the ready queue b) It selects which process has to be executed next and allocates CPU c) It selects which process to remove from memory by swapping d) None of these
  • 29. a) full,little b) full,lot c) empty,little d) empty,lot
  • 30. a) It selects which process has to be brought into the ready queue b) It selects which process has to be executed next and allocates CPU c) It selects which process to remove from memory by swapping d) None of these
  • 31. a) It selects which process has to be brought into the ready queue b) It selects which process has to be executed next and allocates CPU c) It selects which process to remove from memory by swapping d) None of these
  • 32. a) block b) create c) dispatch d) None of these
  • 33. a) it can do more than one task at a time b) it can do only one task at a time, but much faster c) it has to use only one thread per process d) None of these
  • 34. a) first-come, first-served scheduling b) shortest job scheduling c) priority scheduling d) none of the mentioned
  • 35. a) Running state b) Ready state c) Suspended state d) Terminated state
  • 36. a) A device b) Timer c) Scheduler process d) Power failure
  • 37. a) blocked to running b) ready to running c) blocked to ready d) running to blocked
  • 38.  A. CPU scheduler  B. Context switching  C. Long-term scheduler  D. Medium-term scheduler
  • 39. (a) 1 (b) 2 (c) 3 (d) 4
  • 40. Assume that the following jobs are to be executed on a single processor system ----------------------- Job-Id CPU-BurstTime ----------------------- p 4 q 1 r 8 s 1 t 2 ----------------------- The jobs are assumed to have arrived at time 0 and in the order p, q, r, s, t. Calculate the departure time (completion time) for job p if scheduling is round robin with time slice 1. (a) 4 (b) 10 (c) 11 (d) 12
  • 41. a) increase the turnaround time b) decrease the turnaround time c) keep the turnaround time same d) there is no relation between scheduling and turnaround time