Font size
WorksheetsPop Quiz - Operating System
Total questions: 31
Worksheet time: 18mins
Which of the following best defines an Operating System (OS)?
A program that directly executes user commands
A program that acts as an middleman between user and hardware
A compiler for hardware instructions
A software that only manages files
Which is NOT a function of an Operating System?
Memory management
Processor management
Analyze user data
File management
In multiprogramming, how does the OS allocate memory?
Randomly to each process
Equally among all processes
Based on scheduling and process requests
Only to the first process
The program responsible for device communication in OS is called:
Device Scheduler
I/O Controller
File Handler
Process Tracker
Which type of OS allows multiple users to access the computer at the same time?
A) Batch Operating System
Time-sharing Operating System
Real-Time Operating System
Distributed Operating System
What is the main goal of Time-Sharing Systems?
Minimize response time
Maximize processor use
Increase storage capacity
Eliminate all processes
Which type of OS uses multiple processors to serve multiple users?
Real-Time Operating System
Network Operating System
Batch Operating System
Distributed Operating System
What is the main function of Network Operating Systems?
Increase CPU speed
Allow shared file and printer access in a network
Store data permanently in the CPU
Control cache memory
What does cache memory do?
Permanently stores all data
Acts as a small, fast memory between processor and main memory
Replaces main memory
Stores only input/output device data
The command interpreter in an OS is responsible for:
Executing user commands
Allocating memory
Scheduling processor tasks
Detecting errors
Which of the following is considered volatile memory?
Disk memory
Main memory (RAM)
Magnetic tape
ROM
Which process scheduling component tracks the processor and process status?
Cache Controller
Traffic Controller
File Descriptor
Process Identifier
The data structure that stores all information about a running process is called:
Process Descriptor
Process Memory Table
Process Control Block (PCB)
File Allocation Table
Which state represents a process waiting for an event or I/O operation?
Running
Ready
Blocked
Terminal
Which of the following is NOT an advantage of a Network Operating System?
Centralized server stability
Remote access capability
Easy hardware integration
Zero maintenance required
Which of the following best describes Inter-Process Communication (IPC)?
A method to connect two CPUs directly
A mechanism for exchanging data across processes
A way to speed up the internet connection
A type of memory storage
Which of the following is NOT a reason why IPC is required?
Computational speedup
Privilege separation
File encryption
Modularity
Which IPC method allows unrelated processes to communicate in full-duplex?
FIFO
Pipes
Shared memory
Message queues
Which communication type requires explicit naming of the sender or receiver?
(a)
Which synchronization tool uses integer variables with wait() and signal() operations?
(a)
Which of the following is true about Spinlocks?
A) They allow multiple processes in a critical section
They are useful for long wait times
They use busy waiting
They prevent deadlocks completely
Which synchronization mechanism is used to make all threads wait before moving to the next round?
Mutex
Barrier
Semaphore
Spinlock
Which file type contains program instructions in machine language?
(a)
Which of the following is NOT a function of a File Management System?
Creating and deleting files
Managing permissions
Virus scanning
Structuring files in a tree format
What type of file management organizes files in a hierarchy of folders?
Relational file management
Indexed file management
Network file management
Hierarchical file management
What is the term for assigning CPU to a process?
(a)
What is the main goal of multiprogramming?
(a)
A major drawback of file management systems is:
Slow file access in hierarchical structure
Support for multiple devices
Automatic free space recovery
Unauthorized access protection
Which of the following is NOT an I/O device type?
Boot device
Character device
Network device
Compiler device
Which of the following connects OS and hardware by translating commands?
Device controller
Device driver
API
Buffer
Polling is considered inefficient because:
It relies on busy waiting by CPU
It prevents interrupts
It cannot detect device errors
It requires direct memory access
