System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q1811: Side-by-side DLLs allow _______.
- A: simultaneous use of multiple versions
- B: replacement of old DLLs
- C: runtime DLL encryption
- D: hardware-level debugging
View Answer
A
Q1812: The field dwMinorVersion represents _______.
- A: platform compatibility
- B: minor version number
- C: file path
- D: hash value
View Answer
B
Q1813: Applications that don’t specify version requirements may link to _______.
- A: newer DLLs only
- B: older DLLs only
- C: any available DLL
- D: optimized DLL
View Answer
C
Q1814: Changing the interface of a DLL may cause _______ in legacy applications.
- A: improvement
- B: performance gain
- C: compatibility issues
- D: correctness
View Answer
C
Q1815: What is a thread in Windows process management?
- A: A type of data
- B: An individual program
- C: A unit of execution within a process
- D: A kernel file
View Answer
C
Q1816: Each process in Windows has its own _______.
- A: network connection
- B: code base
- C: shared memory
- D: virtual address space
View Answer
D
Q1817: Processes in Windows can share which of the following?
- A: Registers only
- B: Memory and files
- C: Address space and registers
- D: Threads and stacks
View Answer
B
Q1818: From a programmer's perspective, a Windows process includes one or more _______.
- A: Stacks only
- B: Code and data segments only
- C: Registers only
- D: Devices and tools
View Answer
B
Q1819: Which component holds environment variables like the current path?
- A: Stack
- B: Environment block
- C: Thread context
- D: Thread storage
View Answer
B
Q1820: Thread Local Storage (TLS) in a thread is used for what purpose?
- A: Storing passwords
- B: Permanent data storage
- C: Unique data environment for the thread
- D: Sharing data with other threads
View Answer
C