Font size
WorksheetsOperating System Quiz
Total questions: 98
Worksheet time: 3600secs
Which component of an operating system focuses on the allocation of processor time to different tasks?
Shell
Memory Manager
Process Manager
Security Manager
Which of the following is an example of a primary storage device?
Hard Disk Drive
Optical Disk Drive
USB Flash Drive
Random Access Memory (RAM)
What state is a process in when it is ready for execution?
New
Ready
Run
Wait
Which category of software includes programs created to perform specific tasks for the user?
System Software
Application Software
Firmware
Device Drivers
What is seek time?
Time taken to locate the disk arm to a specified track
Time taken by the disk to rotate into a position
Time to transfer data
Time to access the disk controller
What is the main goal of process scheduling?
To maximize CPU utilization
To minimize memory usage
To maximize response time
To minimize CPU throughput
What does the short-term scheduler do?
Determines which processes should be admitted to the system
Selects processes from the job queue
Decides when to switch between processes
Swaps processes in and out of memory
What role does the operating system play in file management?
Allocating CPU resources for file operations
Managing file directories
Allocating printer resources
Handling network connections
What is the primary difference between a thread and a process?
Threads share memory space, while processes have separate memory spaces
Threads have their own program counter, while processes share a program counter
Threads are lighter weight than processes
Threads cannot run concurrently, while processes can
What is the primary function of a batch operating system?
Providing equal CPU time for each task
Allocating memory efficiently
Grouping similar tasks into batches for processing
Allowing multiple users to share resources
Which component of a computer system is responsible for entering data into the computer?
Output Devices
Processing Devices
Input Devices
Communication Devices
Which algorithm selects the disk I/O request that requires the least disk arm movement from its current position?
SCAN
C-LOOK
SSTF
LOOK
Integrated circuits are composed of:
Vacuum tubes
Transistors
Binary language
Mechanical components
What does the device manager component of an operating system control?
Allocation of memory resources
Management of peripheral devices
Manipulation of files and directories
Scheduling of tasks for processing
Which type of scheduling algorithm allows a process to run until it is finished?
Preemptive
Non-preemptive
Round Robin
Priority Scheduling
When were transistors introduced in computer technology?
1945
1955
1965
1956
What is disk scheduling?
Memory management
CPU scheduling
I/O scheduling
Process scheduling
During which generation of computers were vacuum tubes primarily used?
First Generation
Second Generation
Third Generation
Fourth Generation
Which type of operating system allows multiple users to access a single system simultaneously?
Batch Operating System
Time-Sharing Operating System
Distributed Operating System
Handheld Operating System
Which disk scheduling algorithm services disk locations based on the arrival order of the requests?
Shortest Seek Time First (SSTF)
SCAN
First Come First Serve (FCFS)
LOOK
How does the operating system contribute to system security?
Managing file permissions
Allocating memory resources
Managing device drivers
Handling input/output operations
What is the primary purpose of device management by the operating system?
Allocating printer resources
Managing device drivers
Ensuring efficient device utilization
Handling network connections
Which scheduler is responsible for moving processes between ready and run queues?
Long-term scheduler
Short-term scheduler
Medium-term scheduler
Job scheduler
Which type of software provides platforms for other software and runs at a fundamental level in the background?
Application Software
Device Drivers
System Software
Utility Software
Who invented integrated circuits, marking the Third Generation of computers?
Alan Turing
Charles Babbage
Robert Noyce and Jack Kilby
John von Neumann
What is the primary function of the file system manager in an operating system?
Allocation and deallocation of memory
Control of peripheral devices
Manipulation of files and directories
Scheduling tasks for processing
Who is credited as the Father of Digital Computer?
Alan Turing
Charles Babbage
John von Neumann
Ada Lovelace
What is the main purpose of the medium-term scheduler?
To determine which programs should be admitted to the system
To improve system performance
To manage the swapping of processes in and out of memory
To switch between user and kernel mode
What are the three main components of a computer system?
Hardware, Software, Firmware
Input Devices, Output Devices, Processing Devices
Hardware, Software, Liveware
CPU, RAM, Storage Devices
Who was approached by IBM to develop the DOS operating system?
Steve Jobs
Jeff Bezos
Bill Gates
Mark Zuckerberg
What significant development occurred during the Fourth Generation of computers?
Invention of vacuum tubes
Introduction of integrated circuits
Emergence of personal computers
Development of mechanical computers
What is the main objective of process scheduling algorithms?
To maximize waiting time
To minimize CPU utilization
To minimize response time
To maximize CPU throughput
Which scheduling algorithm uses a First In First Out (FIFO) queue?
Round Robin
Shortest Job First
First Come First Serve
Priority Scheduling
What is the main objective of scheduling algorithms?
To minimize CPU utilization
To maximize waiting time
To minimize throughput
To maximize throughput
What is the main objective of scheduling algorithms?
To minimize CPU utilization
To maximize waiting time
To minimize throughput
To maximize throughput
Which operating system type is characterized by several interconnected computers communicating via a shared network?
Batch Operating System
Time-Sharing Operating System
Distributed Operating System
Network Operating System
What is a process?
A program in execution
A static entity
A data structure
A file system
What are the basic functions performed by the CPU in a computer system?
Arithmetic and Logic Operations, Controlling, and Input/Output (I/O) operations
Sending and Receiving Data, Displaying Output
Transmitting Signals, Storing Data
Running Application Software, Providing Platforms for Other Software
What is the primary advantage of a time-sharing operating system?
Maximum consumption of system resources
Minimal CPU idle time
High reliability
Reduced data communication problems
What is the primary function of the memory manager component of an operating system?
Scheduling tasks and managing CPU utilization
Ensuring the security of the system
Managing allocation and deallocation of memory
Controlling peripheral devices
Which type of real-time operating system is designed for applications with strict time constraints?
Hard Real-Time Systems
Soft Real-Time Systems
Handheld Operating Systems
Batch Operating Systems
What is the function of communication devices in a computer system?
Processing data
Storing data
Transmitting signals/messages
Displaying output
What is the formula for Turn Around Time (TaT)?
TaT = Completion Time - Arrival Time
TaT = Arrival Time - Completion Time
TaT = Burst Time - Waiting Time
TaT = Waiting Time - Burst Time
Which scheduling algorithm uses time slices?
First Come First Serve
Shortest Job First
Round Robin
Priority Scheduling
What was the first operating system introduced during the Second Generation of computers?
DOS
Unix
Fortran Monitor System
Windows
What is the role of the Central Processing Unit (CPU) in a computer system?
Storing data
Transmitting signals/messages
Executing instructions of computer programs
Providing platforms for other software
What is the purpose of disk scheduling algorithms?
To increase disk seek time
To maximize rotational latency
To reduce the total seek time
To increase disk access time
Which component of a computer system serves as the physical medium for sending, receiving, and storing data?
Software
Input Devices
Output Devices
Hardware
What innovation in user interface was introduced by Doug Engelbart during the Fourth Generation?
Typing-based input system
Command-line interface
Graphical User Interface (GUI)
Voice recognition interface
What is context switching?
Switching between user and kernel mode
Saving the context of one process and loading the context of another process
Switching between different I/O devices
Allocating memory to a new process
What does the operating system do in terms of processor management?
Allocating GPU resources
Managing process scheduling
Handling input/output operations
Optimizing file storage
Which type of scheduling algorithm schedules processes according to their arrival times?
Round Robin
Shortest Job First
First Come First Serve
Priority Scheduling
What is the main goal of process scheduling?
To keep the CPU idle
To maximize CPU utilization
To minimize response time
To minimize throughput
What is the ultimate goal of job accounting by the operating system?
Efficient use of resources
Providing user-friendly interfaces
Tracking time and resource usage
Ensuring system security
22. Which operating system type is characterized by several interconnected computers communicating via a shared network?
Batch Operating System
Time-Sharing Operating System
Distributed Operating System
Network Operating System
1. Which aspect of memory management does the operating system primarily handle?
Allocating CPU resources
Managing cache memory
Managing primary memory
Handling secondary storage
Which type of storage device is smaller in size and has the fastest data speed?
Secondary Storage Devices
Optical Disk Drive
Hard Disk Drive
Random Access Memory (RAM)
Which type of operating system involves grouping similar tasks for processing without immediate user interaction
Time-Sharing Operating System
Distributed Operating System
Batch Operating System
Network Operating System
What was the revised name of the operating system developed for IBM PCs?
Unix
MS-DOS (Microsoft Disk Operating System)
Linux
MacOS
Which section of a process contains the current activity represented by the value of the program counter?
Text Section
Stack
Data Section
Heap Section
Which goal of the operating system prioritizes efficient resource utilization?
Ensuring user convenience
Making hardware components accessible
Providing user-friendly interfaces
Using computer hardware efficiently
Software that installed on a computer that manage all the hardware and softwares on a computer
(a)
Consist of system software or the basic files that your computer needs to boot and work
(a)
Process of controlling and organizing computer's memory. Manage between main memory and disk during execution
(a)
Non Volatile , Slow , Small Capacity
(a)
VOLATILE, FAST, LARGER DATA
(a)
Keep tracks of processor, Allocate and allocate the processor when process is no longer required.
(a)
How much time the processor function
(a)
Keep tracks for all device, decides which process gets the device when and for how much time
(a)
Responsible for keeping tracks for all devices
(a)
Keep tracks for information, decides who gets the resources, allocate and de allocate the resource
(a)
Responsible for the task of keeping track of processors status
(a)
Protects the data stored on computer from illegal use
(a)
English Mathematician who developed an analytical engine on 1833-1871
(a)
Invented GUI(Graphical user interface)
(a)
Types of OS that involves a server on which the systems run on. Provides ability or capacity to manage users, data, networking functions
(a)
This system used when the time requirement for the specific response is very strict
(a)
Time constraint are very strict, even the possible short possible delay is not acceptable
Hard Real Time System
Soft Real Time System
Time constraing is less trict.
Hard Real Time System
Soft Real Time System
Designed to run on machines that have processor with low speed and memory.
Real Time Operating System
Network Operating System
Handheld operating system
Distributed operating system
Components of Operating system that is a user interface for access to an operating system's service
Shell
Memory Manager
File System Manager
Secondary Storage Manager
Used to store data that can be manipulated further in the system
(a)
Programmable electronic device that can accept input, store data and retrieve process and output information
(a)
Operation which is performed automatically by the computer
(a)
Types of booting that is restarting a computer that is already powered on.
Warm/Soft Booting
Cold / Hard Booting
Process of turning on computer after it had been powered off
Warm/Soft Booting
Cold / Hard Booting
Software that is responsible for booting. It operated systems into a computer's memory when it starts up
(a)
Order in which a computer search for non volatile storage containing program code to the load the operating system
(a)
Asynchronous which are generated or signals made by the hardware.
Interrupts
Polling
Process or regularly checking status of the device to see if it is time for i/o operation
Interrupts
Polling
Contains the temporary data, such as function parameters , return addresses and local variables
Stack
Data Section
Text Section
Heap Session
Contains Global Variable
Text Section
Stack
Data Section
Heap Section
Dynamically allocated memory to process during it's run time
text section
data section
stack
heap section
Known as lightweight process, idae to achieve parallelism by dividing a process into multiple threads
(a)
Known as exceptions or software interrupts, synchronous events triggered by error condition during program execution.
Traps
Pooling
Interrupt
Responsible for determining which programs should be admitted to the system
Long Term Scheduler9
Medium Term Scheduler
Short Term Scheduler
Main task to improve system performance. It where the change happens from ready state to running state of processes.
Long Term Scheduler
Medium Term Scheduler
Short Term Scheduler
Swapping parts of the process occurs. Swapping takes places whenever a process becomes supsended. When process are suspended, it cannot be completed anymore.
Long Term Scheduler
Medium Term Scheduler
Short term Scheduler
