Lecture Notes Operating system, Introduction of Operating System
top of page

Operating system Notes

mobiprep (6).png

Introduction of Operating System

mobiprep (6).png

PROCESS: Program to process, Lifecycle of the process, Process control block, IPC

mobiprep (6).png

Scheduling

mobiprep (6).png

Threads

mobiprep (6).png

Memory Management

mobiprep (6).png

File Management

mobiprep (6).png

Synchronization

mobiprep (6).png

Disk Management

mobiprep (6).png

IO Management

mobiprep (6).png

Protection And Security

Heading

Q

1

Define Operating System.

LRM_EXPORT_207556595493866_20190724_1939

Ans

An operating system is system software. It is an interface between the user and the hardware. It performs tasks like memory management, resource allocation, file management, process management, security, etc. It also controls the peripheral devices like printers and hard disks.

LRM_EXPORT_207556595493866_20190724_1939

Q

2

What are the main objectives of an operating system?

LRM_EXPORT_207556595493866_20190724_1939

Ans

The objectives of an operating system are:
1. Efficiency
The operating system must improve the efficiency of the system by the efficient allocation of resources.
2. Convenience
The foremost objective of an operating system is to provide an easy-to-use interface for the users to communicate with the device.
3. Evolution ability
An operating system must be capable of allowing new changes to be introduced without interfering with its performance.
4. Resource management
The operating system should be able to keep track of the resources in a system.  It should decide which process has to access the resource when multiple processes request for the same resource (priority assignment)
5. Security 
The operating system should be able to prevent any unauthorized access to the data and programs in the system.

LRM_EXPORT_207556595493866_20190724_1939

Q

3

Define the term buffering.

LRM_EXPORT_207556595493866_20190724_1939

Ans

A buffer is an area in the main memory that stores temporary data. It is mainly used when the data is moved from one place to another. Buffering helps in increasing the performance of the system. It makes the CPU and the I/O devices work at the maximum possible speed without allowing them to be idle.

LRM_EXPORT_207556595493866_20190724_1939

Q

4

What is the differeence between batch processing and multiprogrammimg?

LRM_EXPORT_207556595493866_20190724_1939

Ans

LRM_EXPORT_207556595493866_20190724_1939

Q

5

What is the drawback of batch processing OS?

LRM_EXPORT_207556595493866_20190724_1939

Ans

The drawbacks of batch processing OS are:
1.Job priority cannot be assigned
2.Users cannot directly interact with the computer.
3.The CPU utilization is very low. The CPU is idle most of the time because the speed of the I/O devices is slower than that of the CPU.

LRM_EXPORT_207556595493866_20190724_1939

Q

6

What is batch processing?

LRM_EXPORT_207556595493866_20190724_1939

Ans

In batch processing, the user cannot interact directly with the computer. The jobs (or programs) in punch cards are submitted to an operator. The operator sorts the similar jobs into batches. The CPU can execute only one batch at a time. Here, the CPU is idle most of the time because the speed of the I/O devices is slower than that of the CPU.

LRM_EXPORT_207556595493866_20190724_1939

Q

7

What do you understand by Multi threading and multi tasking?

LRM_EXPORT_207556595493866_20190724_1939

Ans

Multi-threading
Simultaneous execution of multiple threads of a process (or an application) is called multi-threading. Multi-threading improves the performance of the operating system by making efficient use of the CPUs in a multi-processor system. Multi-threading involves the sub-division of various operations of a single process into separate threads that are executed simultaneously.

Multi-tasking
The simultaneous execution of many processes by the CPU is called multi-tasking. It improves CPU utilization. Multi-tasking is also called time-sharing. In multitasking, different tasks (or processes) are performed at the same time, while in multi-threading, multiple operations of a single process are performed at the same time.

LRM_EXPORT_207556595493866_20190724_1939

Q

8

Explain parallel systems.

LRM_EXPORT_207556595493866_20190724_1939

Ans

Parallel systems have multiple processors running simultaneously in a computer system. Parallelism can be achieved in such systems. A process is sub-divided into many parts and each part is executed in parallel in separate processors. It decreases the execution time of the process. Thus, the efficiency of the computer can be increased.

LRM_EXPORT_207556595493866_20190724_1939

Q

9

What are the advantages of a distributed system?

LRM_EXPORT_207556595493866_20190724_1939

Ans

The advantages of the distributed systems are:
a.Malfunctioning of a single computer in a distributed system does not affect the other computers. Distributed systems are fault-tolerant.
b.Resource sharing is easy in a distributed system.
c.It provides better performance than the centralized systems.
d.Distributed systems are scalable and flexible.
e.Distributed systems have high computational power.

LRM_EXPORT_207556595493866_20190724_1939

Q

10

What are real time systems?

LRM_EXPORT_207556595493866_20190724_1939

Ans

A system whose response must be guaranteed within the specified timing is called a real-time system. A real-time system must always meet the deadline. It is a time-bound system. It may be either time-sharing or event-driven.
Example: Air traffic control system

LRM_EXPORT_207556595493866_20190724_1939
bottom of page