System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q681: What data type represents the entire 64-bit value in LARGE_INTEGER?
- A: double
- B: INT64
- C: LONGLONG
- D: FLOAT
View Answer
C
Q682: In the LARGE_INTEGER structure, the low-order 32 bits are represented by ______.
- A: HighPart
- B: QuadPart
- C: LowPart
- D: BytePart
View Answer
C
Q683: The high-order 32 bits in LARGE_INTEGER are stored in the ______ field.
- A: LowPart
- B: HighWord
- C: HighPart
- D: TopBits
View Answer
C
Q684: The complete 64-bit integer in LARGE_INTEGER is accessed through ______.
- A: DoubleWord
- B: WholeWord
- C: QuadPart
- D: FullInt
View Answer
C
Q685: What type of function is SetFilePointerEx()?
- A: File closing function
- B: Pointer arithmetic macro
- C: File pointer positioning API
- D: File encryption utility
View Answer
C
Q686: The `liDistanceToMove` parameter in SetFilePointerEx() specifies ______.
- A: number of bytes to move
- B: permission level
- C: pointer to function
- D: buffer size
View Answer
A
Q687: The `lpNewFilePointer` parameter in SetFilePointerEx() receives ______.
- A: old pointer value
- B: number of bytes moved
- C: new pointer value
- D: API status
View Answer
C
Q688: Which parameter in SetFilePointerEx() represents the reference point for pointer movement?
- A: hFile
- B: lpNewFilePointer
- C: dwMoveMethod
- D: liDistanceToMove
View Answer
C
Q689: SetFilePointerEx supports pointer movement based on which constants?
- A: FILE_APPEND
- B: FILE_HEADER
- C: FILE_BEGIN
- D: FILE_SIZE
View Answer
C
Q690: To move the file pointer from the beginning of the file, which flag is used?
- A: FILE_BEGIN
- B: FILE_CURRENT
- C: FILE_END
- D: FILE_START
View Answer
A