System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q1611: Static linking leads to _______ for each program using the same library.
- A: shared memory
- B: use of DLLs
- C: separate copy of library
- D: memory corruption
View Answer
C
Q1612: What type of linking occurs at program load time?
- A: Static linking
- B: Implicit linking
- C: Explicit linking
- D: Compiled linking
View Answer
B
Q1613: What type of linking allows a DLL to be loaded during execution?
- A: Implicit linking
- B: Deferred linking
- C: Static linking
- D: Explicit linking
View Answer
D
Q1614: In static linking, any update to a library function requires _______.
- A: restarting the system
- B: relinking the DLL
- C: recompiling the whole program
- D: editing the executable
View Answer
C
Q1615: DLLs reduce memory usage by allowing _______.
- A: disk swapping
- B: shared access to a single copy of the DLL
- C: a compressed executable
- D: no library usage
View Answer
B
Q1616: In Windows, DLLs are used to implement _______.
- A: compression algorithms
- B: database storage
- C: OS interfaces
- D: dynamic websites
View Answer
C
Q1617: Each program using a DLL gets its own copy of _______.
- A: code segment
- B: resource file
- C: global variables
- D: thread functions
View Answer
C
Q1618: Using DLLs enhances portability because _______.
- A: programs are smaller
- B: DLLs are compiled once and reused
- C: programs use less CPU
- D: the system performs automatic updates
View Answer
B
Q1619: A DLL runs in the same process space as the program that _______ it.
- A: executes
- B: calls
- C: downloads
- D: compiles
View Answer
B
Q1620: DLLs must be written to be _______ to ensure safe multi-threaded access.
- A: read-only
- B: high priority
- C: thread-safe
- D: clean
View Answer
C