System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q3071: Some produced messages may never be used and may be ________.
- A: saved
- B: logged
- C: lost
- D: repeated
View Answer
C
Q3072: Displayed data must always be the ________ message.
- A: first
- B: oldest
- C: most recent
- D: unused
View Answer
C
Q3073: The producer and consumer threads share access to a common ________.
- A: object
- B: log
- C: table
- D: device
View Answer
C
Q3074: The role of critical section (CS) is to prevent ________ access.
- A: sequential
- B: parallel
- C: unordered
- D: concurrent
View Answer
D
Q3075: If checksum mismatches, it indicates ________ message contents.
- A: invalid
- B: updated
- C: correct
- D: encrypted
View Answer
A
Q3076: The Producer-Consumer solution described is a ________ version.
- A: complete
- B: random
- C: complex
- D: simplistic
View Answer
D
Q3077: Displaying old data in the consumer thread is considered ________.
- A: secure
- B: invalid
- C: efficient
- D: acceptable
View Answer
B
Q3078: The CS ensures that producer and consumer access is ________.
- A: parallel
- B: synchronized
- C: conflicting
- D: random
View Answer
B
Q3079: In the described version, the consumer thread must not display ________ data.
- A: old
- B: new
- C: updated
- D: empty
View Answer
A
Q3080: A message may be lost if it is not ________ by the consumer.
- A: requested
- B: updated
- C: displayed
- D: checked
View Answer
C