Font size
WorksheetsOperating System Quiz
Total questions: 20
Worksheet time: 13mins
Your Name
Your USN
Your E-mail id
Sem and Section
Your Branch
Which of the following is the primary function of an operating system?
Creating network connections
Managing hardware and software resources
Running web browsers
Compiling programs
In a multi programming system, what does the CPU do when a process is waiting for I/O operations?
Enters power-saving mode
Terminates the process
Switches to another process
Stops execution until the process is ready
Which scheduling algorithm is used in time-sharing operating systems?
Shortest Job Next (SJN)
Priority Scheduling
Round Robin (RR)
First Come First Serve (FCFS)
Deadlock occurs when:
Multiple processes finish execution simultaneously
A process continuously accesses resources
A single process holds multiple resources
A set of processes are waiting for resources held by each other
Which of the following is NOT a necessary condition for deadlock?
Circular Wait
Preemption
Hold and Wait
Mutual Exclusion
What is the purpose of paging in memory management?
To reduce CPU load
To store executable files
To prevent deadlocks
To allocate fixed-sized memory blocks to processes
The number of processes that are completed per unit time is called:
Latency
Response time
Turnaround time
Throughput
The page replacement algorithm which replaces the page that will not be used for the longest period of time is called:
LRU (Least Recently Used)
FIFO (First-In-First-Out)
Optimal Page Replacement
LFU (Least Frequently Used)
Thrashing occurs when:
A process enters an infinite loop
The CPU executes too many processes at the same time
The system spends more time swapping pages than executing processes
Too many processes are waiting for I/O operations
In Unix-based systems, which command is used to check the currently running processes?
ls
ps
cd
mkdir
The Banker’s algorithm is used for:
Memory management
Page replacement
Deadlock avoidance
Process scheduling
What is the function of the dispatcher in process scheduling?
Loads the OS into memory
Handles process termination
Allocates CPU to a selected process
Manages disk space
Which type of operating system allows multiple users to access a system at the same time?
Batch OS
Multi-user OS
Real-time OS
Single-user OS
Which file system is most commonly used in Linux operating systems?
HFS+
NTFS
FAT32
ext4
Virtual memory is primarily used to:
Store files permanently
Improve network speed
Provide additional memory space using secondary storage
Increase CPU performance
