COMP 3300 OPERATING SYSTEMS
MIDTERM STUDY GUIDE EXAM
UPDATED QUESTIONS AND CORRECT
ANSWERS.
What is a process in an operating system? - ANS A process is a program in execution, which
progresses sequentially.
What are the main components of a process? - ANS Text section (program code)
Program counter & registers (current activity)
Stack (temporary data like function parameters, return addresses, local variables)
Data section (global variables)
Heap (dynamically allocated memory)
Which of the following is NOT a component of a process?
Stack
Cache
Heap
Data section - ANS Correct Answer: Cache (Cache is part of CPU memory, not a process
component.)
What are the main topics covered in process management? - ANS Process Concept
Process Scheduling
1 @COPYRIGHT 2025/2026 ALLRIGHTS RESERVED
, Operations on Processes
Interprocess Communication (IPC)
Client-Server Communication
What are the two primary types of Interprocess Communication (IPC)? - ANS Shared Memory
Message Passing
In shared-memory IPC, where do processes communicate?
Through system calls
Through the file system
By accessing a common memory segment
Through the CPU registers - ANS Correct Answer: By accessing a common memory segment
How does message-passing IPC differ from shared-memory IPC? - ANS Message Passing:
Processes exchange data via system calls using the OS as an intermediary.
Shared Memory: Processes communicate by directly reading/writing to a shared memory
segment.
What is the purpose of process scheduling? - ANS To determine which processes should run
and in what order, optimizing CPU utilization and responsiveness.
What are some key operations on processes? - ANS Process creation
Process termination
Process execution scheduling
How do client-server systems communicate? - ANS Using sockets and remote procedure calls
(RPCs).
Which of the following is a method of client-server communication?
2 @COPYRIGHT 2025/2026 ALLRIGHTS RESERVED
MIDTERM STUDY GUIDE EXAM
UPDATED QUESTIONS AND CORRECT
ANSWERS.
What is a process in an operating system? - ANS A process is a program in execution, which
progresses sequentially.
What are the main components of a process? - ANS Text section (program code)
Program counter & registers (current activity)
Stack (temporary data like function parameters, return addresses, local variables)
Data section (global variables)
Heap (dynamically allocated memory)
Which of the following is NOT a component of a process?
Stack
Cache
Heap
Data section - ANS Correct Answer: Cache (Cache is part of CPU memory, not a process
component.)
What are the main topics covered in process management? - ANS Process Concept
Process Scheduling
1 @COPYRIGHT 2025/2026 ALLRIGHTS RESERVED
, Operations on Processes
Interprocess Communication (IPC)
Client-Server Communication
What are the two primary types of Interprocess Communication (IPC)? - ANS Shared Memory
Message Passing
In shared-memory IPC, where do processes communicate?
Through system calls
Through the file system
By accessing a common memory segment
Through the CPU registers - ANS Correct Answer: By accessing a common memory segment
How does message-passing IPC differ from shared-memory IPC? - ANS Message Passing:
Processes exchange data via system calls using the OS as an intermediary.
Shared Memory: Processes communicate by directly reading/writing to a shared memory
segment.
What is the purpose of process scheduling? - ANS To determine which processes should run
and in what order, optimizing CPU utilization and responsiveness.
What are some key operations on processes? - ANS Process creation
Process termination
Process execution scheduling
How do client-server systems communicate? - ANS Using sockets and remote procedure calls
(RPCs).
Which of the following is a method of client-server communication?
2 @COPYRIGHT 2025/2026 ALLRIGHTS RESERVED