System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q3661: Each thread typically reserves about how much memory space upon creation?
- A: 512KB
- B: 2MB
- C: 1MB
- D: 256KB
View Answer
C
Q3662: Excessive thread creation can result in
- A: less context switching
- B: memory optimization
- C: performance issues
- D: improved synchronization
View Answer
C
Q3663: Page faults during context-switching are caused due to
- A: parallel processing
- B: high memory access
- C: thread overload
- D: single threading
View Answer
C
Q3664: One of the drawbacks of reducing threads is
- A: loss of memory
- B: slow performance
- C: better I/O handling
- D: loss of parallelism and synchronization
View Answer
D
Q3665: Which optimization uses callback functions to reduce thread contention?
- A: Thread pools
- B: Mutex
- C: Semaphores
- D: Threads
View Answer
A
Q3666: Which of the following helps manage limited threads effectively?
- A: Semaphores
- B: Deadlocks
- C: Page faults
- D: Thread starvation
View Answer
A
Q3667: What type of I/O helps reduce thread contention?
- A: Synchronous
- B: I/O bound
- C: Asynchronous
- D: Delayed
View Answer
C
Q3668: Which Windows-based feature allows scalable thread management?
- A: Critical sections
- B: Thread counters
- C: I/O completion ports
- D: Busy waiting
View Answer
C
Q3669: OpenMP and Cilk++ are examples of
- A: thread types
- B: thread priorities
- C: third-party frameworks
- D: thread locks
View Answer
C
Q3670: Using APC (Asynchronous Procedure Calls) can help in
- A: thread delay
- B: thread synchronization
- C: reducing I/O
- D: thread creation overhead
View Answer
B