Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q671: The API used to open a file before working with pointers is ______.
  • A: GetFileHandle()
  • B: CreateFile()
  • C: SetFilePointer()
  • D: MoveFile()
View Answer
B

Q672: SetFilePointer returns INVALID_SET_FILE_POINTER on ______.
  • A: success
  • B: error
  • C: initialization
  • D: close
View Answer
B

Q673: SetFilePointerEx() supports ______ addressing for large file movement.
  • A: 8-bit
  • B: 16-bit
  • C: 32-bit
  • D: 64-bit
View Answer
D

Q674: FILE_BEGIN helps move the pointer with respect to ______.
  • A: current location
  • B: end of file
  • C: beginning of file
  • D: file permissions
View Answer
C

Q675: SetFilePointer is considered ______ when working with large files.
  • A: efficient
  • B: insecure
  • C: cumbersome
  • D: fast
View Answer
C

Q676: In SetFilePointer, to move the file pointer 10 bytes forward from current position, use ______.
  • A: FILE_BEGIN
  • B: FILE_END
  • C: FILE_CURRENT
  • D: FILE_HEADER
View Answer
C

Q677: Why is 64-bit arithmetic needed when working with large files?
  • A: To increase performance
  • B: To reduce RAM usage
  • C: To handle files larger than 4 GB
  • D: To support Unicode filenames
View Answer
C

Q678: What Windows union is used to support 64-bit file pointer arithmetic?
  • A: HUGE_INTEGER
  • B: BIG_INT
  • C: LARGE_INTEGER
  • D: QUAD_INT
View Answer
C

Q679: The union LARGE_INTEGER is designed to handle ______.
  • A: Unicode characters
  • B: memory paging
  • C: network traffic
  • D: large integer arithmetic
View Answer
D

Q680: LARGE_INTEGER is defined using which programming construct?
  • A: array
  • B: union
  • C: struct
  • D: function
View Answer
B

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now