0% found this document useful (0 votes)
17 views2 pages

Question Bank of Operating System For Class Test 1

Uploaded by

Akshay Raul
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views2 pages

Question Bank of Operating System For Class Test 1

Uploaded by

Akshay Raul
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Question Bank of Operating System for Class Test 1

Questions for 2 Marks:-

1) State any two scheduling objectives.


CPU Utilization: One of the primary objectives of process scheduling is to keep the CPU as busy as
possible. Maximizing CPU utilization ensures that the system is making efficient use of its processing
resources, minimizing idle time.

Response Time: Response time refers to the time it takes for a system to respond to a user's request or
input. Minimizing response time is crucial in interactive systems, as it ensures that users receive prompt
feedback and feel that the system is responsive.

2) Explain multiprogramming OS in detail.


Multiprogramming is a computer operating system technique that allows multiple programs to
run concurrently on a computer system. In a multiprogramming environment, the CPU (Central
Processing Unit) is always busy executing one program or another, thereby maximizing its
utilization and improving overall system throughput.

Key Characteristics of Multiprogramming Operating Systems:

1. Concurrent Execution
2. Time Sharing
3. Efficient Utilization of Resources
4. Priority Scheduling
5. Process Isolation

Advantages of Multiprogramming Operating Systems:

1. Improved CPU Utilization


2. Enhanced User Experience
3. Resource Sharing
4. Increased Throughput
5. Resource Management
3) State difference between preemptive scheduling and non-preemptive
scheduling.

Preemptive Scheduling Non-Preemptive Scheduling

1. Preemption: a higher-priority process can a process voluntarily relinquishes


interrupt the execution of a lower- the CPU when it is done with its
priority process currently running on current task or when it enters a
the CPU. waiting state
2. Response It is suitable for systems where It is more suitable for systems where
Time: minimizing response time is a predictability and fairness in
critical objective. resource allocation are more
important than minimizing response
times.
3. Complexity: It may introduce concerns about It is less likely to encounter issues
race conditions and concurrency related to concurrency and process
issues. state management.

4) Define operating system and enlist types of operating system.

• An operating system (OS) is a software program that serves as an intermediary between


a computer's hardware and its users.
• It manages computer hardware and provides various services for computer programs,
allowing them to run efficiently and interact with the hardware.
• The operating system plays a crucial role in managing resources, providing a user-
friendly interface, and ensuring that various software applications can coexist on a
computer system.

Types of Operating Systems:


1. Single-User, Single-Tasking OS
2. Single-User, Multi-Tasking OS
3. Multi-User OS
4. Real-Time OS (RTOS)
5. Distributed OS
6. Network OS
7. Embedded OS
8. Mobile OS

You might also like