System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q651: In a FAT file system, 2^32 bytes is the ______ file size limit.
- A: minimum
- B: average
- C: maximum
- D: optional
View Answer
C
Q652: 64-bit file systems are designed to handle future needs of ______.
- A: database indexes
- B: cloud speed
- C: massive storage demand
- D: security alerts
View Answer
C
Q653: The reason FAT systems are limited is because of their ______.
- A: format
- B: version
- C: bit size
- D: name
View Answer
D
Q654: When a file is opened using CreateFile(), the file pointer is initially placed at the ______.
- A: end of file
- B: random location
- C: start of file
- D: middle of file
View Answer
C
Q655: Which API is used to change the file pointer position?
- A: SetCurrentDirectory()
- B: SetFilePointer()
- C: CreateProcess()
- D: CloseHandle()
View Answer
B
Q656: The SetFilePointerEx() function is better suited for ______ operations.
- A: network
- B: 32-bit
- C: 64-bit
- D: UI-based
View Answer
C
Q657: SetFilePointer() is ______ to use for 64-bit operations compared to SetFilePointerEx().
- A: easier
- B: clumsy
- C: standard
- D: recommended
View Answer
B
Q658: Which function is considered more convenient for 64-bit file handling?
- A: GetFileSize()
- B: SetFilePointerEx()
- C: WriteFile()
- D: ReadFile()
View Answer
B
Q659: The SetFilePointer() function returns a value of type ______.
- A: BOOL
- B: DWORD
- C: INT
- D: FLOAT
View Answer
B
Q660: The parameter `hFile` in SetFilePointer() refers to ______.
- A: a string filename
- B: the memory address
- C: a file handle
- D: a buffer pointer
View Answer
C