Operating System MCQ
Operating System MCQ, Introduction to Operating System MCQ, Multiple Choice Questions on Operating System, Basic Computer Engineering MCQ, Engineering MCQ, Operating System MCQ with answers
Multiple-Choice Questions
Q.1. The operating system which is dependent on the system operator for executing the jobs and is resident in the ROM is
- real-time operating system
- distributed operating system
- batch processing system
- multitasking operating system
Answer: batch processing system
Q.2. Which of the following is a non-preemptive scheduling algorithm?
- Shortest job first
- Round robin
- First come first serve
- Shortest remaining time first
Answer: First come first serve
Q.3. The operating system that allows execution of multiple programs simultaneously is called as
- real-time operating system
- batch processing operating system
- multiprocessor operating system
- multitasking operating system
Answer: multitasking operating system
Q.4. Which of the following schedulers is also known as job schedulers?
- CPU scheduler
- Long-term scheduler
- Mid-term scheduler
- None of the above
Answer: Long-term scheduler
Q.5. The batch file uses the extension
- .bat
- .exe
- .com
- .bmp
Answer: .bat
Q.6. Which of the following is an example of non-contiguous memory allocation methods?
- Best fit
- Paging
- Worst fit
- First fit
Answer: Paging
Q.7. The program becomes a job in which of the following states?
- New
- Ready
- Waiting
- Running
Answer: Ready
Q.8. The job becomes a process in which of the following states?
- New
- Ready
- Waiting
- Running
Answer: Running
Q.9. Which of the following symbol is used in UNIX to represent the root directory?
- /
- #
- *
- ?
Answer: /
Q.10. Which of the following is represented by using process control block?
- Swapping
- Program
- Process
- Spooling
Answer: Process
Q.11. Which one of the following is a necessary condition for the deadlock to occur?
- Hold and wait
- Mutual exclusion
- No preemption
- All of the above
Answer: All of the above
Q.12. Which of the following scheduling algorithms is used for the time-sharing operating system?
- First come first serve
- Round robin
- Shortest job first
- Shortest time remaining first
Answer: Round robin
Q.13. Which of the following are only a single user and single-tasking operating system?
- UNIX
- DOS
- LINUX
- Windows 7
Answer: DOS
Q.14. Which of the following functions is not provided by the operating system?
- Process management
- Memory management
- File management
- None of the above
Answer: None of the above
Q.15. Which of the following is not an operating system?
- IBM PC DOS
- IBM OS2
- IBM DB2
- None of the above
Answer: IBM DB2
Q.16. Which of the following provides complete information about the process?
- Process state
- Process control block
- Process scheduling
- Process synchronization
Answer: Process control block
Q.17. The operating system is a
- system software
- application software
- compiler
- hardware device
Answer:
Q.18. Which of the following is the first operating system implemented in C?
- DOS
- UNIX
- Windows
- LINUX
Answer: UNIX
Q.19. Which of the following symbol characterizes the replacement for multiple characters?
- *
- ?
- #
- /
Answer: *
Q.20. Which of the following scheduler is also known as process schedulers?
- CPU scheduler
- Job scheduler
- Long-term scheduler
- Mid-term scheduler
Answer: CPU scheduler
Q.21. Which of the following scheduler is responsible for assigning the CPU to the process?
- Short-term scheduler
- Long-term scheduler
- Mid-term scheduler
- None of the above
Answer: Short-term scheduler
Q.22. The mid-term scheduler is responsible for
- moving the process from running state to waiting state
- moving the process from ready state to waiting state
- moving the process from new state to ready state
- moving the process from ready state to running state
Answer: moving the process from running state to waiting state
Q.23. When the CPU is allotted to the process, then the state of the process would be
- new
- ready
- running
- terminated
Answer: running
Q.24. The ‘?’ is the wildcard used for
- one character replacement
- multiple character replacement
- no character replacement
- asking a question
Answer: one character replacement
Q.25. Which of the following is used to concatenate the output of one command as input to the next command?
- Input redirection
- Output redirection
- Spooling
- Pipe
Answer: Pipe
Q.26. Which of the following is used to send the output to a file?
- >
- >>
- <
- ?
Answer: >
Q.27. Which of the following is used to append the data to the end of the existing file?
- >
- >>
- <
- ?
Answer: >>
Q.28. Which of the following commands are embedded in the COMMAND.COM file?
- Internal
- External
- Disk
- Script
Answer: Internal
Q.29. Which of the following commands are also known as a non-resident command?
- Internal
- External
- Disk
- Script
Answer: External
Q.30. Which command in DOS is used to display the contents of the existing file?
- type
- var
- vol
- fdisk
Answer: type
Q.31. Which command is used to change the permission of access of a file or directory in UNIX?
- chmod
- chsdsk
- filter
- ps
Answer: chmod
Q.32. Which of the following command is used to display the specified number on the first line?
- head
- tail
- ls
- pwd
Answer: head
Q.33. Which of the following is an access mode permission in UNIX operating system?
- r
- w
- x
- a
Answer: a
Q.34. Which interface allows entering the command at the prompt?
- Command line
- Graphical user
- Menu
- None of the above
Answer: Command line
Q.35. Which of the following provides an interface between the shell and the hardware in UNIX?
- Shell
- Kernel
- System utilities
- Application programs
Answer: Kernel
Q.36. Compaction is a solution for
- internal fragmentation
- external fragmentation
- swapping
- paging
Answer: external fragmentation
Q.37. “Worst fit” method is used to allocate the
- best suited hole to the process
- first available and suited hole to the process
- largest available hole to the process
- none of the above
Answer: largest available hole to the process
Q.38. Which of the following memory management schemes does not support multitasking?
- Single contiguous memory allocation
- Fixed partition of memory space
- Dynamic partition of memory space
- Paging
Answer: Single contiguous memory allocation
Q.39. Which of the following creates the problem of external fragmentation?
- Dynamic partition of memory space
- Fixed partition of memory space
- Paging
- Virtual memory
Answer: Dynamic partition of memory space
Q.40. Which of the following is used to search the string in the given specified file?
- grep
- ps
- pwd
- type
Answer: grep
Q.41. Which of the following is a command interpreter?
- Shell
- Kernel
- System utility
- None of the above
Answer: Shell
Q.42. Which of the following is a mainframe operating system?
- OS/390
- Windows 2000
- Windows XP
- Windows NT
Answer: OS/390
Q.43. Which of the following is a real-time operating system?
- Windows 2000
- QNX
- Windows XP
- Windows NT
Answer: QNX
Q.44. Which of the following is a mainframe operating system?
- UNIX
- DOS
- PalmOS
- Windows XP
Answer: PalmOS