Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q3691: Semaphore throttling can be used to reduce contention on which other resources?
  • A: Files and memory
  • B: Network bandwidth
  • C: Processor cache
  • D: Power supply
View Answer
A

Q3692: This semaphore throttling technique should be used with caution on Windows ________ due to new optimization techniques.
  • A: NT6 and later
  • B: NT4
  • C: Windows 7
  • D: Windows XP
View Answer
A

Q3693: Semaphore throttling involves using which synchronization mechanisms?
  • A: Critical Section and Mutex
  • B: Spinlocks
  • C: Atomic variables
  • D: Condition variables
View Answer
A

Q3694: Semaphore throttling serializes thread execution to avoid ________.
  • A: thread creation
  • B: thread deadlock
  • C: mutex contention
  • D: mutex starvation
View Answer
C

Q3695: The boss thread controlling semaphore count is an example of ________ management.
  • A: dynamic
  • B: resource
  • C: thread
  • D: process
View Answer
B

Q3696: Using semaphore throttling improves performance by limiting the number of threads entering the ________.
  • A: critical section
  • B: processor
  • C: cache
  • D: memory
View Answer
B

Q3697: Semaphore throttling applies to which areas besides threads?
  • A: files and memory
  • B: network and I/O
  • C: caches and buffers
  • D: user interface
View Answer
A

Q3698: A semaphore count set to 4 means that a maximum of ______ threads can enter the critical section simultaneously.
  • A: 2
  • B: 4
  • C: 8
  • D: 1
View Answer
B

Q3699: Which of the following is true about the worker thread in semaphore throttling?
  • A: It must wait on semaphore before critical section
  • B: It ignores semaphore count
  • C: It can enter critical section without restrictions
  • D: It does not release semaphore after critical section
View Answer
A

Q3700: Semaphore throttling technique is simple and can be incorporated into ________ programs.
  • A: existing
  • B: new
  • C: limited
  • D: multithreaded
View Answer
A

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now