Skip to main content

Operating System MCQs with Answers

Practice important Operating System MCQs with answers and explanations.

Multiple Choice Questions

Q1171: In UNIX, a hard link to a file cannot be created for a _______ directory.
  • A: System
  • B: Root
  • C: Shared
  • D: Directory
View Answer
D

Q1172: UNIX file systems use _______ to prevent cycles in a general graph directory.
  • A: Soft links
  • B: Hard links
  • C: Cycle detection
  • D: Backpointers
View Answer
C

Q1173: A shared file in an acyclic-graph directory is _______ in two different directories.
  • A: Duplicated
  • B: Different
  • C: Same
  • D: Redundant
View Answer
C

Q1174: In UNIX, _______ file types are created when a soft link is established.
  • A: Regular
  • B: Link
  • C: Hidden
  • D: Symbolic
View Answer
B

Q1175: A file can be deleted in UNIX when its _______ count reaches 0.
  • A: Reference
  • B: Link
  • C: Access
  • D: Modification
View Answer
A

Q1176: When mounting in UNIX, the dir refers to the _______ where the file system will be attached.
  • A: Device
  • B: Mount point
  • C: File
  • D: Directory
View Answer
B

Q1177: A file system's root is represented by the directory _______ in UNIX.
  • A: /dev
  • B: /
  • C: /etc
  • D: /root
View Answer
B

Q1178: The df command in UNIX is used to display _______ usage.
  • A: Disk space
  • B: Memory
  • C: CPU
  • D: Network
View Answer
A

Q1179: A _______ is a directory entry in UNIX that points to another file or subdirectory.
  • A: File
  • B: Link
  • C: Symbol
  • D: Pointer
View Answer
B

Q1180: UNIX supports _______ types of links.
  • A: 1
  • B: 2
  • C: 3
  • D: 4
View Answer
B

Test Your Knowledge

Take a timed quiz on Operating System

🚀 Start Quiz Now