1. Which of the following is not a function of an operating system?
A) Memory management
B) File management
C) Web browsing
D) Process management
2. Which part of the operating system remains in memory at all times?
A) Shell
B) Kernel
C) API
D) Command line
3. Which of the following is an example of an operating system?
A) Microsoft Word
B) Linux
C) Oracle
D) Google Chrome
4. Which type of operating system allows multiple users to use the computer
simultaneously?
A) Single-user
B) Real-time
C) Multi-user
D) Network
5. Time-sharing systems are also known as:
A) Batch systems
B) Multi-access systems
C) Real-time systems
D) Embedded systems
Answer: B) Multi-access systems
6. What is the primary goal of an operating system?
A) Convenience
B) Efficiency
C) Both A and B
D) None of the above
7. In which mode does the CPU execute user programs?
A) Kernel mode
B) User mode
C) Supervisor mode
D) Protected mode
8. Which of the following is not a type of operating system?
A) Batch
B) Time-sharing
C) Distributed
D) Compiler-based
9. Which software acts as an interface between user and hardware?
A) Compiler
B) Operating System
C) Assembler
D) Loader
10. System calls provide an interface between:
A) Hardware and software
B) Process and memory
C) User and services of the operating system
D) None of the above
11. What is a process in an operating system?
A) A program in high-level language
B) A program in execution
C) A set of instructions
D) A part of the compiler
Answer: B) A program in execution
12. Which of the following is NOT a valid process state?
A) Ready
B) Waiting
C) Running
D) Terminating
13. The Process Control Block (PCB) does NOT contain which of the
following?
A) Process state
B) Program counter
C) CPU registers
D) Source code
14. Which of the following components is responsible for switching the CPU from one
process to another?
A) Scheduler
B) Compiler
C) Loader
D) Linker
15. Which process state indicates that the process is waiting to be assigned to a
processor?
A) New
B) Running
C) Waiting
D) Ready
16. Which scheduling algorithm is most suitable for time-sharing systems?
A) First-Come, First-Served (FCFS)
B) Shortest Job First (SJF)
C) Round Robin (RR)
D) Priority Scheduling
17. the interval from the time of submission of a process to the time of completion is
termed as ____________
a) waiting time
b) turnaround time
c) response time
d) throughput
18. Which scheduling algorithm allocates the CPU first to the process that requests the
CPU first?
a) first-come, first-served scheduling
b) shortest job scheduling
c) priority scheduling
d) none of the mentioned
19. Which algorithm is defined in Time quantum?
a) shortest job scheduling algorithm
b) round robin scheduling algorithm
c) priority scheduling algorithm
d) multilevel queue scheduling algorithm
20. In a timeshare operating system, when the time slot assigned to a process is
completed, the process switches from the current state to?
a) Suspended state
b) Terminated state
c) Ready state
d) Blocked state
21. Consider the 3 processes, P1, P2 and P3 shown in the table.
Process Arrival time Burst time
P1 0 5
P2 1 7
P3 3 4
The completion order of the 3 processes under the policies FCFS scheduling are
A P1, P2, P3
B P1, P3, P2
C P1, P2, P3
D P1, P3, P2
22. Consider the 3 processes, P1, P2 and P3 shown in the table.
Process Arrival time Burst time
P1 0 5
P2 1 7
P3 3 4
The completion order of the 3 processes under the policies RR (round robin
scheduling with CPU quantum of 2 time units) are
A P1, P2, P3
B P1, P3, P2
C P1, P3, P2
D P1, P2, P3
23. An operating system uses FCFS scheduling algorithm. Consider the following set of
processes with their arrival times and CPU burst times (in milliseconds):
Process Arrival Time Burst Time
P1 0 12
P2 2 4
P3 3 6
P4 8 5
The average waiting time (in milliseconds) of the processes is _________.
A 4.5
B 5.0
C 5.5
D None
24. Consider the following set of processes, with the arrival times and the CPU-burst
times given in milliseconds
Process Arrival Time Burst Time
P1 0 5
P2 1 3
P3 2 3
P4 4 1
What is the average turnaround time for these processes with SJF algorithm?
A 5.50
B 5.75
C 6.00
D 6.25
E None