Question 1
What is a process in an operating system?
A block of code stored on disk
A function in the OS
A program in execution
A thread waiting for CPU
Question 2
Which section of process memory holds executable instructions?
Stack
Data
Heap
Text
Question 3
Where are function parameters and local variables stored in memory?
Heap
PCB
Stack
Data segment
Question 4
What is the main purpose of the Process Control Block (PCB)?
Stores only file descriptors
Holds all key info about a process
Identifies deadlocks
Only tracks process memory
Question 5
Which process state refers to a process waiting for I/O?
Ready
Running
Suspended Ready
Waiting (or Blocked)
Question 6
Which system call is used in UNIX/Linux to create a new process?
exec()
fork()
createProcess()
exit()
Question 7
In a single processor system, how many processes can be in the Running state at a time?
0
1
2
Unlimited
Question 8
Which criterion refers to the number of processes completed per unit time?
Turnaround time
Response time
Throughput
Waiting time
Question 9
Turnaround time is calculated as:
Completion time – Arrival time
Waiting time + CPU burst time
Start time – Arrival time
Completion time – Waiting time
Question 10
What scheduling criterion should be minimized for batch systems?
Response time
Turnaround time
Context switches
Arrival time
There are 10 questions to complete.