Lab 03
Lab 03
3.2 Introduction
Operating System
An Operating system (OS) is a software which acts as an interface between the end user and
computer hardware. Every computer must have at least one OS to run other programs. An
application like Chrome, MS Word, Games, etc. needs some environment in which it will run
and perform its task. The OS helps you to communicate with the computer without knowing how
to speak the computer's language. It is not possible for the user to use any computer or mobile
device without having an operating system.
History Of OS
Operating systems were first developed in the late 1950s to manage tape storage.
The General Motors Research Lab implemented the first OS in the early 1950s for their
IBM 701
In the mid-1960s, operating systems started to use disks
In the late 1960s, the first version of the Unix OS was developed
The first OS built by Microsoft was DOS. It was built in 1981 by purchasing the 86-DOS
software from a Seattle company
The present-day popular OS Windows first came to existence in 1985 when a GUI was
created and paired with MS-DOS.
Process management: - Process management helps OS to create and delete processes. It also
provides mechanisms for synchronization and communication among processes.
Memory management: - Memory management module performs the task of allocation and de-
allocation of memory space to programs in need of this resources.
File management: - It manages all the file-related activities such as organization storage,
retrieval, naming, sharing, and protection of files.
Device Management: Device management keeps tracks of all devices. This module also
responsible for this task is known as the I/O controller. It also performs the task of allocation and
de-allocation of the devices.
I/O System Management: One of the main objects of any OS is to hide the peculiarities of that
hardware devices from the user.
Security: - Security module protects the data and information of a computer system against
malware threat and authorized access.
Command interpretation: This module is interpreting commands given by the and acting
system resources to process that commands.
Job accounting: Keeping track of time & resource used by various job and users.
Some computer processes are very lengthy and time-consuming. To speed the same process, a
job with a similar type of needs are batched together and run as a group.
The user of a batch operating system never directly interacts with the computer. In this type of
OS, every user prepares his or her job on an offline device like a punch card and submit it to the
computer operator
Real time OS
A real time operating system time interval to process and respond to inputs is very small.
Examples: Military Software Systems, Space Software Systems.
Distributed systems use many processors located in different machines to provide very fast
computation to its users.
Network Operating System runs on a server. It provides the capability to serve to manage data,
user, groups, security, application, and other networking functions.
Mobile OS
Mobile operating systems are those OS which is especially that are designed to power
smartphones, tablets, and wearables devices. Some most famous mobile operating systems are
Android and iOS, but others include BlackBerry, Web, and watchOS.
Mobile operating systems combine features of a personal computer operating system with other
features useful for mobile or handheld use, and usually including a wireless inbuilt modem and
SIM tray for telephony and data connection.
OS Name Share
Windows. 40.34
Android 37.95
iOS 15.44
Mac OS 4.34
Linux 0.95
Chrome OS 0.14
Windows Phone OS 0.06
In computing, there exist two type of processor i.e., 32-bit and 64-bit. This type of processor
tells us how much memory a processor can have access from a CPU register. A 32-bit system
can access 232 memory addresses, i.e. 4 GB of RAM or physical memory ideally, it can access
more than 4 GB of RAM also. A 64-bit system can access 264 memory addresses, i.e. actually
18-Quintillion bytes of RAM.
Most computers made in the 1990s and early 2000s were 32-bit machines. The CPU register
stores memory addresses, which is how the processor accesses data from RAM. One bit in the
register can reference an individual byte in memory, so a 32-bit system can address a maximum
of 4 GB (4,294,967,296 bytes) of RAM. The actual limit is often less around 3.5 GB since part
of the register is used to store other temporary values besides memory addresses. Most
computers released over the past two decades were built on a 32-bit architecture, hence most
operating systems were designed to run on a 32-bit processor.
A computer with a 64-bit processor can have a 64-bit or 32-bit version of an operating system
installed. However, with a 32-bit operating system, the 64-bit processor would not run at its full
capability.
On a computer with a 64-bit processor, we can’t run a 16-bit legacy program. Many 32-bit
programs will work with a 64-bit processor and operating system, but some older 32-bit
programs may not function properly, or at all, due to limited or no compatibility.
What is a Kernel?
The kernel is the central component of a computer operating systems. The only job performed by
the kernel is to the manage the communication between the software and the hardware. A Kernel
is at the nucleus of a computer. It makes the communication between the hardware and software
possible. While the Kernel is the innermost part of an operating system, a shell is the outermost
one.
Features of Kernel
Context switching
Types of Kernels:
There are many types of kernels that exists, but among them, the two most popular kernels are:
1.Monolithic
A monolithic kernel is a single code or block of the program. It provides all the required services
offered by the operating system. It is a simplistic design which creates a distinct communication
layer between the hardware and software.
2. Micro kernels
Microkernel manages all system resources. In this type of kernel, services are implemented in
different address space. The user services are stored in user address space, and kernel services
are stored under kernel address space. So, it helps to reduce the size of both the kernel and
operating system.
If any issue occurs in OS, you may lose all the contents which have been stored in your
system
Operating system's software is quite expensive for small size organization which adds
burden on them. Example Windows
It is never entirely secure as a threat can occur at any time
Summary
An operating system is a software which acts as an interface between the end user and
computer hardware
Operating systems were first developed in the late 1950s to manage tape storage
The kernel is the central component of a computer operating systems. The only job
performed by the kernel is to the manage the communication between the software and
the hardware
Two most popular kernels are Monolithic and MicroKernels
Process, Device, File, I/O, Secondary-Storage, Memory management are various
functions of an Operating System
Batch, Multitasking/Time Sharing, Multiprocessing, Real Time, Distributed, Network,
Mobile are various types of Operating Systems
Part 1
1. Make sure your Windows 10 installation media is connected. In order for you to install
Windows 10, your Windows 10 installation file must be loaded onto a disc or flash drive,
and the disc or flash drive must be inserted into your computer.
If you haven't yet downloaded the Windows 10 installation tool, follow the instructions
from this Microsoft support page: https://www.microsoft.com/en-us/software-
download/windows10
2. Press and hold Del or F2 to enter setup. This key may also be a different key—most
computers will display a message on startup that says "Press [key] to enter setup" or
something similar, so look for this message when your computer restarts to confirm the
key you should press to access the BIOS.
Consult your computer's manual or online support page to confirm your computer's BIOS
key.
3. Navigate to the Boot tab. You'll use the arrow keys to select it.
The Boot tab may instead say Boot Options, depending on your computer's manufacturer
4. Select a device from which to boot. You have a couple of options here:
For a USB flash drive, select the Removable Devices option.
For a disc installation, select the CD-ROM Drive option.
5. Press the + key until your boot option is first. Once either Removable Devices or CD-
ROM Drive is at the top of the list, your computer will select your choice as its default
boot option.
On some computers, you'll instead press one of the function keys (e.g., F5) to navigate an
option up to the top of the menu. The key will be listed on the right side of the screen.
6. Save your settings. You should see a key prompt (e.g., F10) at the bottom of the screen
that correlates to "Save and Exit"; pressing it should save your settings and restart your
computer.
You may have to press ↵ Enter to confirm the changes.
7. Save your settings. You should see a key prompt (e.g., F10) at the bottom of the screen
that correlates to "Save and Exit"; pressing it should save your settings and restart your
computer.
You may have to press ↵ Enter to confirm the changes.
Part 2: Installing
1. Click Next when prompted. You can also change the options on this page (e.g., the setup
language) before continuing if need be.
3. Enter your Windows 10 key, then click Next. If you don't have a Windows 10 key,
instead click Skip in the bottom-right corner of the screen
4. Click the "Accept" box and click Next. This will indicate that you accept the terms of
use.
5. Click Upgrade. It's at the top of the "Which type of installation do you want?" window.
This option installs Windows 10 while preserving your files, apps, and settings.
You can click Custom instead to clean install Windows 10 on your computer. Doing so
will prompt you to select a partition to format before continuing.
6. Wait for Windows 10 to install. This process may take anywhere from half an hour to
several hours, depending on your computer's previous operating system and processing
speed.
If prompted to press a key in order to boot from a CD, do not press a key.
7. Follow the on-screen setup instructions. Once Windows 10 has been installed on your
computer, you'll be able to customize its settings (e.g., your region, your preferred
language, location settings, etc.). Once you finish this process, you will be taken to your
computer's desktop.