Patna University PHD Coursework Lecture1

Download as pdf or txt
Download as pdf or txt
You are on page 1of 20

Introduction to Operating System

Course: Ph.D. Course Work

Dr. Sanjay Kumar


Assistant Professor
Department of Physics
Patna University
Content
● What is operating system (OS) ?

● Key functions of OS.

● Popular types of OS.

● Basics of UNIX and Windows.

● Advantages of open source OS like Linux.


What is operating system?
● Computer System = Hardware + Software
● Software = Application Software + System Software (OS)
● An Operating System is a system Software that acts as an
intermediary/interface between a user of a computer and the
computer hardware.
● An operating System is a collection of system programs that
together control the operations of a computer System. Some
examples of operating systems are
UNIX, Mach, MS-DOS, MS-Windows
● Operating system goals:
1. Execute user programs and make solving user
problems easier
2. Make the computer system convenient to use
3. Use the computer hardware in an efficient manner
What is a System Software?
➢ Those computer software that control and monitor the computer hardware and
provide essential functionality to the computer are called system software.
Therefore, system software are essential parts of a computer, which means a
computer cannot perform its functions without system software.
➢ Examples of system software include: operating systems, device drivers, language
processors, etc.
What is an Application Software?
➢ A computer software which is developed to perform a specific function is known as
an application software. Application software are also called end-user software
because they are designed to use by users of the computer.
➢ The most common examples of application software are: MS-Word, Excel,
PowerPoint, browsers, video editors, etc.
The Structure of Computer Systems

 Accessing computer resources is divided into layers.


 Each layer is isolated and only interacts directly with the
layer below or above it.
 If we install a new hardware device
 No need to change anything about the
user/applications.
 However, you do need to make changes to the
operating system.
 You need to install the device drivers that the
operating system will use to control the new device.
 If we install a new software application
 No need to make any changes to your hardware.
 But we need to make sure the application is supported
by the operating system
 user will need to learn how to use the new application.
 If we change the operating system
 Need to make sure that both applications and hardware
will compatible with the new operating system.
Functions of Operating System
Popular types of OS

• Desktop Class
 Windows
 OS X
 Unix/Linux
 Chrome OS
• Server Class
 Windows Server
 Mac OS X Server
 Unix/Linux
• Mobile Class
 Android
 iOS
 Windows Phone
Microsoft Windows


The graphical Microsoft operating system designed for Intel-
platform desktop and notebook computers.

Best known, greatest selection of applications available.

Current editions include Windows 7, 8, and 10.
START MENU

Windows 10: Windows 7:


Windows XP
The official product was released on October 25, 2001
Advanced portable PC support
Automatic wireless connection support
Fast start-up
Better Graphical User Interface (GUI)
Help and support centre
Windows Vista
It was released on January 30, 2007
It had an upgraded version of Graphical User Interface
It was the first operating system to use DVD-ROM for installation
Windows 7
It was released on October 22, 2009
Redesigned Windows shell with an updated taskbar
Libraries were added in the file management system
A few features from the past Windows were removed
Extended hardware support
Windows 8
It was released for retail on October 26, 2012
Optimisations for touch-based
Installed in new devices like Laptops, Mobile phones, tablets, etc.
Increased integration with cloud services
Windows Store service for software distribution
Task manager had been redesigned
New security features were introduced
Online Applications could be directly downloaded
Windows 10
It was released on July 29, 2015
Addresses shortcomings in the user interface first introduced with Windows 8
A virtual desktop system
It had the ability to run windows store apps within windows on the desktop rather
than in the full-screen mode
Included new icons
To reduce storage shortcomings, Windows 10 automatically compresses the file
size
Linux

Linux: An open-source, cross-platform operating system that
runs on desktops, notebooks, tablets, and smartphones.
– The name Linux is a combination Linus (the first name of
the first developer) and UNIX (another operating system.

Users are free to modify the code, improve it, and redistribute it,

Developers are not allowed to charge money for the Linux
kernel itself (the main part of the operating system), but they
can charge money for distributions (distros for short).

Examples of Linux: Ubuntu, Fedora
Importance and Advantage of Linux OS
1. Open Source
As it is open-source, its source code is easily available.
Anyone having programming knowledge can customize the operating system.
One can contribute, modify, distribute, and enhance the code for any purpose.
2. Security
The Linux security feature is the main reason that it is the most favourable
option for developers.
It is not completely safe, but it is less vulnerable than others.
Each application needs to authorize by the admin user.
Linux systems do not require any antivirus program.
3. Free
Certainly, the biggest advantage of the Linux system is that it is free to use.
We can easily download it, and there is no need to buy the license for it.
It is distributed under GPL (General Public License).
Comparatively, we have to pay a huge amount for the license of the other OS
Advantage of Linux (Contd.)

4. Lightweight
The requirements for running Linux are much less than other
operating system
In Linux, the memory footprint and disk space are also lower.
Generally, most of the Linux distributions required as little as
128MB of RAM around the same amount for disk space.
5. Stability
Linux is more stable than other operating systems.
Linux does not require to reboot the system to maintain
performance levels.
It rarely hangs up or slow down. It has big up-times.
Advantage of Linux (Contd.)

6. Performance
Linux system provides high performance over different networks.
It is capable of handling a large number of users simultaneously.
7. Flexibility
Linux operating system is very flexible.
It can be used for desktop applications, embedded systems, and server
applications too.
It also provides various restriction options for specific computers.
We can install only necessary components for a system.
8. Software Updates
In Linux, the software updates are in user control.
We can select the required updates.
There a large number of system updates are available.
These updates are much faster than other operating systems.
So, the system updates can be installed easily without facing any issue.
Advantage of Linux (Contd.)

9. Distributions/ Distros
There are many Linux distributions available in the market.
It provides various options and flavors of Linux to the users.
We can choose any distros according to our needs.
Some popular distros are Ubuntu, Fedora, Debian, Linux Mint, Arch
Linux,
For the beginners, Ubuntu and Linux Mint would be useful.
Debian and Fedora would be good choices for proficient programmers.
10. Live CD/USB
Almost all Linux distributions have a Live CD/USB option.
It allows us to try or run the Linux operating system without installing it.
11. Graphical User Interface
Linux is a command-line based OS but it provides an interactive user
interface like Windows.
Advantage of Linux (Contd.)
12. Suitable for programmers
It supports almost all of the most used programming languages such
as C/C++, Java, Python, Ruby, and more.
Further, it offers a vast range of useful applications for development.
The programmers prefer the Linux terminal over the Windows
command line.
The package manager on Linux system helps programmers to
understand how things are done.
Bash scripting is also a functional feature for the programmers.
It also provides support for SSH, which helps in managing the servers
quickly.
13. Community Support
Linux provides large community support.
We can find support from various sources.
There are many forums available on the web to assist users.
Further, developers from the various open source communities are
ready to help us.
GUI Of Ubuntu

Can be freely download from:


https://ubuntu.com/download
Programming Tools and Utilities Available under Linux


Text Editors ●
Debuggers
– Xemacs – C / C++ debugger - gdb
– Emacs ●
Interpreters
– Pico – Perl - perl
– vi – Tcl/Tk - tcl & wish

Compilers ●
Miscellaneous
– C compiler - gcc – Web Browsers - Mozilla,
– C++ compiler - g++ Netscape, Firefox, and Lynx
– Java compiler & Java Virtual (lynx is text based)
Machine - javac & java – Instant Messengers - Gaim
– Email - Netscape is there, but
we will learn Pine
Thanks for the attention!

You might also like