Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q491: Which API is used to copy files in Windows?
  • A: CopyFile
  • B: MoveFile
  • C: DeleteFile
  • D: RenameFile
View Answer
A

Q492: The CopyFile API returns TRUE if the copy operation is _______.
  • A: started
  • B: aborted
  • C: successful
  • D: failed
View Answer
C

Q493: The third parameter in CopyFile API is used to
  • A: allow file rename
  • B: check file size
  • C: control overwriting
  • D: specify file path
View Answer
C

Q494: Which API is used to move files in Windows?
  • A: MoveFile
  • B: CopyFile
  • C: DeleteFile
  • D: TransferFile
View Answer
A

Q495: MoveFile fails if the new file name
  • A: contains spaces
  • B: is too long
  • C: already exists
  • D: is invalid
View Answer
C

Q496: Which API allows moving and overwriting files or directories?
  • A: MoveFileEx
  • B: DeleteFile
  • C: CopyFileEx
  • D: FileTransfer
View Answer
B

Q497: MoveFileEx can be used to move
  • A: only files
  • B: only folders
  • C: only executables
  • D: both files and directories
View Answer
D

Q498: To overwrite an existing file during move operation, use
  • A: MoveFile
  • B: CopyFile
  • C: MoveFileEx
  • D: DeleteFile
View Answer
C

Q499: Which API creates a hard link to a file?
  • A: CreateFile
  • B: CopyHardLink
  • C: LinkFile
  • D: MakeHardLink
View Answer
B

Q500: Hard links must exist on
  • A: the same network volume
  • B: different partitions
  • C: the same system volume
  • D: different disks
View Answer
C

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now