System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q1281: Dynamic memory is primarily needed when working with _______.
- A: static arrays
- B: constant variables
- C: dynamic data structures
- D: inline functions
View Answer
C
Q1282: Which of the following are examples of dynamic data structures?
- A: Arrays and strings
- B: Search tables and trees
- C: Constants and macros
- D: Header files
View Answer
B
Q1283: Which API set is used by Windows for dynamic memory allocation?
- A: File APIs
- B: DLL APIs
- C: Memory APIs
- D: Thread APIs
View Answer
C
Q1284: Memory mapped files allow direct data movement between _______.
- A: CPU and GPU
- B: User space and files
- C: Drivers and kernel
- D: Registers and stack
View Answer
B
Q1285: Memory mapped files are treated like ______ in Windows.
- A: Hardware ports
- B: Pointers to arrays
- C: Memory
- D: Cache
View Answer
C
Q1286: One benefit of memory mapped files is _______.
- A: Increased disk usage
- B: Faster file handling
- C: Reduced memory speed
- D: Higher CPU load
View Answer
B
Q1287: Memory mapped files eliminate the need for ______ to access file data.
- A: Threading APIs
- B: Cache lookup
- C: File APIs
- D: Network interfaces
View Answer
C
Q1288: Windows allows memory to be ______ between processes.
- A: hidden
- B: shared
- C: locked
- D: terminated
View Answer
B
Q1289: Win32 API uses pointers of size ______ bits.
- A: 16
- B: 32
- C: 64
- D: 128
View Answer
B
Q1290: Win64 API provides virtual space up to ______.
- A: 2^16
- B: 2^32
- C: 2^64
- D: 2^128
View Answer
C