System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q701: LARGE_INTEGER is useful in 64-bit file operations for handling ______.
- A: symbol tables
- B: security checks
- C: large file positions
- D: timestamps
View Answer
C
Q702: The structure of LARGE_INTEGER includes ______ components.
- A: only one field
- B: only QuadPart
- C: HighPart and LowPart
- D: only HighPart
View Answer
C
Q703: What header file is required to use the OVERLAPPED structure?
- A: stdio.h
- B: windows.h
- C: string.h
- D: system.h
View Answer
B
Q704: The OVERLAPPED structure is mainly used in
- A: networking
- B: CPU scheduling
- C: file operations
- D: video encoding
View Answer
C
Q705: Which API functions can use the OVERLAPPED structure?
- A: ReadFile and WriteFile
- B: GetMessage and SendMessage
- C: CreateThread and ExitThread
- D: OpenProcess and CloseHandle
View Answer
A
Q706: The OVERLAPPED structure allows setting the file pointer without calling
- A: OpenFile()
- B: ReadConsole()
- C: SetFilePointer()
- D: CreateFile()
View Answer
C
Q707: Which fields in OVERLAPPED must be set to 0xFFFFFFFF to append to a file?
- A: Internal and InternalHigh
- B: Pointer and hEvent
- C: Offset and OffsetHigh
- D: QuadPart and LowPart
View Answer
C
Q708: Which field in OVERLAPPED is reserved and not used directly by the application?
- A: Pointer
- B: Offset
- C: Internal
- D: nWrite
View Answer
C
Q709: The OffsetHigh field stores the ______ of the file pointer.
- A: file size
- B: high-order bits
- C: current position
- D: buffer address
View Answer
B
Q710: The structure field that stores the low part of file position is called
- A: OffsetLow
- B: LowOffset
- C: LowPart
- D: Offset
View Answer
D