Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q511: Both source and destination files must reside on the same volume when creating
  • A: a soft link
  • B: a hard link
  • C: a junction
  • D: an alias
View Answer
B

Q512: If MoveFileEx is not used, MoveFile will
  • A: fail silently
  • B: fail if file exists
  • C: overwrite automatically
  • D: rename file
View Answer
B

Q513: Windows provides functions for file and directory _______.
  • A: management
  • B: creation
  • C: encryption
  • D: visualization
View Answer
A

Q514: CopyHardLink accepts _______ parameters.
  • A: one
  • B: two
  • C: three
  • D: four
View Answer
C

Q515: DeleteFile will return FALSE if
  • A: the file does not exist
  • B: the file exists
  • C: the file is read-only
  • D: the file is in clipboard
View Answer
A

Q516: File management in Windows is handled by
  • A: Control Panel
  • B: File Explorer
  • C: APIs
  • D: Command Prompt
View Answer
C

Q517: The purpose of the BOOL return type in APIs like DeleteFile is to
  • A: return error code
  • B: return pointer
  • C: indicate success/failure
  • D: handle strings
View Answer
C

Q518: Windows API function to move and overwrite a directory is
  • A: MoveFile
  • B: DeleteFile
  • C: MoveFileEx
  • D: CopyFile
View Answer
C

Q519: The CopyFile API can be used to
  • A: copy memory
  • B: copy registry keys
  • C: copy files between locations
  • D: copy folder permissions
View Answer
C

Q520: Windows MoveFileEx API can be used to
  • A: move folders only
  • B: move files only
  • C: move both files and folders
  • D: move only hidden files
View Answer
C

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now