Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q581: In ReadConsole, which parameter can be NULL?
  • A: hConsoleInput
  • B: nNumberOfCharsToRead
  • C: lpReserved
  • D: lpBuffer
View Answer
C

Q582: The ENABLE_WRAP_AT_EOL_OUTPUT option enables
  • A: backspace deletion
  • B: text alignment
  • C: line wrapping
  • D: line trimming
View Answer
C

Q583: WriteConsole is used to
  • A: read files
  • B: write to disk
  • C: write to console input buffer
  • D: write to console output buffer
View Answer
D

Q584: ReadConsole reads input from
  • A: file
  • B: handle
  • C: user
  • D: thread
View Answer
B

Q585: SetConsoleMode is available in
  • A: UNIX only
  • B: Windows only
  • C: All major OS
  • D: Mobile OS
View Answer
B

Q586: The buffer in ReadConsole must be allocated by
  • A: the OS
  • B: the user beforehand
  • C: the file manager
  • D: the terminal driver
View Answer
B

Q587: What is the purpose of the PrintStrings() function?
  • A: To read from a file
  • B: To print a single string
  • C: To handle variable string outputs to console
  • D: To handle memory allocation
View Answer
C

Q588: Which C function is used to start processing a variable parameter list?
  • A: va_arg()
  • B: va_end()
  • C: va_start()
  • D: printf()
View Answer
C

Q589: Which header file is required to use va_list functions in C?
  • A:
  • B:
  • C:
  • D:
View Answer
C

Q590: The ConsolePrompt function is used to _______.
  • A: write to a file
  • B: receive input from console only
  • C: display a message only
  • D: display a message and receive input
View Answer
A

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now