Operating system Mcqs:-
- Which type of operating system allows the CPU to be utilized continuously? a) Batch OS b) Multiprogramming OS c) Multitasking OS d) Time Sharing OS
Answer: b) Multiprogramming OS
- Which type of operating system integrates the benefits of Multiprogramming OS and CPU scheduling? a) Batch OS b) Multiprogramming OS c) Multitasking OS d) Time Sharing OS
Answer: c) Multitasking OS
- Which type of operating system requires user interaction to instruct the OS to perform various tasks? a) Batch OS b) Multiprogramming OS c) Multitasking OS d) Time Sharing OS
Answer: d) Time Sharing OS
- Which type of operating system is typically created for dedicated systems to accomplish specific tasks within deadlines? a) Batch OS b) Multiprogramming OS c) Multitasking OS d) Real Time OS
Answer: d) Real Time OS
- What is a thread? a) A type of process b) A lightweight process c) A program counter d) A system call
Answer: b) A lightweight process
- What resources does a thread share with other threads of the same process? a) Program counter and register set b) Stack and files c) Data section and signals d) All of the above
Answer: d) All of the above
- How can a new thread be introduced in a given process? a) Using the fork() system call b) Using the exec() system call c) Using the wait() system call d) Using the exit() system call
Answer: a) Using the fork() system call
- What is the difference between user level threads and kernel level threads? a) User threads are implemented by users, kernel threads are implemented by the OS. b) OS recognizes kernel threads, but not user threads. c) Implementation of user threads is easy, implementation of kernel threads is complicated. d) All of the above.
Answer: d) All of the above.
- Which type of thread has a shorter context switch time? a) User level thread b) Kernel level thread
Answer: a) User level thread
- What happens if one user level thread performs a blocking operation? a) Only that thread is blocked. b) The entire process is blocked. c) Another thread can continue execution. d) None of the above.
Answer: b) The entire process is blocked.
11. What is an operating system? a) The software that runs on a computer and controls its hardware b) The physical components of a computer c) The user interface of a computer d) The application software that a user runs on a computer
Answer: a) The software that runs on a computer and controls its hardware
12. What is the purpose of a Batch OS? a) To allow multiple tasks to be performed at once b) To allow interaction with the user through an input device c) To store a set of similar jobs in main memory for execution d) To perform specific tasks within deadlines
Answer: c) To store a set of similar jobs in main memory for execution
13. What is a thread? a) A physical component of a computer b) The user interface of a computer c) A lightweight process and basic unit of CPU utilization d) A set of similar jobs stored in main memory for execution
Answer: c) A lightweight process and basic unit of CPU utilization
14. What is the main difference between a User level thread and a Kernel level thread?
a) The User level thread is implemented by the OS, while the Kernel level thread is implemented by users
b) The Kernel level thread is recognized by the OS, while the User level thread is not
c) The implementation of the User level thread is complicated, while the implementation of the Kernel level thread is easy
d) The context switch time is less for Kernel level thread compared to User level thread
Answer: b) The Kernel level thread is recognized by the OS, while the User level thread is not 15. What is the advantage of a Multitasking OS over a Multiprogramming OS? a) The Multitasking OS allows for specific tasks to be performed within deadlines b) The Multitasking OS requires less hardware support for context switching c) The Multitasking OS allows for quick switches between jobs, which makes it easier for users to interact with each program as it runs d) The Multitasking OS stores a set of similar jobs in main memory for execution Answer: c) The Multitasking OS allows for quick switches between jobs, which makes it easier for users to interact with each program as it runs.
Similar posts:-
- C-programming MCQs part-1
- C-programming MCQs part-2
- C-programming MCQs part-3
- C-programming MCQs part-4
- C-programming MCQs part-5
- C-programming MCQs part-6
- COA MCQs part-1
- COA MCQs part-2
- COA MCQs part-3
- COA MCQs part-4
- Microprocessor 8085 MCQs part-1
- Microprocessor 8085 MCQs part-2
- Microprocessor 8085 MCQs part-3
- CSS MCQs part-1
- CSS MCQs part-2
- CSS MCQs part-3
- CSS MCQs part-4
- CSS MCQs part-5
- Engineering Mathematics -II MCQs part-1
- Engineering Mathematics -II MCQs part-2
- Engineering Mathematics -II MCQs part-3
- Engineering Mathematics -II MCQs part-4
- Engineering Mathematics -II MCQs part-5
0 Comments