Lab Assignment 01-Compressed (1)
Lab Assignment 01-Compressed (1)
0801IT231150
Btech IT 2year
Operating System is a fully integrated set of specialized programs that handle all the
operations of the computer. It controls and monitors the execution of all other
programs that reside in the computer, which also includes application programs and
other system software of the computer. Examples of Operating Systems are
Windows, Linux, Mac OS, etc.
ans-
Step 1: Input devices allow the users to provide data and commands to the
computer. The data inserted manually is collected by input devices like keyboard,
mouse, scanners, and others. These devices generate electrical signals or data
packets representing the input.
Step 2: The data generated by input devices is sent to the computer’s input
interface/Memory Unit which processes and formats the data for further use by the
computer.
Step 3: The processed input data is then sent to the computer’s Central Processing
Unit (CPU) which temporarily stores this data in memory (RAM) for immediate
processing. The CPU executes instructions related to the input data.
For example, if you’re typing a document, the Central Processing Unit (CPU)
processes the keystrokes and stores them in memory. The control unit schedules all
the activities for the smooth working of the computer.
Step 4: After processing, the CPU sends the results or instructions to the computer’s
output interface where the data is formatted for transmission to the output devices.
Step 5: Then the output unit receives the final processed output. Output devices
such as monitors, printers, speakers, and others receive the formatted data.
Monitors display visual information, printers produce hard copies, and speakers play
audio, based on the data they receive.
ans-The Need for Operating System: Operating System is a program that acts as an
Interface between the system hardware and the user making the tasks easier. It
is important software which runs on a computer and controls the set of instructions
and wisely utilizes each part of the Computer.
The operating system (OS) manages all of the software and hardware on the
computer. It performs basic tasks such as file, memory and process management,
handling input and output, and controlling peripheral devices such as disk drives and
printers.
This type of operating system does not interact with the computer directly. There is
an operator which takes similar jobs having the same requirement and groups them
into batches. It is the responsibility of the operator to sort jobs with similar needs.
MultiProgramming
● There is not any facility for user interaction of system resources with the
system.
Multiprocessing
Advantages of Multi-Processing Operating System
● Due to the multiple CPU, it can be more complex and somehow difficult to
understand.
There are two types of Multi-Tasking Systems which are listed below.
● Preemptive Multi-Tasking
● Cooperative Multi-Tasking
● Multitasking
Each task is given some time to execute so that all the tasks work smoothly. Each
user gets the time of the CPU as they use a single system. These systems are also
known as Multitasking Systems. The task can be from a single user or different users
also. The time that each task gets to execute is called quantum. After this time
interval is over OS switches over to the next task.
Time-Sharing OS
Advantages of Time-Sharing OS
Disadvantages of Time-Sharing OS
● Reliability problem.
● One must have to take care of the security and integrity of user programs and
data.
● Data communication problem.
● High Overhead: Time-sharing systems have a higher overhead than other
operating systems due to the need for scheduling, context switching, and
other overheads that come with supporting multiple users.
● Complexity: Time-sharing systems are complex and require advanced
software to manage multiple users simultaneously. This complexity increases
the chance of bugs and errors.
● Security Risks: With multiple users sharing resources, the risk of security
breaches increases. Time-sharing systems require careful management of
user access, authentication, and authorization to ensure the security of data
and software.
● IBM VM/CMS: IBM VM/CMS is a time-sharing operating system that was first
introduced in 1972. It is still in use today, providing a virtual machine
environment that allows multiple users to run their own instances of operating
systems and applications.
● TSO (Time Sharing Option): TSO is a time-sharing operating system that
was first introduced in the 1960s by IBM for the IBM System/360 mainframe
computer. It allowed multiple users to access the same computer
simultaneously, running their own applications.
● Windows Terminal Services: Windows Terminal Services is a time-sharing
operating system that allows multiple users to access a Windows server
remotely. Users can run their own applications and access shared resources,
such as printers and network storage, in real-time.
Distributed OS
● Failure of one will not affect the other network communication, as all systems
are independent of each other.
● Electronic mail increases the data exchange speed.
● Since resources are being shared, computation is highly fast and durable.
● Load on host computer reduces.
● These systems are easily scalable as many systems can be easily added to
the network.
● Delay in data processing reduces.
These systems run on a server and provide the capability to manage data, users,
groups, security, applications, and other networking functions. These types of
operating systems allow shared access to files, printers, security, applications, and
other networking functions over a small private network. One more important aspect
of Network Operating Systems is that all the users are well aware of the underlying
configuration, of all other users within the network, their individual connections, etc.
and that’s why these computers are popularly known as tightly coupled systems.
These types of OSs serve real-time systems. The time interval required to process
and respond to inputs is very small. This time interval is called response time.
Real-time systems are used when there are time requirements that are very strict
like missile systems, air traffic control systems, robots, etc.
For more, refer to the Difference Between Hard Real-Time OS and Soft Real-Time
OS.
Advantages of RTOS
Disadvantages of RTOS
● Limited Tasks: Very few tasks run at the same time and their concentration is
very less on a few applications to avoid errors.
● Use heavy system resources: Sometimes the system resources are not so
good and they are expensive as well.
● Complex Algorithms: The algorithms are very complex and difficult for the
designer to write on.
c.Device driver and interrupt signals: It needs specific device drivers and
interrupts signal to respond earliest to interrupts.
● Thread Priority: It is not good to set thread priority as these systems are very
less prone to switching tasks.
ans-A File System is an integral part of an OS. A File System is a data structure
that stores data and information on storage devices (hard drives, floppy disc,
etc.), making them easily retrievable. Different OS's use different file systems, but
all have similar features.
8)List the name of latest OSand corresponding hardware specification recquired for
all OS?
ans-Windows 11 is the latest major release of Microsoft's Windows NT operating
system, released on October 5, 2021. It succeeded Windows 10 (2015) and is
available for free for any Windows 10 devices that meet the new Windows 11 system
requirements.
1. The Startup. It is the first step that involves switching the power ON. ...
2. BIOS: Power On Self Test. It is an initial test performed by the BIOS. ...
3. Loading of OS. In this step, the operating system is loaded into the main
memory. ...
4. System Configuration. ...
5. Loading System Utilities. ...
6. User Authentication.
10)Write the installation sequence for windows and linux operating system?
ans-Insert a bootable Linux USB drive.
1. Click the start menu. ...
2. Then hold down the SHIFT key while clicking Restart. ...
3. Then select Use a Device.
4. Find your device in the list. ...
5. Your computer will now boot Linux. ...
6. Select Install Linux. ...
7. Go through the installation process.