System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q1301: In Win64, the pointer size is ______.
- A: 4 bits
- B: 8 bits
- C: 16 bits
- D: 64 bits
View Answer
B
Q1302: Shared memory between processes reduces duplication of ______.
- A: Code
- B: Memory resources
- C: Instructions
- D: Drivers
View Answer
B
Q1303: _________ helps Windows applications run on both 32-bit and 64-bit systems.
- A: Thread safety
- B: Platform independence
- C: Code duplication
- D: Multi-threading
View Answer
B
Q1304: ________ APIs provide support for dynamic memory allocation in Windows.
- A: Socket
- B: File
- C: Windows memory
- D: Thread
View Answer
C
Q1305: ________ is the reason dynamic memory is preferred over static memory in some cases.
- A: Fixed allocation
- B: Faster compilation
- C: Structure flexibility
- D: Hardware dependency
View Answer
C
Q1306: ________ eliminates the use of conventional file access techniques.
- A: Static allocation
- B: Memory sharing
- C: Memory mapped files
- D: System paging
View Answer
C
Q1307: Which of the following data structures increases the need for dynamic memory?
- A: Arrays
- B: Stacks
- C: Queues
- D: Linked lists
View Answer
D
Q1308: What API does Windows provide for dynamic memory allocation?
- A: WinZip
- B: WinAlloc
- C: Windows API
- D: Set of Windows APIs
View Answer
D
Q1309: Memory mapped files in Windows allow direct movement of data between
- A: Registers and memory
- B: File system and cache
- C: User space and files
- D: Cache and disk
View Answer
C
Q1310: Which feature of memory mapped files makes file handling faster?
- A: Files are zipped
- B: Files are cached
- C: Files are treated like memory
- D: Files are encrypted
View Answer
C