WorksheetsQuiz 1 - Introduction to OS
Total questions: 10
Worksheet time: 5mins
An Operating System is best described as:
A. A compiler for C programs
B. A collection of software that manages hardware and provides services
C. A hardware device inside CPU
D. A web browser
In the computer system stack, OS lies between:
A. Compiler and assembler
B. User programs and hardware
C. Network and Internet
D. Mouse and keyboard
Which mode has complete access to hardware?
A. User mode
B. Kernel mode
C. Sleep mode
D. Safe mode
A trap instruction is executed mainly to:
A. Increase RAM size
B. Enter kernel mode to request OS service
C. Speed up CPU clock
D. Delete files securely
Which of the following can cause switch from user mode to kernel mode?
A. Interrupt
B. Trap
C. Exception (e.g., divide by zero)
D. All of the above
Why are user programs executed in user mode?
A. To make them faster than kernel code
B. To prevent programs from damaging OS and other programs
C. To force them to use Python
D. To increase storage space
Which of these is an OS service?
A. Error detection and response
B. Protection & security
C. Memory management
D. All of the above
“OS as Extended/Virtual Machine” means:
A. OS creates virtual reality
B. OS hides hardware complexity and provides easier interface
C. OS only works in cloud
D. OS is only a GUI
OS as a resource manager mainly means:
A. It repairs hardware
B. It makes CPU faster
C. It allocates resources fairly and prevents conflicts
D. It encrypts every file
Which statement is TRUE?
A. Concurrency always needs 2 CPUs
B. Parallelism always happens on 1 CPU
C. Parallelism requires at least two tasks running at the same instant
D. Concurrency and parallelism mean exactly same
