WorksheetsOperating Systems Quiz
Total questions: 113
Worksheet time: 57mins
What does an operating system (OS) utilize to provide services?
Hardware resources of one or more processors
Application programs
Network protocols
What is one of the main functions of an operating system?
It manages secondary memory and I/O devices
It writes user applications
It designs hardware components
What does an operating system control?
Hardware and coordinates its use among programs
Only user applications
The internet connection
What components are included in an operating system?
Kernel, administration tools, and system libraries
Browser, compiler, and word processor
CPU, memory, and monitor
What are the objectives of an operating system?
Makes a computer convenient to use; allows efficient utilization of resources; supports development and testing
To increase electricity usage; make computers slower
To build only networking applications
How does an operating system mask hardware details?
By providing a convenient interface for users
By rewriting hardware instructions
By hiding hardware physically
What services does an operating system provide for program development?
Utility programs like editors/debuggers and application development tools
Only entertainment software
Hardware repair services
What does the OS handle during program execution?
Loading data into memory and scheduling
Writing new processors
Creating internet connections
How does the OS provide access to I/O devices?
By providing a uniform interface for operations
By letting hardware run without control
By disabling unused devices
What does the OS do to control access to files?
Provides protection mechanisms for file access
Deletes files automatically
Encrypts all files permanently
How does the OS detect errors?
By identifying device failures and software errors
By manually asking users
By reformatting the system
What is the purpose of performance parameter monitoring in an OS?
To collect usage statistics and improve performance
To slow down system speed
To delete unnecessary files
What does the Instruction Set Architecture (ISA) define?
The collection of machine language instructions
The list of software licenses
The design of user interfaces
What is the Application Binary Interface (ABI) used for?
Defining binary portability across programs
Encrypting system files
Printing application outputs
What does the Application Program Interface (API) allow?
Access to hardware resources and services
Creation of new processors
Direct editing of kernel memory
How does the OS function as a resource manager?
By allocating processor time and resources
By manufacturing new chips
By removing unused files
Why do operating systems evolve over time?
Hardware upgrades, new services, and fixing faults
To reduce compatibility
To increase bugs intentionally
What are the main problems of serial processing?
Scheduling issues and set-up time for program execution
Too many GUIs
Lack of internet access
What was developed to improve processor utilization in the mid-1950s?
Batch operating systems
Cloud systems
Web browsers
What is the role of the monitor in batch processing?
To provide automatic job sequencing
To create user interfaces
To generate computer viruses
How does a multi-programmed batch system differ from a single-programmed system?
It keeps several jobs in main memory
It runs only one job at a time
It removes memory management
What is the function of a time-sharing system?
Allows multiple users to access the system simultaneously
Deletes processes after execution
Restricts computer use to one person only
What happens if there are n users in a time-sharing system?
Each user gets 1/n of compute capacity
Each user gets 100% compute capacity
Only one user can access at a time
What is a process in operating systems?
A program in execution
A hardware device
A file saved on disk
What was the first time-sharing operating system developed?
Compatible Time-sharing System (CTSS)
MS-DOS
Linux
What is an instance of a program running on a computer called?
A process
A thread
A file
What are the major theoretical advances in operating systems?
Processes, memory management, protection & security, scheduling/resource management
Only GUI design
Internet protocols
How can a process be characterized?
By its identifier, state, and resources
By its hardware type only
By its GUI
What was the initial name used by Microsoft for its operating environment?
Windows
MS-GUI
MicroOS
What are the two essential elements of a process?
Program code and associated data
Only hardware
Only user input
What is the unique identifier for each process called?
Identifier
Address bus
Kernel number
How does Windows separate core OS software from application software?
By running core software in kernel-mode
By combining them into one program
By storing them in the same folder
What does the process state indicate?
The current activity of a process
The size of the hard drive
The number of users
What is the architecture of Windows OS described as?
Highly modular architecture
Monolithic with no separation
Single-tasking only
What are the possible states of a process?
New, Ready, Running, Waiting, Terminated
Sleep, Wake, Boot, Crash
On, Off, Restart
What are the functions of the Windows Executive?
I/O manager, cache manager, object manager, plug-and-play, power manager, security monitor, virtual memory, process/thread manager, configuration manager
Web browser, calculator, paint app
Hardware drivers only
What does the 'Ready' state mean?
The process is waiting to be assigned to a processor
The process has finished execution
The process is permanently blocked
What does the I/O manager in Windows Executive do?
Provides access framework for I/O devices
Designs CPU chips
Creates antivirus programs
What does the 'Running' state indicate?
The instructions are being executed
The process is stored on disk
The process is deleted
What is the role of the cache manager in Windows OS?
Improves performance of file-based I/O
Deletes old files
Cleans viruses
What happens in the 'Waiting' state?
The process is waiting for a particular event
The process is executing instructions
The process is deleted from memory
What does the object manager in Windows Executive manage?
Windows Executive objects like processes and threads
Only internet connections
User-created files
What does the 'Terminated' state signify?
The process has finished execution
The process is ready for execution
The process is in memory
What is the priority of a process?
Its priority level relative to others
Its memory size
Its network speed
What does the plug-and-play manager do?
Loads drivers for specific devices
Designs processors
Deletes unused devices
What does the program counter indicate?
The address of the next instruction to execute
The number of CPUs in the system
The total storage left
What is the function of the power manager in Windows OS?
Coordinates power consumption among devices
Removes hardware from the system
Cleans unused drivers
What does the security reference monitor enforce?
Access validation and audit-generation rules
Creation of viruses
Removal of all passwords
What is the purpose of the memory pointer?
It contains pointers to program codes and data
It displays memory temperature
It stores hardware addresses only
What does the virtual memory manager manage?
Virtual addresses, physical memory, and paging files
Internet history
Device drivers only
What is context data in a process?
Data in a processor's registers during execution
Data stored on a flash drive
Data from the internet
What does I/O status information include?
Information about input/output status of a process
Number of users in the system
Amount of memory left
What does the process/thread manager do?
Creates, manages, and deletes processes and threads
Builds GUIs
Controls network settings
What is the role of the configuration manager in Windows OS?
Manages the system registry for settings
Deletes user files
Creates application shortcuts
What is accounting information in a process?
Tracking info like processor time and limits
Usernames and passwords
Storage capacity
What is a process control block?
A data structure containing process information
A hardware chip
A file system driver
Why is the process control block important?
It allows interruption and resumption of processes
It increases system speed only
It stores files permanently
What does the two-state process model consist of?
Running state and not running state
Sleep and wake states
Open and closed states
What happens in the not running state?
The process waits for an opportunity to execute
The process is deleted permanently
The process is already running
What is the role of the plug-and-play manager?
Determines and loads required drivers
Deletes user files automatically
Designs new processors
How does the dispatcher select a process to run?
It scans for a non-blocked process in the queue
It always runs the first process only
It randomly chooses a process
How does the power manager function in an operating system?
Coordinates power consumption and reduces idle power
Deletes unused files
Increases CPU temperature
What is the five-state process model?
A model with New, Ready, Running, Blocked, Exit states
A model with only On and Off states
A model with Boot, Crash, Restart
What is the purpose of the virtual memory manager?
Manages virtual addresses and physical memory
Deletes corrupted files
Controls user logins
What does the Blocked state mean?
A process cannot execute until an event occurs
The process is completed
The process is already running
What is the Exit state in a process model?
A process released from executable processes
A process waiting to run
A process that never ends
What are the possible state transitions in a five-state model?
New to Ready, Running to Exit, Blocked to Ready
Boot to Crash, Crash to Restart
Shutdown to Restart
What is the function of the configuration manager?
Manages the system registry for settings
Deletes unused hardware
Cleans internet history
What does the Advanced Local Procedure Call (ALPC) facility implement?
Efficient cross-process call mechanism
Remote internet control
File encryption
What is a suspended process?
A process not immediately available for execution
A deleted program
A hardware fault
What is the role of the Windows Kernel?
Controls execution of processors and manages threads
Creates GUIs for users
Stores documents
Who can place a process in a suspended state?
The process itself, a parent process, or the OS
Only the end user
Only the hardware
What does the hardware abstraction layer (HAL) do?
Isolates OS from hardware variances
Creates drivers automatically
Deletes unused memory
What does an operating system control?
All events within a computer system
Only mouse and keyboard
Only internet connectivity
What are device drivers in the Windows OS?
Dynamic libraries extending Windows Executive functionality
Antivirus software
Hardware chips
What does the OS allocate to different processes?
Resources such as processor and memory
Usernames and passwords
External devices
What does the windowing and graphing system implement?
Graphical user interface (GUI)
Network protocols
Hardware bus design
What types of tables does an OS maintain?
Memory, I/O, File, and Process tables
Spreadsheet tables
Music playlists
What do memory tables track?
Main and secondary memory allocations
Usernames and passwords
Network IP addresses
What are the types of user-mode processes in Windows?
Special system processes, service processes, environment subsystems, user applications
Antivirus programs only
Hardware-only modules
Where was the classic UNIX system developed?
Bell Labs
MIT
Microsoft
What do I/O tables manage?
Input and output devices and channels
Video games
Cloud applications
What do file tables hold information about?
Existence of files and their attributes
CPU registers
Internet speed
What was the original name of the classic UNIX system?
Uniplexed Information and Computing Service (UNICS)
LinOS
MultiSoft
What is included in process location?
A program and its corresponding data locations
Internet IP addresses
Device drivers
What are the three levels of classic UNIX architecture?
User level, hardware level, system kernel
BIOS, CPU, RAM
GUI, apps, hardware
What is a process control block also known as?
Process image
Hardware unit
Registry file
What does the shell in classic UNIX support?
System calls from applications and interface software
Internet browsing
Hardware repair
What does the OS need to know for process execution?
The location of each process on the disk
The battery level
The network speed
How does the classic UNIX system handle concurrent access?
It lacks protection for data structures
It encrypts all data
It blocks multiple users
What are the three categories of information in a process control block?
Process identification, processor state, control information
GUI info, internet speed, user photos
File name, file type, file size
What led to the development of the modern UNIX system?
Need for unifying innovations and modern design features
Need for better video games
Creation of Windows OS
What does process identification involve?
Unique numeric identifiers for processes
Usernames and passwords
File types
What role did the Berkeley Software Distribution (BSD) play in UNIX?
Influenced UNIX OS design theory and products
Created only games
Made CPUs
What is processor state information?
Information in processor registers during execution
Disk space available
Internet connections
What are the features of System V Release 4 (SVR4)?
Real-time processing, scheduling classes, dynamic structures, virtual memory, preemptive kernel
Only GUI design
Antivirus protection
What does process control information contain?
Data structure, resource ownership, and privileges
Battery info
Display settings
Who developed the Linux operating system?
Linus Torvalds
Bill Gates
Steve Jobs
Why is the process control block crucial?
It contains all necessary information about a process
It cleans disk space
It manages internet speed
What is a key characteristic of Linux as an operating system?
Free open-source and highly modular
Only for paid users
Works only on phones
What are the two modes of execution in processors?
User mode and kernel mode
Boot and shutdown mode
Run and stop mode
What are loadable modules in Linux?
Independent blocks that can be loaded/unloaded
Games preinstalled in OS
Hardware units
What is user mode?
Less-privileged mode for user programs
Full-access hardware mode
Kernel-only execution
What are the two vital characteristics of Linux loadable modules?
Dynamic linking and stackable modules
Internet access and GUI
Encryption and deletion
What is kernel mode?
More-privileged mode with complete control
Restricted mode for apps
Internet-only mode
What are the kernel components of the Linux OS?
Signals, system calls, processes, scheduler, memory, file systems, network protocols, drivers, interrupts
GUI, browser, games
CPU, RAM, monitor
Why are certain instructions restricted to kernel mode?
To protect the OS from user program interference
To increase speed
To delete old files
What is the Android operating system based on?
Linux
Windows
DOS
What happens during process creation?
The OS builds a data structure for the process
The system deletes unused files
The computer restarts
What does the Android OS rely on its Linux-based kernel for?
Core system services like security and memory management
Gaming performance only
GUI only
What is the first step in process creation?
Assign a unique process identifier
Allocate internet bandwidth
Delete user files
Who initiated the development of the Android OS?
Android, Inc.
Microsoft
Apple
What does process switching involve?
Interrupts or traps to regain control
Internet connection reset
Hardware failure
