System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q171: Every parameter in a Windows API
- A: has no use
- B: is optional
- C: has a specific significance
- D: is a string
View Answer
C
Q172: ‘HANDLE’ in Windows API represents
- A: Memory size
- B: Pointer
- C: Reference to object
- D: Array ID
View Answer
C
Q173: Windows avoids the use of ______ operator in its data types
- A: &
- B: *
- C: %
- D: #
View Answer
B
Q174: Hungarian notation uses
- A: Capital suffixes
- B: Pointer names
- C: Lowercase prefix letters
- D: Data logs
View Answer
C
Q175: All Windows API prototypes and types are included through
- A: #include
- B: #include
- C: #include
- D: #include
View Answer
B
Q176: A Windows object can only be accessed through
- A: Static function
- B: Socket
- C: Pipe
- D: API
View Answer
D
Q177: When a thread accesses a Windows object incorrectly
- A: Permission is granted
- B: Windows allows it
- C: Exception is thrown
- D: Error is ignored
View Answer
C
Q178: To perform multithreading, Windows uses
- A: Schedulers
- B: Pipelines
- C: Constructs for synchronization
- D: Error handlers
View Answer
C
Q179: Windows APIs can manipulate
- A: a single object in one way
- B: a single object in multiple ways
- C: only memory
- D: external devices
View Answer
B
Q180: Synchronization constructs in Windows help
- A: in threading and resource control
- B: in GUI development
- C: in pointer allocation
- D: in variable naming
View Answer
A