Select an answer, then check or reveal the explanation.
Question 1
Which statement about a process in memory is correct?
Correct answer: C
The stack stores temporary data including function parameters, return addresses, and local variables. The stack and heap can grow and shrink dynamically, while the text and data sections are generally fixed in size during execution.
Question 2
A running process issues an I/O request. What happens next?
Correct answer: B
When a running process requests I/O, it is placed in a waiting state or I/O wait queue. After the I/O completes, it returns to the ready state and waits for the scheduler to assign it to a CPU again.