Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q3921: Assigning a thread to processor affinity improves
  • A: cache locality
  • B: processor temperature
  • C: thread priority
  • D: process creation time
View Answer
A

Q3922: Processor affinity can help in improving
  • A: performance by reducing cache misses
  • B: thread creation speed
  • C: process termination
  • D: speed of disk access
View Answer
A

Q3923: Processor affinity can exclude other threads
  • A: from a dedicated processor
  • B: from all processors
  • C: from the network
  • D: from the disk
View Answer
A

Q3924: Processor affinity is mostly controlled by
  • A: the kernel
  • B: user application
  • C: compiler
  • D: settings
View Answer
A

Q3925: What does the system affinity mask indicate?
  • A: processors configured on the system
  • B: processors used by a process
  • C: threads running on the system
  • D: memory allocation
View Answer
A

Q3926: Process affinity mask indicates
  • A: the processors that can be used by process threads
  • B: total system memory
  • C: the number of running threads
  • D: the number of active users
View Answer
A

Q3927: By default, the process affinity mask is
  • A: the same as the system affinity mask
  • B: different from the system mask
  • C: always zero
  • D: always one
View Answer
A

Q3928: Thread affinity mask is a
  • A: subset of the process affinity mask
  • B: total system mask
  • C: system affinity mask
  • D: unrelated to process mask
View Answer
A

Q3929: SetProcessAffinityMask function sets
  • A: the process affinity mask
  • B: thread affinity mask
  • C: system affinity mask
  • D: memory allocation mask
View Answer
A

Q3930: The new process affinity mask must be
  • A: a subset of the mask returned by GetProcessAffinityMask()
  • B: any random value
  • C: the full system mask
  • D: always zero
View Answer
A

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now