Skip to main content

Operating System MCQs with Answers

Practice important Operating System MCQs with answers and explanations.

Multiple Choice Questions

Q1191: UNIX file systems can be split to different devices, such as _______.
  • A: Virtual disks
  • B: Remote systems
  • C: Physical disks
  • D: All of the above
View Answer
D

Q1192: A UNIX system mounts a file system at a specific _______ in the directory structure.
  • A: Point
  • B: File
  • C: Device
  • D: Root
View Answer
A

Q1193: A file is deleted when all links to it are _______.
  • A: Renamed
  • B: Broken
  • C: Deleted
  • D: Refreshed
View Answer
C

Q1194: In UNIX, the reference count for a file is incremented when a _______ is created.
  • A: Link
  • B: File
  • C: Directory
  • D: Permission
View Answer
A

Q1195: UNIX uses _______ to handle the deletion of files that have no remaining references.
  • A: Hard links
  • B: Soft links
  • C: Garbage collection
  • D: Cycle detection
View Answer
C

Q1196: What is the purpose of file protection?
  • A: To prevent unauthorized access
  • B: To provide free access
  • C: To delete files
  • D: To execute files
View Answer
A

Q1197: Which permission in UNIX allows loading a file into memory and executing it?
  • A: Read
  • B: Write
  • C: Execute
  • D: Append
View Answer
C

Q1198: Which command is used to set permission bits on newly created files and directories in UNIX?
  • A: umask
  • B: chmod
  • C: rmdir
  • D: mkdir
View Answer
A

Q1199: In UNIX, the execute permission on a directory allows which operation?
  • A: Read the directory
  • B: Delete files in the directory
  • C: Search the directory
  • D: Append files in the directory
View Answer
C

Q1200: What is the default permission for executable files and directories in UNIX/Linux?
  • A: 777
  • B: 755
  • C: 666
  • D: 444
View Answer
A

Test Your Knowledge

Take a timed quiz on Operating System

🚀 Start Quiz Now