System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q141: Each API in Windows is associated with
- A: a process name
- B: A data file
- C: A list of parameters
- D: A thread ID
View Answer
C
Q142: For each API, how many parameters are required for any operation?
- A: All must be used
- B: Only specific ones
- C: None of them
- D: Only 1
View Answer
B
Q143: What does Windows provide to support multitasking and multithreading?
- A: Thread management
- B: Pipes only
- C: Memory expansion
- D: Synchronization constructs
View Answer
D
Q144: Which feature helps Windows arbitrate among resources during multitasking?
- A: Error handling
- B: Exception throwing
- C: Synchronization constructs
- D: APIs
View Answer
C
Q145: Windows API names are typically
- A: Short and random
- B: Long and descriptive
- C: Non-English
- D: Numeric strings
View Answer
B
Q146: Which of the following is a predefined Windows data type for storing logical values?
- A: INT
- B: FLOAT
- C: BOOL
- D: CHAR
View Answer
C
Q147: Which predefined Windows data type is used to reference an object?
- A: STR
- B: BOOL
- C: HANDLE
- D: DWORD
View Answer
C
Q148: LPTSTR is used as
- A: a file handler
- B: An integer
- C: Pointer to a string
- D: Array
View Answer
D
Q149: What data type in Windows represents a 32-bit unsigned integer?
- A: LONG
- B: BOOL
- C: DOUBLE
- D: DWORD
View Answer
D
Q150: Which symbol is avoided in Windows data types?
- A: &
- B: *
- C: #
- D: @
View Answer
B