Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q551: Directory management functions in Windows include
  • A: CreateDirectory, RemoveDirectory
  • B: SetFileAttributes, GetFileTime
  • C: DeleteDir, AddFolder
  • D: OpenDir, CloseDir
View Answer
A

Q552: Current working directory can be changed using
  • A: SetDirectoryName()
  • B: ChangeDir()
  • C: SetCurrentDirectory()
  • D: MoveDirectory()
View Answer
C

Q553: Security attributes in directory creation allow setting
  • A: user ownership
  • B: file type
  • C: sub-folder names
  • D: directory size limit
View Answer
A

Q554: SetCurrentDirectory accepts which kind of argument?
  • A: buffer of integers
  • B: string path
  • C: pointer to security attribute
  • D: function name
View Answer
B

Q555: What is generally considered to be the console in computer systems?
  • A: Printer and mouse
  • B: Hard drive and speaker
  • C: Monitor and keyboard
  • D: Monitor and printer
View Answer
C

Q556: What does the OS treat the console devices as?
  • A: Network streams
  • B: Threads
  • C: Files
  • D: Programs
View Answer
C

Q557: Which of the following APIs are specifically adapted for console I/O?
  • A: ReadFile() and WriteFile()
  • B: SendFile() and ReceiveFile()
  • C: ReadConsole() and WriteConsole()
  • D: ReadDisk() and WriteDisk()
View Answer
C

Q558: ReadConsole and WriteConsole are preferred over generic file APIs because
  • A: They are faster
  • B: They process characters based on Console mode
  • C: They use less memory
  • D: They work on all devices
View Answer
B

Q559: The SetConsoleMode API allows you to
  • A: set buffer size
  • B: set console colors
  • C: set console behavior modes
  • D: set thread priorities
View Answer
C

Q560: Which data type is commonly used by console-based APIs for string handling?
  • A: char
  • B: TCHAR
  • C: wchar
  • D: STRINGS
View Answer
B

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now