System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q2581: The boss-worker model can be described as one boss and many ______.
- A: clients
- B: servers
- C: workers
- D: files
View Answer
C
Q2582: In the client-server model, the server runs a separate thread for each ______.
- A: client
- B: file
- C: task
- D: thread
View Answer
A
Q2583: The pipeline model moves work sequentially from one thread to the ______.
- A: next
- B: previous
- C: boss
- D: worker
View Answer
A
Q2584: Which multithreaded model allows workers to divide work among themselves without boss direction?
- A: Work crew
- B: Client-server
- C: Pipeline
- D: Boss-worker
View Answer
A
Q2585: Most multithreaded models naturally correspond to the structure of ______ constructs.
- A: programming language
- B: operating system
- C: hardware
- D: threading
View Answer
A
Q2586: In a multiprocessing system, multiple processes can run ______.
- A: simultaneously
- B: sequentially
- C: independently
- D: exclusively
View Answer
A
Q2587: In the MergeSort example, a big array is divided into ______ parts for sorting.
- A: smaller
- B: larger
- C: equal
- D: unsorted
View Answer
A
Q2588: Which multithreading model is used in the MergeSort example?
- A: Boss-worker
- B: Client-server
- C: Work crew
- D: Pipeline
View Answer
C
Q2589: In the MergeSort example, each subarray is sorted using the function ______.
- A: qsort()
- B: mergesort()
- C: sort()
- D: partition()
View Answer
A
Q2590: The performance gain in MergeSort multithreading is better because the overhead of ______ is low.
- A: context switching
- B: memory allocation
- C: thread creation
- D: I/O operations
View Answer
A