Practical 1
Practical 1
Practical 1
Outlines
• Overview
− Computer System
− Computer Software and its types
• Operating System
• Bootstrap Process
• Goals of Operating System
• Functions of Operating System
• Operating System Terms
• History of Operating Systems
• Open Source Vs Closed Source Operating System
• Types of Operating Systems
• Exercise
Requirements
• None
1
OVERVIEW
Computer System
The best example to define Computer System is Human; it is made up of the body and
soul. As the human body doesn’t work without soul, similarly the computer
hardware doesn’t work without computer software.
2
Computer Software
3
OPERATING SYSTEM
4
Some popular Operating Systems are: Windows, Linux and Mac OS.
5
BOOTSTRAP PROCESS
A Bootstrap process alternatively referred to as the bootstrapping or boot loader/
bootstrap loader or boot program is the program that initializes the operating system (OS)
during startup.
A bootstrap loader is the first piece of code that runs when a machine starts, and is
responsible for loading the rest of the operating system.
This program resides in the computer's ROM or other non-volatile memory, CD/DVD or
other storage devices. It is automatically executed by the processor when turning on the
computer.
Steps:
1. A very small section of memory called ROM that holds a small program called
the bootstrap program. When the computer is turned on, the CPU counter is
set to the first instruction of this bootstrap program and executes the
instructions in this program.
3. When loading is done, the program counter is set to the first instruction of the
operating system in RAM, and the operating system runs.
6
Note:
The RAM area in which the Operating System resides is called “Resident Portion”
remaining is called the “User Program Area”.
7
8
OPERATING SYSTEM TERMS
9
HISTORY OF OPERATING SYSTEMS
Software/OS Hardware
10
OPEN SOURCE VS CLOSED SOURCE OPERATING SYSTEM
11
TYPES OF OPERATING SYSTEMS
Batch Processing
Users do not interact directly with the computer. Each user submits its job to the
computer operator (human). To speed up processing, similar types of jobs are
firstly batched together and then will be submitted to the system for processing.
The system then executes all jobs one by one.
12
Uniprogramming
Allows only one program to be present in memory and executed at a time. All the
system resources are exclusively available for the job until it completed.
Multiprogramming
Allows two or more programs to be present in memory and executed at the same
time. When one job has to wait (e.g. I/O operation), CPU switch to another job to
execute. When the first job finishes waiting, CPU will get back the first job to
execute.
Timesharing
Multiprocessing
15
Distributed
Computers in a distributed system are independent and do not physically share
memory or processors.
Distributed systems work in a network. They can share the network resources
and communicate with each other using messages. These are referred as loosely
coupled systems. These computers are commonly referred as nodes.
Network
Network Operating System having features:
Real-time
Real time system is a data processing system that must guarantee response
within specified time constraints, often referred to as "deadlines".
Real-time systems are used when there are immediate time requirements on the
operation.
Examples: image processing systems, industrial control systems, robots, and home
appliance controllers, Air traffic control system etc.
15
EXERCISE
Q1: What are the various components of a computer system?
Q2: What is user interface?
Q3: What do you mean by CLI & GUI?
Q4: What are residence monitors?
Q5: What are operating system services?
Q6: Give at least two examples of each OS:
SUST, SUMT, MUST, MUMT
Q7: In your opinion, which one is the best, open source or closed source
operating system, and why?
Q8: List the open source and closed source operating system other than
mentioned in manual?
Q9: Is Windows an Open Source Operating System?
Q10: Define the term “FIFO” with its application/implementation.
Q11: List the Operating Systems you have used till today.
Q12: Have you heard the term “Linux” before? If Yes, where exactly?
Q13: What is purpose of different operating systems?
Q14: List Some Network Operating Systems.
Q14: Define loader, linker and compiler in system software.
Q16: List some application software.
Q17: What is utility software? Explain with examples.
Q18. Which is the latest version of Ubuntu currently available in market?
The End
17