12 questions with answers
Question 1 of 12
Which of the following best describes the main role of an operating system?
Show answer
Answer: A. It manages hardware and software resources and provides services to programs
The operating system controls the processor, memory, devices and files so that applications can run.
Question 2 of 12
Restarting a computer that is already switched on, without turning off its power, is called what?
Show answer
Answer: A. Warm boot
A warm boot restarts the system while powered, whereas a cold boot starts it from the off state.
Question 3 of 12
When an operating system spends most of its time moving pages between RAM and disk instead of doing useful work, the condition is called what?
Show answer
Answer: D. Thrashing
Thrashing happens when memory is badly over-committed and page faults occur constantly.
Question 4 of 12
What is the process of starting a computer and loading its operating system called?
Show answer
Answer: A. Booting
Booting loads the operating system into memory so the computer becomes ready for use.
Question 5 of 12
Which central part of an operating system manages the processor, memory and devices and has full control of the system?
Show answer
Answer: A. Kernel
The kernel is the core of the operating system and mediates between software and hardware.
Question 6 of 12
Two processes each hold a resource and wait for the one held by the other, so neither can continue. What is this called?
Show answer
Answer: C. Deadlock
In a deadlock a circular wait means none of the processes involved can ever proceed.
Question 7 of 12
An interface in which the user types text commands is called what?
Show answer
Answer: A. Command-line interface
A command-line interface takes typed commands instead of clicks on icons and menus.
Question 8 of 12
Which part of an operating system accepts a user's commands and passes them on to be carried out?
Show answer
Answer: B. Shell
A shell is the user-facing interface, either command-line or graphical, to operating system services.
Question 9 of 12
What is a context switch in an operating system?
Show answer
Answer: C. Saving the state of one process and loading that of another so the CPU can change tasks
The saved state lets each process later resume exactly where it stopped.
Question 10 of 12
Which part of a file name, such as ".docx", usually indicates the type of file?
Show answer
Answer: B. Extension
The extension tells the system and the user which kind of program can open the file.
Question 11 of 12
A program that is being executed, together with its current state, is called what?
Show answer
Answer: C. Process
A process is a running instance of a program with its own memory and execution state.
Question 12 of 12
A low-priority process waits indefinitely because higher-priority processes keep arriving. What is this problem called?
Show answer
Answer: C. Starvation
Starvation is indefinite postponement, and ageing the priority is a common remedy.
These are practice questions, not official or past papers. They may contain mistakes.
More Computer topics
Tests that include Computer