Skip to main content

Operating System MCQs with Answers

Practice important Operating System MCQs with answers and explanations.

Multiple Choice Questions

Q1121: The working set model uses a parameter ∆ to define what?
  • A: The working set window
  • B: The total demand for frames
  • C: The page fault rate
  • D: The degree of multiprogramming
View Answer
A

Q1122: In the working set model, what happens if ∆ is too large?
  • A: It may overlap several localities
  • B: It will be too small to capture the locality
  • C: It causes more page faults
  • D: It reduces the accuracy of the model
View Answer
A

Q1123: In which scenario would local page replacement be preferred?
  • A: To prevent one process from affecting others
  • B: When all processes are equally important
  • C: When CPU utilization is low
  • D: When page faults are rare
View Answer
A

Q1124: When is pre-paging useful?
  • A: When a process has a large number of page faults at the start
  • B: When there are no page faults
  • C: When the CPU utilization is high
  • D: When the memory is fully utilized
View Answer
A

Q1125: What is the primary function of an operating system in relation to files?
  • A: Storing data
  • B: Interpreting file types
  • C: Managing file operations
  • D: Executing programs
View Answer
C

Q1126: In UNIX, what is the inode used for?
  • A: Accessing file contents
  • B: Accessing file attributes
  • C: Accessing file permissions
  • D: Accessing directory entries
View Answer
B

Q1127: What file attribute refers to the symbolic name of a file?
  • A: Location
  • B: Size
  • C: Owner
  • D: Name
View Answer
D

Q1128: A file in UNIX can be created using the __________ system call.
  • A: creat
  • B: open
  • C: write
  • D: delete
View Answer
A

Q1129: Which of the following file types is used to store data on secondary storage in UNIX?
  • A: Directory
  • B: Block-special file
  • C: Character-special file
  • D: Ordinary file
View Answer
D

Q1130: Which system call is used to read from a file in UNIX?
  • A: read
  • B: write
  • C: open
  • D: lseek
View Answer
A

Test Your Knowledge

Take a timed quiz on Operating System

🚀 Start Quiz Now