0% found this document useful (0 votes)
24 views5 pages

Os MCQ Set

The document consists of multiple-choice questions (MCQs) related to operating systems, covering topics such as functions of an operating system, process management, memory management, and file systems. It includes questions about real-time operating systems, deadlocks, virtual memory, and device drivers, along with their respective answers. The content serves as a study guide for understanding key concepts in operating systems.

Uploaded by

Anish Srivastava
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views5 pages

Os MCQ Set

The document consists of multiple-choice questions (MCQs) related to operating systems, covering topics such as functions of an operating system, process management, memory management, and file systems. It includes questions about real-time operating systems, deadlocks, virtual memory, and device drivers, along with their respective answers. The content serves as a study guide for understanding key concepts in operating systems.

Uploaded by

Anish Srivastava
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Operating System MCQs

* Which of the following is NOT a function of an operating system?

a) Resource management

b) File management

c) Virus protection

d) Process management

* What is the primary goal of an operating system?

a) To make the computer hardware more expensive

b) To make the computer hardware easier to use

c) To allow only one application to run at a time

d) To complicate the interaction between the user and the hardware

* Which of the following is an example of a real-time operating system?

a) macOS

b) Windows 10

c) QNX

d) Ubuntu

* What is a process in the context of an operating system?

a) A program stored on disk

b) A program in execution

c) A hardware component

d) A type of memory

* What is the purpose of process scheduling?

a) To allocate memory to processes

b) To manage the execution of processes by the CPU

c) To handle input and output operations

d) To organize files and directories

* Which of the following scheduling algorithms can lead to starvation?


a) First-Come, First-Served (FCFS)

b) Shortest Job First (SJF)

c) Round Robin

d) Priority Scheduling (with fixed priorities)

* What is a deadlock?

a) A situation where a process terminates abnormally

b) A situation where two or more processes are blocked indefinitely, waiting for each
other

c) A type of memory error

d) A security breach in the system

* Which of the following is a necessary condition for a deadlock to occur?

a) Preemption

b) Mutual exclusion

c) Thrashing

d) Swapping

* What is the purpose of memory management in an operating system?

a) To manage the speed of the CPU

b) To allocate and deallocate memory to processes

c) To control the input and output devices

d) To provide security to the system

* What is virtual memory?

a) A type of very fast RAM

b) A technique that allows a process to execute even if it's not entirely in main memory

c) Memory that is physically located on the CPU

d) Read-only memory

* What is paging?

a) A memory management technique that divides memory into fixed-size blocks called
pages

b) A method of organizing files on a disk


c) A process scheduling algorithm

d) A technique for preventing deadlocks

* What is thrashing?

a) A state where the CPU spends most of its time swapping pages in and out of
memory

b) A type of disk failure

c) A very efficient memory management technique

d) A secure way of deleting files

* Which of the following is a file system?

a) RAM

b) CPU

c) NTFS

d) BIOS

* What is the purpose of a file system?

a) To manage the hardware components of the computer

b) To organize and manage files and directories on a storage device

c) To control the execution of processes

d) To provide a graphical user interface

* What is a directory (or folder) in a file system?

a) A physical storage location for data

b) A logical container for files and other directories

c) A type of executable file

d) A hardware component used for storage

* What is the role of the kernel in an operating system?

a) To provide user interface elements

b) To directly interact with the hardware and manage system resources

c) To run user applications

d) To manage network connections


* What is a system call?

a) A call made by the operating system to a user program

b) An interface provided by the operating system that allows user programs to request
services from the kernel

c) A call between different hardware components

d) A type of function within a user program

* Which of the following is a type of operating system structure where the kernel is
broken down into smaller, independent modules?

a) Monolithic kernel

b) Layered kernel

c) Microkernel

d) Distributed kernel

* What is the purpose of a device driver?

a) To manage the CPU's clock speed

b) To enable the operating system to communicate with hardware devices

c) To provide security features for the operating system

d) To manage the file system

* What is a shell in an operating system?

a) The core of the operating system

b) A command-line interpreter that allows users to interact with the operating system

c) A graphical user interface

d) A type of memory management unit

Answers:

* c) Virus protection

* b) To make the computer hardware easier to use

* c) QNX

* b) A program in execution

* b) To manage the execution of processes by the CPU

* d) Priority Scheduling (with fixed priorities)


* b) A situation where two or more processes are blocked indefinitely, waiting for each
other

* b) Mutual exclusion

* b) To allocate and deallocate memory to processes

* b) A technique that allows a process to execute even if it's not entirely in main
memory

* a) A memory management technique that divides memory into fixed-size blocks


called pages

* a) A state where the CPU spends most of its time swapping pages in and out of
memory

* c) NTFS

* b) To organize and manage files and directories on a storage device

* b) A logical container for files and other directories

* b) To directly interact with the hardware and manage system resources

* b) An interface provided by the operating system that allows user programs to request
services from the kernel

* c) Microkernel

* b) To enable the operating system to communicate with hardware devices

* b) A command-line interpreter that allows users to interact with the operating system

You might also like