System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q3471: Waiting in synchronization involves ________.
- A: CPU optimization
- B: time sharing
- C: expensive operations
- D: parallel execution
View Answer
C
Q3472: Kernel operations are required for ________.
- A: heap allocation
- B: thread destruction
- C: locking
- D: garbage collection
View Answer
C
Q3473: One thread executing critical section at a time reduces ________.
- A: data redundancy
- B: concurrency
- C: execution time
- D: stack usage
View Answer
B
Q3474: Critical sections executed by a single thread cause ________.
- A: full parallelism
- B: partial buffering
- C: almost serialization
- D: excess memory usage
View Answer
C
Q3475: When multiple processes compete for memory and cache, ________ may occur.
- A: performance optimization
- B: unexpected effects
- C: correct scheduling
- D: smooth execution
View Answer
B
Q3476: Synchronization methods can cause delays due to ________.
- A: redundant threads
- B: parallelism
- C: interlocked efficiency
- D: locking and waiting
View Answer
D
Q3477: Only one ________ can execute a critical code section at a time.
- A: thread
- B: function
- C: class
- D: process
View Answer
A
Q3478: Locking in synchronization typically involves ________ operations.
- A: user-level
- B: kernel-level
- C: inline
- D: register-level
View Answer
B
Q3479: Waiting during synchronization is considered an ________ action.
- A: expensive
- B: invisible
- C: automatic
- D: irrelevant
View Answer
A
Q3480: Unexpected effects may arise when processes compete for ________.
- A: stack space
- B: input devices
- C: disk space
- D: memory and cache
View Answer
D