Question 1
What is the purpose of the "Operating System"?
1
Perform calculations
2
Manage hardware and software resources
3
Develop applications
4
Create websites
Question 2
Which of the following is NOT an operating system?
1
Oracle
2
Linux
3
Windows
4
macOS
Question 3
Which of the following is an example of a real-time operating system?
1
Windows 10
2
Linux Ubuntu
3
macOS
4
RTOS (Real-Time Operating System)
Question 4
What is the function of a kernel in an operating system?
1
Manages system calls and resources
2
Provides a graphical interface
3
Compiles application code
4
Stores user files
Question 5
Which scheduling algorithm is used in time-sharing systems?
1
Shortest Job Next (SJN)
2
First-Come, First-Served (FCFS)
3
Round Robin (RR)
4
Priority Scheduling
Question 6
What is thrashing in an operating system?
1
Excessive swapping of processes between RAM and disk
2
The process of terminating a program
3
A technique to enhance CPU performance
4
A method for optimizing memory usage
Question 7
What is virtual memory?
1
A memory management technique that provides an illusion of a larger RAM
2
A part of hard disk used as RAM
3
A cache memory for fast processing
4
The physical memory of a system
Question 8
Which of the following is NOT an active process scheduling state?
1
Running
2
Terminated
3
Blocked
4
Ready
Question 9
Which file system is used by Windows operating systems?
1
FAT32
2
ext4
3
Both FAT32 and NTFS
4
NTFS
Question 10
What is the purpose of a device driver?
1
To allow the OS to communicate with hardware
2
To manage user permissions
3
To execute application programs
4
To enhance the CPU speed
Question 11
Which of the following is an example of a network operating system?
1
Windows Server
2
Linux
3
Windows 7
4
MS-DOS
Question 12
What is the primary function of the bootloader?
1
Manage disk partitions
2
Load the operating system into memory
3
Execute application programs
4
Detect hardware failures
Question 13
What is the main advantage of a multi-user operating system?
1
Requires less hardware resources
2
Faster execution of programs
3
It does not need scheduling
4
Supports multiple users accessing the system simultaneously
Question 14
What is the difference between paging and segmentation?
1
Segmentation is used only in UNIX systems
2
Paging reduces fragmentation, segmentation increases it
3
Paging is slower than segmentation
4
Paging divides memory into fixed-size blocks, segmentation divides it into variable-size blocks
Question 15
Which of the following is NOT a type of operating system?
1
Batch OS
2
Compiler OS
3
Distributed OS
4
Time-sharing OS
Question 16
Which process scheduling algorithm is starvation-free?
1
First-Come, First-Served (FCFS)
2
Shortest Job Next (SJN)
3
Round Robin
4
Priority Scheduling
Question 17
What is the function of a semaphore in an operating system?
1
Disk scheduling
2
Process synchronization
3
Deadlock detection
4
Memory management
Question 18
What is a deadlock?
1
A method of memory allocation
2
A situation where processes are waiting for each other indefinitely
3
A type of file management system
4
A situation where a process executes continuously
Question 19
What is the Banker’s algorithm used for?
1
Process scheduling
2
Disk scheduling
3
Deadlock avoidance
4
Memory allocation
Question 20
What is swapping in an operating system?
1
Moving processes between main memory and disk
2
Exchanging data between two processes
3
Terminating processes when memory is full
4
Exchanging registers between CPU and memory
Question 21
Which of the following is an example of a distributed operating system?
1
Linux Mint
2
Windows 10
3
Amoeba
4
MS-DOS
Question 22
What is the main advantage of using a spooling system in OS?
1
Faster memory access
2
Reduces power consumption
3
Allows multiple processes to use I/O devices efficiently
4
Increases CPU clock speed
Question 23
In which memory allocation technique does the process get the largest available block?
1
First Fit
2
Worst Fit
3
Next Fit
4
Best Fit
Question 24
What is the purpose of RAID in operating systems?
1
Improve file compression
2
Increase RAM speed
3
Provide redundancy and performance in storage systems
4
Reduce CPU usage
Question 25
Which of the following techniques is used to prevent deadlock?
1
Mutual exclusion
2
Circular wait
3
Hold and wait
4
Resource allocation graph with a cycle
Question 26
Which memory management technique suffers from external fragmentation?
1
Demand paging
2
Segmentation
3
Virtual memory
4
Paging
Question 27
In multi-threading, which model allows user threads to be mapped to multiple kernel threads?
1
One-to-One Model
2
Many-to-One Model
3
Single-Thread Model
4
Many-to-Many Model
Question 28
Which page replacement algorithm suffers from Belady's Anomaly?
1
Optimal Page Replacement
2
LRU
3
FIFO
4
Least Frequently Used (LFU)
Question 29
What is the main function of an interrupt in an operating system?
1
Allocate memory
2
Execute user programs
3
Optimize CPU scheduling
4
Handle asynchronous events
Question 30
What is the fork() system call used for in Unix/Linux?
1
To allocate memory
2
To terminate a process
3
To execute system commands
4
To create a new process
