
Process scheduling
Quiz by R.K.Swathikaa PSGRKCW
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Measure skills
from any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
With a free account, teachers can
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
25 questions
Show answers
- Q1What is process scheduling?The process of determining which process in the ready state should be executed next.The process of loading a process into memory.The process of terminating a process.The process of compiling a program.30s
- Q2What is the purpose of a process scheduler?To load processes into memory.To terminate processes.To compile programs.To allocate CPU time to available processes.30s
- Q3What is a CPU burst?The amount of time a process uses the CPU without interruption.The time it takes to terminate a process.The time it takes to compile a program.The time it takes to load a process into memory.30s
- Q4What is preemptive scheduling?A scheduling policy where the shortest job is executed first.A scheduling policy where processes are executed sequentially.A scheduling policy where a running process can be interrupted and moved out of the CPU.A scheduling policy where all processes are given equal priority.30s
- Q5What is the purpose of context switching?To save and restore the context of a process during a scheduling decision.To load a process into memory.To terminate a process.To compile a program.30s
- Q6What is the difference between preemptive and non-preemptive scheduling?Preemptive scheduling executes processes sequentially.Preemptive scheduling executes the longest job first.Non-preemptive scheduling gives all processes equal priority.Preemptive scheduling allows for a running process to be interrupted and moved out of the CPU, while non-preemptive scheduling does not allow for process interruption.30s
- Q7What is the main goal of process scheduling?To optimize CPU utilization and maximize system efficiency.To load processes into memory.To terminate processes.To compile programs.30s
- Q8Which of the following is a disadvantage of the round robin scheduling algorithm?Higher waiting time for long tasksLower CPU utilizationEasier implementationFair allocation of CPU time30s
- Q9Which scheduling criterion prioritizes tasks based on their arrival time?Round robinShortest job nextFirst come, first servedHighest response ratio next30s
- Q10Which scheduling criterion aims to maximize the throughput or overall system efficiency?Shortest job nextPriority schedulingRound robinFirst come, first served30s
- Q11Which scheduling criterion ensures that each process gets an equal opportunity to execute?Shortest job nextFirst come, first servedRound robinPriority scheduling30s
- Q12What is the purpose of a critical section in software development?To handle exception cases in the programTo ensure only one thread can access shared resources at a timeTo synchronize execution of different threadsTo speed up program executionTo allow multiple threads to access shared resources simultaneously30s
- Q13What is synchronization in the context of operating systems?A method of encrypting data to protect it from unauthorized access.The process of compiling and linking a program before its execution.The process of converting high-level programming languages into machine code.The coordination of multiple processes or threads to ensure orderly and controlled execution.30s
- Q14What is a deadlock in the context of operating systems?A situation where a system crashes due to a hardware failure.A condition where a process stops executing indefinitely.A situation where two or more processes are unable to proceed because each is waiting for the other to release a resource.A scenario where multiple processes compete to access the same resource.30s
- Q15What is a semaphore?A programming language feature that allows dynamic typingA type of computer monitorA data structure used for searchingA synchronization object that controls access by multiple processes/threads to a common resource30s