Hey Guys welcome to CSE Study247,Today I am Provide you Operating System Questions & Answers [Processes]
This page provide you Operating system multiple choice question with answer that is very useful for Semester , DRDO , ISRO , Banking , Railway Exam.
Q.1 A program in execution is called?
A)
Process
B)
Software
C)
Compiler
D)
Application
Discuss it
Explanation
A process is an instance of a computer program that is being executed.
View Solution
Q.2 A program is an --- entity.
A)
Active
B)
Passive
C)
Both A & B
D)
None
Discuss it
Explanation
A program is a passive entity (like a file on disk), while a process is an active entity with a program counter.
View Solution
Q.3 Process is?
A)
Software
B)
A Program in execution
C)
Contents of main memory
D)
None
Discuss it
Explanation
A process is fundamentally defined as a program currently being executed by the CPU.
View Solution
Q.4 Which system call is used in unix to terminate the execution of process?
A)
Fork
B)
Create
C)
Exit
D)
Exe
Discuss it
Explanation
The exit() system call is used by a process to terminate its own execution and return control to the parent process or OS.
View Solution
Q.5 Which of the following does not interrupt the running process?
A)
Timer interrupt
B)
Power failure
C)
Scheduler process
D)
None
Discuss it
Explanation
Timer interrupts and power failures are hardware-driven interrupts that halt a process; the scheduler is a kernel function that manages process states but isn't an interrupt signal itself.
View Solution
Q.6 A program is an active entity.
A)
True
B)
False
C)
May be
D)
None
Discuss it
Explanation
False. A program is a passive set of instructions; the process is the active execution of those instructions.
View Solution
Q.7 CPU performance is measured through?
A)
Hit ratio
B)
Throughput
C)
MHz
D)
None
Discuss it
Explanation
Throughput, the number of processes completed per unit of time, is a common measure of CPU scheduling performance.
View Solution
Q.8 ---- is used to store temporary data for process?
A)
Data Section
B)
Stack
C)
Heap
D)
Program Counter
Discuss it
Explanation
The process stack contains temporary data such as function parameters, return addresses, and local variables.
View Solution
Q.9 --- Memory that is dynamically allocated during process execution?
A)
Data Section
B)
Stack
C)
Heap
D)
Program Counter
Discuss it
Explanation
The heap is a block of memory used for dynamic allocation during the runtime of a process.
View Solution
Q.10 A process stack does not contain?
A)
Local variable
B)
Function parameters
C)
PID of child process
D)
Return addresses
Discuss it
Explanation
Local variables, parameters, and return addresses are stored on the stack. The Process ID (PID) of a child is typically stored in the Process Control Block (PCB).
View Solution
Q.11 A process structure does not contain
A)
Code
B)
stack
C)
Data
D)
Bootstrap program
Discuss it
Explanation
A process consists of code, stack, heap, and data. The bootstrap program is used to start the computer and is not part of a standard user process.
View Solution
Q.12 Why is CPU Scheduling done
A)
Increase CPU Utilisation
B)
Decrease CPU Utilisation
C)
Decrease cost
D)
None
Discuss it
Explanation
CPU scheduling is performed to keep the CPU as busy as possible, thereby maximizing its utilization.
View Solution
Q.13 The most optimal CPU scheduling algorithm is
A)
Shortest job first
B)
First come first serve
C)
Round robin
D)
None
Discuss it
Explanation
Shortest Job First (SJF) is considered optimal because it results in the minimum average waiting time for a specific set of processes.
View Solution
Q.14 Which of the following is not process state?
A)
New
B)
Running
C)
Ready
D)
Finished
Discuss it
Explanation
Standard process states are New, Ready, Running, Waiting, and Terminated. 'Finished' is not a formal state name.
View Solution
Q.15 Which of the following is not the state of process
A)
New
B)
Old
C)
Waiting
D)
Running
Discuss it
Explanation
'Old' is not a valid state in the standard process state model.
View Solution
Q.16 The state of a process is defined by
A)
The final activity of the process
B)
The activity just executed by the process
C)
The activity to next be executed by the process
D)
The current activity of the process
Discuss it
Explanation
The state of a process reflects what the process is currently doing (e.g., waiting for I/O, executing on the CPU).
View Solution
Q.17 What is the ready state of a process?
A)
When process is scheduled to run after some execution
B)
When process is unable to run until some task has been completed
C)
When process is using the CPU
D)
None
Discuss it
Explanation
In the ready state, a process is loaded into main memory and is waiting for the CPU to start its execution.
View Solution
Q.18 Running multiple programs at the same time is called:
A)
Multitasking
B)
Foreground tasking
C)
Single tasking
D)
None
Discuss it
Explanation
Multitasking is the concurrent execution of multiple tasks (processes) over a certain period of time.
View Solution
Q.19 Only state transition that is initiated by the user process itself is?
A)
Dispatch
B)
Block
C)
Backup
D)
None
Discuss it
Explanation
A process blocks itself when it initiates an I/O request and must wait for the result.
View Solution
Q.20 Suppose that a process is in ‘BLOCKED’ state waiting for some I/O service. When the service is completed, it goes to the
A)
Ready state
B)
Block State
C)
Running State
D)
Terminated state
Discuss it
Explanation
When a blocked process finishes its I/O or the event it was waiting for occurs, it moves to the ready state to wait for CPU time.
View Solution