Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q571: nNumberOfCharsToRead specifies
  • A: the buffer size in bytes
  • B: the file name to open
  • C: the number of characters to read
  • D: the number of times to call ReadConsole
View Answer
C

Q572: The buffer in ReadConsole should be at least
  • A: nChars * sizeof(char)
  • B: nChars * 8
  • C: nChars * sizeof(TCHAR)
  • D: nChars * sizeof(int)
View Answer
C

Q573: The parameter lpNumberOfCharsRead in ReadConsole stores
  • A: number of chars to skip
  • B: number of chars requested
  • C: number of chars read
  • D: number of chars written
View Answer
C

Q574: lpReserved in ReadConsole can usually be
  • A: NULL
  • B: 1
  • C: 0
  • D: CONSOLE_FLAG
View Answer
A

Q575: The console in modern systems is derived from
  • A: virtual machines
  • B: BIOS panels
  • C: virtual terminals in mainframes
  • D: dual core setups
View Answer
C

Q576: Console-based APIs use characters processed through
  • A: the network
  • B: the system cache
  • C: the current console mode
  • D: user permissions
View Answer
C

Q577: SetConsoleMode is used to
  • A: define console layout
  • B: define console resolution
  • C: define input/output modes
  • D: define font size
View Answer
C

Q578: The output screen buffer is affected by
  • A: ENABLE_PROCESSED_INPUT
  • B: ENABLE_LINE_INPUT
  • C: ENABLE_ECHO_INPUT
  • D: ENABLE_SCREEN_COPY
View Answer
C

Q579: ENABLE_PROCESSED_OUTPUT handles
  • A: carriage return and formatting
  • B: process priority
  • C: change in console font
  • D: network delays
View Answer
A

Q580: A handle to the console input buffer must have
  • A: GENERIC_WRITE access
  • B: GENERIC_EXECUTE access
  • C: GENERIC_READ access
  • D: GENERIC_READWRITE access
View Answer
C

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now