System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q151: Hungarian notation helps in
- A: Memory allocation
- B: Network configuration
- C: Identifying variable types
- D: Sorting data
View Answer
C
Q152: The notation 'lpsz' in a variable name such as 'lpszFilename' represents
- A: a looped function
- B: A string terminator
- C: A long pointer to zero terminated string
- D: A license key
View Answer
C
Q153: Hungarian notation uses ______ to indicate variable type
- A: Uppercase prefixes
- B: Variable suffixes
- C: Lowercase prefixes
- D: Pointer symbols
View Answer
C
Q154: Which header file contains all Windows API prototypes and data types?
- A: io.h
- B: windows.h
- C: main.h
- D: api.h
View Answer
B
Q155: An object in Windows OS can be referenced only through
- A: a pointer
- B: a handle
- C: a function address
- D: a DLL
View Answer
B
Q156: If an application tries to access a Windows object directly, Windows
- A: Allows it
- B: Ignores the action
- C: Throws an exception
- D: Generates random output
View Answer
C
Q157: Objects like DLLs, pipes, and memory in Windows are considered
- A: as files
- B: as variables
- C: as system resources
- D: as data types
View Answer
C
Q158: To access and operate on objects in Windows, one must use
- A: Handles only
- B: Windows API functions
- C: Command Prompt
- D: Mouse actions
View Answer
B
Q159: Parameters in Windows APIs
- A: Are never needed
- B: Must all be used
- C: Each has its own significance
- D: Have no effect
View Answer
C
Q160: DWORD in Windows represents
- A: a floating-point number
- B: Unsigned 64-bit integer
- C: Unsigned 32-bit integer
- D: Handle type
View Answer
C