What does an operating system manage?
A Computer hardware and services
B Only web pages
C Database table schemas
D Network cabling alone
Answer: A. Computer hardware and services. An operating system manages hardware resources and provides services to programs.
What is the kernel?
A A user application
B A file system folder
C Core of the operating system
D A network packet
Answer: C. Core of the operating system. The kernel manages central OS functions such as scheduling and memory.
What does user mode restrict?
A Ordinary arithmetic
B Reading local variables
C Privileged hardware operations
D Calling library functions
Answer: C. Privileged hardware operations. User mode limits direct access to privileged instructions and devices.
What can kernel mode do?
A Execute privileged instructions
B Run only browser code
C Access no memory
D Avoid hardware devices
Answer: A. Execute privileged instructions. Kernel mode permits privileged operations needed for operating system services.
What is a process?
A Program in execution
B A source code file
C A processor core
D A scheduled disk block
Answer: A. Program in execution. A process is an executing program with its resources and state.
What is a thread?
A A separate disk partition
B A process identifier only
C Execution path within a process
D A compiled library
Answer: C. Execution path within a process. Threads are execution units that share much of a process's address space.
What does a process control block store?
A Only source code text
B Process management information
C File system data blocks
D Network routing tables
Answer: B. Process management information. The PCB stores information such as process state, registers, and scheduling data.
What is a context switch?
A Restart the operating system
B Copy every file to disk
C Change user password
D Save and restore task state
Answer: D. Save and restore task state. A context switch changes the CPU from one execution context to another.
What is a system call?
A A hardware clock signal
B Request for OS service
C A compiler warning
D A database query
Answer: B. Request for OS service. A system call lets a program request a service from the operating system.
What is an interrupt?
A A finished source file
B An unused memory page
C A scheduled program only
D Signal needing processor attention
Answer: D. Signal needing processor attention. An interrupt signals an event that needs processor or OS attention.
What is a trap commonly caused by?
A External keyboard signal only
B Synchronous program event
C Disk formatting
D Power supply failure
Answer: B. Synchronous program event. A trap is a synchronous event such as an exception or system call.
What is a time sharing system designed to do?
A Run one batch forever
B Store files without permissions
C Share CPU among interactive users
D Compile only one program
Answer: C. Share CPU among interactive users. Time sharing allocates CPU time among users or tasks to support interaction.
What is multiprogramming intended to improve?
A Screen resolution
B CPU utilization
C Disk formatting
D Source code readability
Answer: B. CPU utilization. Multiprogramming keeps other work ready while one job waits for I/O.
What does multitasking provide?
A One program with no scheduling
B Interleaved task execution
C Only background storage
D Hardware without drivers
Answer: B. Interleaved task execution. Multitasking lets multiple tasks make progress through CPU scheduling.
What is a scheduler responsible for?
A Translating source files
B Selecting work to run
C Allocating file names only
D Encrypting every memory page
Answer: B. Selecting work to run. A scheduler chooses processes or threads for execution.
What is a ready process?
A Waiting for input event
B Currently on disk only
C Ready, awaiting CPU time
D Already terminated
Answer: C. Ready, awaiting CPU time. A ready process can execute but is waiting for processor time.
What is a blocked process?
A Using CPU right now
B Ready for immediate execution
C Finished all instructions
D Waiting for event or resource
Answer: D. Waiting for event or resource. A blocked process cannot continue until an event or resource becomes available.
What is a process state transition?
A A file system rename
B A change in program language
C A memory address calculation
D Change in execution status
Answer: D. Change in execution status. A process moves among states such as ready, running, blocked, and terminated.
What does a boot loader do?
A Schedules user threads
B Formats every disk
C Starts loading the operating system
D Runs application queries
Answer: C. Starts loading the operating system. A boot loader locates and loads the operating system during startup.
What is a device driver?
A Software that controls a device
B A hardware power cable
C A user process scheduler
D A database index
Answer: A. Software that controls a device. A driver translates OS requests into device specific operations.
What is a batch operating system suited for?
A Jobs processed without interaction
B Continuous interactive gaming
C Real time flight control only
D Manual paper records
Answer: A. Jobs processed without interaction. Batch systems process collected jobs with little or no user interaction during execution.
What is a real time operating system designed to meet?
A Timing deadlines
B Unlimited storage
C Maximum visual quality
D Random task order
Answer: A. Timing deadlines. Real time systems aim to respond within specified timing constraints.
What is a graphical user interface?
A A processor scheduling policy
B A memory page table
C A command line shell only
D Visual interaction with system
Answer: D. Visual interaction with system. A GUI lets users interact through visual elements such as windows and icons.
What is a command line interface?
A Text based command interaction
B A file allocation table
C A memory protection bit
D An interrupt controller
Answer: A. Text based command interaction. A CLI accepts text commands typed or sent by a user or program.
What is an OS service?
A An electrical circuit
B A fixed source code value
C A compiler data type
D Capability provided to programs
Answer: D. Capability provided to programs. Operating systems provide services such as process, file, and device management.