SlideShare una empresa de Scribd logo
1 de 6
Descargar para leer sin conexión
Computer Studies Notes
The Operating System - 1 -
The operating system is the program that manages computer operations
An operating system is a software program that provides an interface between the
user and the computer and manages thousands of applications. Most computer
systems are sold with an operating system installed. Computers that are designed for
individual users are called Personal Computers (PCs). PC operating systems are
designed to control the operations of programs such as Web browsers, word
processors, and e-mail programs.
The operating system is stored on disk, but it needs to be loaded into memory (RAM)
once the computer is switched on and before any other program can be run. How is
this done?
The operating system is automatically loaded into memory as soon as you
turn on, or boot, the computer. The term booting refers to the process of
loading an operating system into a computer’s memory. This process is done
by a program (called the bootstrap loader) that is stored permanently in the
computer’s electronic circuitry (usually on a ROM chip).
Basic functions of any operating system
Every computer has an operating system and, regardless of the size and complexity of
the computer and its operating system, all operating systems perform the same basic
functions:
• Managing Resources – These programs coordinate all the computer’s
resources including keyboard, mouse, printer, monitor, storage devices and
memory.
An operating system creates a file structure on the computer hard drive where
user data can be stored and retrieved. When a file is saved, the operating
system saves it, attaches a name to it, and remembers where it
put the file for future use. The way an operating system
organizes information into files is called the file system. Most
operating systems use a hierarchical file system, which
organizes files into directories (folders) under a tree structure.
The beginning of the directory system is called the root directory.
Screenshot of tree structure when using Windows Explorer.
USER
INTERFACE is
a term used to
describe the
communication
between people
and computer
systems.
CLI (Command
Line Interface):
is a form of
interface where
the user types
commands for
the computer to
carry out.
(Glossary 10
th
ed. P99).
GUI (Graphical
User Interface):
is an interface
where the user
issues
commands by
using a pointing
device (e.g.
mouse) to point
and click on
icons, buttons,
menus and lists
on the screen.
Computer Studies Notes
The Operating System - 2 -
• Providing a user interface – Users interact with application programs and computer hardware
through a user interface. Almost all operating systems today provide a windows-like Graphical
User Interface (GUI) in which graphic objects called icons are used to represent commonly used
features.
• Running applications – These programs load and run applications such as word processors and
spreadsheets. Most operating systems support multitasking, or the ability to run more than one
application at a time. When a user requests a program, the operating system locates the
application and loads it into the primary memory or RAM of the computer. As more programs are
loaded, the operating system must allocate the computer resources.
• Support for built-in utility programs –The operating
system uses utility programs for maintenance and repairs.
Utility programs help identify problems, locate lost files,
repair damaged files, and backup data. The figure here
shows the progress of the Disk Defragmenter, which is
found in Programs > Accessories > System Tools.
• Control to the computer hardware – The operating system sits between the programs and the
Basic Input Output System (BIOS). The BIOS controls the hardware. All programs that need
hardware resources must go through the operating system. The operating system can either access
the hardware through the BIOS or through the device drivers.
Utility Programs are specialized programs that make computing easier. All kinds of things can happen to
a computer system – hard disks can crash, viruses can invade a system, computers can freeze up,
operations can slow down, and so on. That’s where utility programs come in. Many operating systems
(such as Windows) have utility programs built in for common purposes – they are also known as System
Tools ( to find these tools, click on Start / Programs / Accessories / System Tools ). Examples of utility
programs are Format, Scan Disk, Disk Cleanup, Disk Defragmenter, and Anti-Virus.
Computer Studies Notes
The Operating System - 3 -
Types of Operating systems
The precise nature of an operating system will depend on the application in which it is to be used. For
example, the characteristics required for an airline seat reservation system will differ from those required
for the control of scientific experiments, or for a desktop computer. Clearly, the operating system design
must be strongly influenced by the type of use for which the computer system is intended. Unfortunately
it is often the case with ‘general purpose machines’ that the type of use cannot easily be identified; a
common criticism of many systems is that, in attempting to be all things to all individuals, they end up
being totally satisfactory to no one. We shall examine various types of system and identify some of their
characteristics.
(1) Single user systems
Single user systems, as their name implies, provide a computer system for only one user at a time. They
are appropriate for computer dedicated to a single function, or which are so inexpensive as to make
sharing not worthwhile. Most microcomputer operating systems (e.g. Microsoft Windows®
, which runs
on millions of computers world wide) are of the single user type. Single user systems generally provide a
simple computer system, which facilitates the running of a variety of software packages
(e.g. word processing or spreadsheet) as well as allowing uses to develop and execute
programs of their own. The major emphasis is on the provision of an easily used
interface, a simple file system, and I/O facilities for keyboard, display, disk and printer.
(2) Batch processing system
Batch processing was the very first method of processing which was adapted. The main
purpose of this system was to enable the computer to move automatically from one job to
another, without the operator having to intervene.
Jobs (that consist of data and programs) are queued. The computer would then process the jobs
one at a time without further human intervention. Batch processing is still used nowadays –
e.g. printing thousands of mailing labels.
In any computer system, the speed by which the CPU can execute instructions is much
higher than that which other peripheral devices can reach. Thus, peripheral devices such
as the printer, disk drives, and others, waste a lot of the CPU’s time, because they cannot
process their part of the job as quickly as the CPU. This results in a large percentage of
CPU idle time. Another inefficiency is that, when a small program is being run, most of
main memory remains unused. Therefore, the most two expensive resources of the system – memory and
time – are wasted. As processing speed and memory size increased with the advance in technology, the
Computer Studies Notes
The Operating System - 4 -
wastage became even greater. This is operating systems why continued to evolve from the simple batch
system.
(3) Multiprogramming system
The multiprogramming operating system could manage resources more efficiently. More than one user’s
program can be resident in main memory at one time.
In this system, multiple jobs are loaded into the central memory, and each is allotted some CPU-TIME, a
tiny fraction of a second during which it receives the CPU’s attention. When a job’s CPU-TIME is up, it
is suspended and control passes to the next job, which can continue from where it left off before.
In simpler terms the CPU is switched rapidly between the different programs. This means the system
does not have to wait for one job to be completed before starting the next.
The simplest multiprogramming systems used a round-robin method, where each job received the
same CPU-TIME. More sophisticated systems allowed priorities to be defined for each job,
such that the job with the highest priority received the longest CPU-TIME.
Such a system minimizes the amount of idle time of the CPU and the amount of unused memory.
A complication arises when printing. What happens when two jobs are working
concurrently (at the same time) and both are printing their results? A technique known
as SPOOLING is adopted, where each job sends any output to be printed to a
spool file on backing storage instead of directly to the printer. This spool file
joins a queue of other spool files to be printed.
The general idea behind multiprogramming is that the computer is working on several programs, which
are in memory at one time.
(4) Time-sharing system (multi-user)
In an interactive system, the user sits at a terminal, which is hooked up to the computer. The user can
execute the job, and the output is expected to be reasonably instantaneous, even if other users are
executing their own jobs on the same computer.
To meet these situations, the principle of time-sharing was introduced in the design of
operating systems. The aim of a time-sharing operating system is to give each terminal
user a response time (called time-slice) of about three to five seconds.
Computer Studies Notes
The Operating System - 5 -
One must consider that even the fastest typist is slower that the CPU, and most people are not fast typists.
Sometimes, several seconds or minutes might pass by while the user is deciding what to do next, or while
thinking about the cause of an error in the program. The operating system would therefore poll each
terminal every one or two seconds – that is, the computer makes an enquiry at the terminal by checking if
any characters are present in the keyboard buffer. If there has been no activity since the last polling, the
computer simply goes on to the next terminal. But if a new command has been issued, the computer will
allocate a time-slice to the user. During this time, the computer devotes the full attention to this user.
When the time slice is up or the user’s requests have been satisfied, the computer goes on the next
terminal.
A time-sharing system works on the same principles as a multiprogramming system, except that now the
jobs are interactive.
(5) Real-time systems
Immediate processing and up-to-date information are major characteristics of a real-time system. Such a
system, the information in files has to be located very quickly, and the updating of records must be fast.
The system must be able to respond quickly to an enquiry otherwise it becomes impractical. In a real-
time system a transaction is processed to completion at the time is occurs, ensuring that the information in
the files reflects the true (real) situation.
Examples of a real-time system would be: a flight reservation system, a banking
situation.
(6) Networked systems
As technology advanced, computers became cheap enough for all users of a system to have a
microcomputer of their own. Of course, a stand-alone, single-user microcomputer can do a lot of work,
but it has the following disadvantages:
• Sharing data between different users becomes difficult.
• Peripherals such as printers have to be bought for each microcomputer, and will lay idle for most
of the time.
Such considerations led to the development of networked systems, where many
computers are connected together to facilitate the sharing of data and peripherals. A
network operating system must handle the communication between the networked
computers, managing the data traffic and the sharing of system’s resources.
Computer Studies Notes
The Operating System - 6 -
Questions
1. Explain the difference between:
a. Systems software and Application software. [2]
b. GUI and CLI. [2]
2. Provide a reason to explain each of the following statement:
a. A GUI is more user friendly than a CLI. [2]
3. With reference to OPERATING SYSTEMS, briefly explain each of the following:
a. Batch processing. [1]
b. User Interface. [1]
c. Print Spooling [1]
d. Resource sharing. [1]
4. a. What is an Operating System? [2]
b. The operating system is usually held on disk and has to be loaded in main memory
once the computer is switched on, before any other program can be run. What is this
process called? [1]
An operating system has a window-based user interface.
c. Explain what is meant by a window-based interface. [2]
d. Name ONE advantage and ONE disadvantage of such an interface. [2]
Batch processing and real-time processing are two types of operating system modes.
e. Differentiate between the two types of operating modes. Identify a suitable
application for each. [4]
An airline booking system allows more than one user to access the system at the same
time.
f. What term best describes the system that allows several users to access it
simultaneously? [1]
g. Explain how this is achieved on a single processor. [3]
h. Identify THREE features in which such an operating system would differ form a
single-user operating system. [3]

Más contenido relacionado

La actualidad más candente

Principles of operating system
Principles of operating systemPrinciples of operating system
Principles of operating systemAnil Dharmapuri
 
Operating System
Operating SystemOperating System
Operating Systemnaughty9
 
Function of Operating system
Function of Operating systemFunction of Operating system
Function of Operating systemAmit Mehla
 
1 types of operating system
1 types of operating system1 types of operating system
1 types of operating systemMrsNunn
 
Types or evolution of operating system
Types or evolution of operating systemTypes or evolution of operating system
Types or evolution of operating systemEkta Bafna
 
ITFT _ Operating system
ITFT _ Operating systemITFT _ Operating system
ITFT _ Operating systemNavneet Kaur
 
Operating system presentation
Operating system presentationOperating system presentation
Operating system presentationSonu Vishwakarma
 
Operating system and its function
Operating system and its functionOperating system and its function
Operating system and its functionNikhi Jain
 
Operating System a Case Study
Operating System a Case StudyOperating System a Case Study
Operating System a Case Studyijtsrd
 
Introduction to Operating System
Introduction to Operating SystemIntroduction to Operating System
Introduction to Operating Systempriya_sinha02
 
Operating system and its functions
Operating system and its functionsOperating system and its functions
Operating system and its functionsNamarta Chawla
 
30326851 -operating-system-unit-1-ppt
30326851 -operating-system-unit-1-ppt30326851 -operating-system-unit-1-ppt
30326851 -operating-system-unit-1-pptraj732723
 
Presentation on Operating System & its Components
Presentation on Operating System & its ComponentsPresentation on Operating System & its Components
Presentation on Operating System & its ComponentsMahmuda Rahman
 

La actualidad más candente (20)

Os unit 1
Os unit 1Os unit 1
Os unit 1
 
Introduction of operating system
Introduction of operating systemIntroduction of operating system
Introduction of operating system
 
Computer Fundamental
Computer Fundamental Computer Fundamental
Computer Fundamental
 
Principles of operating system
Principles of operating systemPrinciples of operating system
Principles of operating system
 
Operating System
Operating SystemOperating System
Operating System
 
SYNCHRONIZATION
SYNCHRONIZATIONSYNCHRONIZATION
SYNCHRONIZATION
 
Function of Operating system
Function of Operating systemFunction of Operating system
Function of Operating system
 
1 types of operating system
1 types of operating system1 types of operating system
1 types of operating system
 
Operating system
Operating systemOperating system
Operating system
 
Types or evolution of operating system
Types or evolution of operating systemTypes or evolution of operating system
Types or evolution of operating system
 
ITFT _ Operating system
ITFT _ Operating systemITFT _ Operating system
ITFT _ Operating system
 
Operating system presentation
Operating system presentationOperating system presentation
Operating system presentation
 
Operating systems1[1]
Operating systems1[1]Operating systems1[1]
Operating systems1[1]
 
Operating system and its function
Operating system and its functionOperating system and its function
Operating system and its function
 
Operating System a Case Study
Operating System a Case StudyOperating System a Case Study
Operating System a Case Study
 
Operating System
Operating SystemOperating System
Operating System
 
Introduction to Operating System
Introduction to Operating SystemIntroduction to Operating System
Introduction to Operating System
 
Operating system and its functions
Operating system and its functionsOperating system and its functions
Operating system and its functions
 
30326851 -operating-system-unit-1-ppt
30326851 -operating-system-unit-1-ppt30326851 -operating-system-unit-1-ppt
30326851 -operating-system-unit-1-ppt
 
Presentation on Operating System & its Components
Presentation on Operating System & its ComponentsPresentation on Operating System & its Components
Presentation on Operating System & its Components
 

Similar a Operating system 2

209979479 study-material
209979479 study-material209979479 study-material
209979479 study-materialhomeworkping8
 
Ch1kiit [compatibility mode]
Ch1kiit [compatibility mode]Ch1kiit [compatibility mode]
Ch1kiit [compatibility mode]Amit Gupta
 
Fundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptxFundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptxUttara University
 
Operating systems
Operating systemsOperating systems
Operating systemsoswaldm80
 
OPERATING.pptx
OPERATING.pptxOPERATING.pptx
OPERATING.pptxEgoGamer
 
Library and Information Science (Operationg System)
Library and Information Science (Operationg System)Library and Information Science (Operationg System)
Library and Information Science (Operationg System)Sumit Kumar Gupta
 
Operating System Lecture Notes
Operating System Lecture NotesOperating System Lecture Notes
Operating System Lecture NotesFellowBuddy.com
 
Basics of Operating System
Basics of Operating SystemBasics of Operating System
Basics of Operating SystemSoumit Ghosh
 
MYSQL DATABASE Operating System Part2 (1).pptx
MYSQL DATABASE Operating System Part2 (1).pptxMYSQL DATABASE Operating System Part2 (1).pptx
MYSQL DATABASE Operating System Part2 (1).pptxArjayBalberan1
 
Advanced computer architecture lesson 1 and 2
Advanced computer architecture lesson 1 and 2Advanced computer architecture lesson 1 and 2
Advanced computer architecture lesson 1 and 2Ismail Mukiibi
 
Operting system
Operting systemOperting system
Operting systemKAnurag2
 
Chp 03 - Software PTI - (Shared).pdf
Chp 03 - Software PTI - (Shared).pdfChp 03 - Software PTI - (Shared).pdf
Chp 03 - Software PTI - (Shared).pdfYUSRA FERNANDO
 
Chp 03 pti - (shared) up
Chp 03   pti - (shared) upChp 03   pti - (shared) up
Chp 03 pti - (shared) upYUSRA FERNANDO
 

Similar a Operating system 2 (20)

209979479 study-material
209979479 study-material209979479 study-material
209979479 study-material
 
Operating System
Operating SystemOperating System
Operating System
 
Ch1kiit [compatibility mode]
Ch1kiit [compatibility mode]Ch1kiit [compatibility mode]
Ch1kiit [compatibility mode]
 
Unit 1 q&a
Unit  1 q&aUnit  1 q&a
Unit 1 q&a
 
Fundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptxFundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptx
 
Os notes
Os notesOs notes
Os notes
 
Operating systems
Operating systemsOperating systems
Operating systems
 
OPERATING.pptx
OPERATING.pptxOPERATING.pptx
OPERATING.pptx
 
LEC 1.pptx
LEC 1.pptxLEC 1.pptx
LEC 1.pptx
 
Library and Information Science (Operationg System)
Library and Information Science (Operationg System)Library and Information Science (Operationg System)
Library and Information Science (Operationg System)
 
Operating System Lecture Notes
Operating System Lecture NotesOperating System Lecture Notes
Operating System Lecture Notes
 
Basics of Operating System
Basics of Operating SystemBasics of Operating System
Basics of Operating System
 
Introduction to OS 1.ppt
Introduction to OS 1.pptIntroduction to OS 1.ppt
Introduction to OS 1.ppt
 
Chapter 2 operating systems
Chapter 2 operating systemsChapter 2 operating systems
Chapter 2 operating systems
 
System software vt
System software vtSystem software vt
System software vt
 
MYSQL DATABASE Operating System Part2 (1).pptx
MYSQL DATABASE Operating System Part2 (1).pptxMYSQL DATABASE Operating System Part2 (1).pptx
MYSQL DATABASE Operating System Part2 (1).pptx
 
Advanced computer architecture lesson 1 and 2
Advanced computer architecture lesson 1 and 2Advanced computer architecture lesson 1 and 2
Advanced computer architecture lesson 1 and 2
 
Operting system
Operting systemOperting system
Operting system
 
Chp 03 - Software PTI - (Shared).pdf
Chp 03 - Software PTI - (Shared).pdfChp 03 - Software PTI - (Shared).pdf
Chp 03 - Software PTI - (Shared).pdf
 
Chp 03 pti - (shared) up
Chp 03   pti - (shared) upChp 03   pti - (shared) up
Chp 03 pti - (shared) up
 

Último

Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 

Último (20)

Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 

Operating system 2

  • 1. Computer Studies Notes The Operating System - 1 - The operating system is the program that manages computer operations An operating system is a software program that provides an interface between the user and the computer and manages thousands of applications. Most computer systems are sold with an operating system installed. Computers that are designed for individual users are called Personal Computers (PCs). PC operating systems are designed to control the operations of programs such as Web browsers, word processors, and e-mail programs. The operating system is stored on disk, but it needs to be loaded into memory (RAM) once the computer is switched on and before any other program can be run. How is this done? The operating system is automatically loaded into memory as soon as you turn on, or boot, the computer. The term booting refers to the process of loading an operating system into a computer’s memory. This process is done by a program (called the bootstrap loader) that is stored permanently in the computer’s electronic circuitry (usually on a ROM chip). Basic functions of any operating system Every computer has an operating system and, regardless of the size and complexity of the computer and its operating system, all operating systems perform the same basic functions: • Managing Resources – These programs coordinate all the computer’s resources including keyboard, mouse, printer, monitor, storage devices and memory. An operating system creates a file structure on the computer hard drive where user data can be stored and retrieved. When a file is saved, the operating system saves it, attaches a name to it, and remembers where it put the file for future use. The way an operating system organizes information into files is called the file system. Most operating systems use a hierarchical file system, which organizes files into directories (folders) under a tree structure. The beginning of the directory system is called the root directory. Screenshot of tree structure when using Windows Explorer. USER INTERFACE is a term used to describe the communication between people and computer systems. CLI (Command Line Interface): is a form of interface where the user types commands for the computer to carry out. (Glossary 10 th ed. P99). GUI (Graphical User Interface): is an interface where the user issues commands by using a pointing device (e.g. mouse) to point and click on icons, buttons, menus and lists on the screen.
  • 2. Computer Studies Notes The Operating System - 2 - • Providing a user interface – Users interact with application programs and computer hardware through a user interface. Almost all operating systems today provide a windows-like Graphical User Interface (GUI) in which graphic objects called icons are used to represent commonly used features. • Running applications – These programs load and run applications such as word processors and spreadsheets. Most operating systems support multitasking, or the ability to run more than one application at a time. When a user requests a program, the operating system locates the application and loads it into the primary memory or RAM of the computer. As more programs are loaded, the operating system must allocate the computer resources. • Support for built-in utility programs –The operating system uses utility programs for maintenance and repairs. Utility programs help identify problems, locate lost files, repair damaged files, and backup data. The figure here shows the progress of the Disk Defragmenter, which is found in Programs > Accessories > System Tools. • Control to the computer hardware – The operating system sits between the programs and the Basic Input Output System (BIOS). The BIOS controls the hardware. All programs that need hardware resources must go through the operating system. The operating system can either access the hardware through the BIOS or through the device drivers. Utility Programs are specialized programs that make computing easier. All kinds of things can happen to a computer system – hard disks can crash, viruses can invade a system, computers can freeze up, operations can slow down, and so on. That’s where utility programs come in. Many operating systems (such as Windows) have utility programs built in for common purposes – they are also known as System Tools ( to find these tools, click on Start / Programs / Accessories / System Tools ). Examples of utility programs are Format, Scan Disk, Disk Cleanup, Disk Defragmenter, and Anti-Virus.
  • 3. Computer Studies Notes The Operating System - 3 - Types of Operating systems The precise nature of an operating system will depend on the application in which it is to be used. For example, the characteristics required for an airline seat reservation system will differ from those required for the control of scientific experiments, or for a desktop computer. Clearly, the operating system design must be strongly influenced by the type of use for which the computer system is intended. Unfortunately it is often the case with ‘general purpose machines’ that the type of use cannot easily be identified; a common criticism of many systems is that, in attempting to be all things to all individuals, they end up being totally satisfactory to no one. We shall examine various types of system and identify some of their characteristics. (1) Single user systems Single user systems, as their name implies, provide a computer system for only one user at a time. They are appropriate for computer dedicated to a single function, or which are so inexpensive as to make sharing not worthwhile. Most microcomputer operating systems (e.g. Microsoft Windows® , which runs on millions of computers world wide) are of the single user type. Single user systems generally provide a simple computer system, which facilitates the running of a variety of software packages (e.g. word processing or spreadsheet) as well as allowing uses to develop and execute programs of their own. The major emphasis is on the provision of an easily used interface, a simple file system, and I/O facilities for keyboard, display, disk and printer. (2) Batch processing system Batch processing was the very first method of processing which was adapted. The main purpose of this system was to enable the computer to move automatically from one job to another, without the operator having to intervene. Jobs (that consist of data and programs) are queued. The computer would then process the jobs one at a time without further human intervention. Batch processing is still used nowadays – e.g. printing thousands of mailing labels. In any computer system, the speed by which the CPU can execute instructions is much higher than that which other peripheral devices can reach. Thus, peripheral devices such as the printer, disk drives, and others, waste a lot of the CPU’s time, because they cannot process their part of the job as quickly as the CPU. This results in a large percentage of CPU idle time. Another inefficiency is that, when a small program is being run, most of main memory remains unused. Therefore, the most two expensive resources of the system – memory and time – are wasted. As processing speed and memory size increased with the advance in technology, the
  • 4. Computer Studies Notes The Operating System - 4 - wastage became even greater. This is operating systems why continued to evolve from the simple batch system. (3) Multiprogramming system The multiprogramming operating system could manage resources more efficiently. More than one user’s program can be resident in main memory at one time. In this system, multiple jobs are loaded into the central memory, and each is allotted some CPU-TIME, a tiny fraction of a second during which it receives the CPU’s attention. When a job’s CPU-TIME is up, it is suspended and control passes to the next job, which can continue from where it left off before. In simpler terms the CPU is switched rapidly between the different programs. This means the system does not have to wait for one job to be completed before starting the next. The simplest multiprogramming systems used a round-robin method, where each job received the same CPU-TIME. More sophisticated systems allowed priorities to be defined for each job, such that the job with the highest priority received the longest CPU-TIME. Such a system minimizes the amount of idle time of the CPU and the amount of unused memory. A complication arises when printing. What happens when two jobs are working concurrently (at the same time) and both are printing their results? A technique known as SPOOLING is adopted, where each job sends any output to be printed to a spool file on backing storage instead of directly to the printer. This spool file joins a queue of other spool files to be printed. The general idea behind multiprogramming is that the computer is working on several programs, which are in memory at one time. (4) Time-sharing system (multi-user) In an interactive system, the user sits at a terminal, which is hooked up to the computer. The user can execute the job, and the output is expected to be reasonably instantaneous, even if other users are executing their own jobs on the same computer. To meet these situations, the principle of time-sharing was introduced in the design of operating systems. The aim of a time-sharing operating system is to give each terminal user a response time (called time-slice) of about three to five seconds.
  • 5. Computer Studies Notes The Operating System - 5 - One must consider that even the fastest typist is slower that the CPU, and most people are not fast typists. Sometimes, several seconds or minutes might pass by while the user is deciding what to do next, or while thinking about the cause of an error in the program. The operating system would therefore poll each terminal every one or two seconds – that is, the computer makes an enquiry at the terminal by checking if any characters are present in the keyboard buffer. If there has been no activity since the last polling, the computer simply goes on to the next terminal. But if a new command has been issued, the computer will allocate a time-slice to the user. During this time, the computer devotes the full attention to this user. When the time slice is up or the user’s requests have been satisfied, the computer goes on the next terminal. A time-sharing system works on the same principles as a multiprogramming system, except that now the jobs are interactive. (5) Real-time systems Immediate processing and up-to-date information are major characteristics of a real-time system. Such a system, the information in files has to be located very quickly, and the updating of records must be fast. The system must be able to respond quickly to an enquiry otherwise it becomes impractical. In a real- time system a transaction is processed to completion at the time is occurs, ensuring that the information in the files reflects the true (real) situation. Examples of a real-time system would be: a flight reservation system, a banking situation. (6) Networked systems As technology advanced, computers became cheap enough for all users of a system to have a microcomputer of their own. Of course, a stand-alone, single-user microcomputer can do a lot of work, but it has the following disadvantages: • Sharing data between different users becomes difficult. • Peripherals such as printers have to be bought for each microcomputer, and will lay idle for most of the time. Such considerations led to the development of networked systems, where many computers are connected together to facilitate the sharing of data and peripherals. A network operating system must handle the communication between the networked computers, managing the data traffic and the sharing of system’s resources.
  • 6. Computer Studies Notes The Operating System - 6 - Questions 1. Explain the difference between: a. Systems software and Application software. [2] b. GUI and CLI. [2] 2. Provide a reason to explain each of the following statement: a. A GUI is more user friendly than a CLI. [2] 3. With reference to OPERATING SYSTEMS, briefly explain each of the following: a. Batch processing. [1] b. User Interface. [1] c. Print Spooling [1] d. Resource sharing. [1] 4. a. What is an Operating System? [2] b. The operating system is usually held on disk and has to be loaded in main memory once the computer is switched on, before any other program can be run. What is this process called? [1] An operating system has a window-based user interface. c. Explain what is meant by a window-based interface. [2] d. Name ONE advantage and ONE disadvantage of such an interface. [2] Batch processing and real-time processing are two types of operating system modes. e. Differentiate between the two types of operating modes. Identify a suitable application for each. [4] An airline booking system allows more than one user to access the system at the same time. f. What term best describes the system that allows several users to access it simultaneously? [1] g. Explain how this is achieved on a single processor. [3] h. Identify THREE features in which such an operating system would differ form a single-user operating system. [3]