0% found this document useful (0 votes)
42 views8 pages

1.5.1 Operating System

An operating system is essential software that manages computer hardware resources and provides common services for application software. It performs key tasks like hardware management, memory management, file management, multiprogramming, multitasking, and interrupt management. Popular operating systems include Windows, Mac OS, and UNIX. Without an operating system, a user cannot run application programs on their computer.

Uploaded by

talent
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views8 pages

1.5.1 Operating System

An operating system is essential software that manages computer hardware resources and provides common services for application software. It performs key tasks like hardware management, memory management, file management, multiprogramming, multitasking, and interrupt management. Popular operating systems include Windows, Mac OS, and UNIX. Without an operating system, a user cannot run application programs on their computer.

Uploaded by

talent
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

1.

5 SYSTEM SOFTWARE AHMED THAKUR

1.5.1 OPERATING SYSTEM

 describe why a computer system requires an operating system

Operating System
The software that controls the allocation and usage of hardware resources
such as memory, central processing unit (CPU) time, disk space, and
peripheral devices. The operating system is the foundation software on which
applications depend. Popular operating systems include Windows 98,
Windows NT, Mac OS, and UNIX. Acronym: OS

An operating system (OS) is a set of programs that manage computer


hardware resources and provide common services for application software.
The operating system is the most important type of system software in a
computer system. Without an operating system, a user cannot run an
application program on their computer (unless the application program is self-
booting).

 Explain the key management tasks carried out by the operating system

TASKS OF OPERATING SYSTEM


 Hardware Management
 Software Management
 Memory Management
 File Management
 Multiprogramming
 Multitasking
 Batch Processing
 Interrupt Management
 Virtual Storage
 Spooling
 Buffer
 Multiprocessing
 Time Sharing
 Time Slice
 Turnaround Time
 Polling
etc…

Spooling: The feature of the operating system of storing a data document in a queue, where it awaits
its turn to be printed.

Multiprogramming: A form of processing in which a computer holds more than one program in
memory and works on them in round-robin fashion-that is, by sharing out the processor's time so that
each program receives some attention some of the time. This way of working is in contrast to using
the processor to run one program at a time.

Multitasking: A form of processing supported by most current operating systems in which a computer
works on multiple tasks-roughly, separate "pieces" of work-seemingly at the same time by parceling
out the processor's time among the different tasks. Multitasking can be either cooperative or
preemptive. In the former, the operating system relies on the task to voluntarily cede control to
another task; in the latter, the operating system decides which task receives priority.

Multiprocessing: A mode of operation in which two or more connected and roughly equal
processing units each carry out one or more processes (programs or sets of instructions) in tandem.
In multiprocessing, each processing unit works on a different set of instructions or on different parts
of the same process. The objective is increased speed or computing power, the same as in parallel
processing and in the use of special units called coprocessors.

COMPUTER SCIENCE https://www.facebook.com/groups/OAComputers/


[email protected], 0300-8268885 Page 1
9608
1.5 SYSTEM SOFTWARE AHMED THAKUR

1.5.1 OPERATING SYSTEM

Virtual Storage: Memory that appears to an application to be larger and more uniform than it is.
Virtual memory may be partially simulated by secondary storage such as a hard disk. Applications
access memory through virtual addresses, which are translated (mapped) by special hardware and
software onto physical addresses. Acronym: VM. Also called disk memory.

Batch Processing: The practice of acquiring programs and data sets from users, running them one or
a few at a time, and then providing the results to the users.

OR

The practice of storing transactions for a period of time before they are posted to a master file,
typically in a separate operation undertaken at night.

Time Sharing: The feature of a network based operating system by means of which more than on or
all the workstations can share the time of processing and accessing the same data at the same time
is called time sharing.

OR

It is the feature of network based operating system in which the operating system assigns equal
amount of time to each terminal / workstation to perform a single task in the server.

Time Slice: A brief period of time during which a particular task is given control of the microprocessor
in a time-sharing multitasking environment.

Turnaround Time: The time between submitting a job and receiving the output is known as
turnaround time.

Polling: The process of periodically determining the status of each device in a set so that the active
program can process the events generated by each device, such as whether a mouse button was
pressed or whether new data is available at a serial port.
This can be contrasted with event-driven processing, in which the operating system alerts a program
or routine to the occurrence of an event by means of an interrupt or message rather than having to
check each device in turn.

Interrupt
An interrupt is a signal to the processor emitted by hardware or software indicating an event that
needs immediate attention.

An interrupt alerts the processor to a high-priority condition requiring the interruption of the current
code the processor is executing. The processor responds by suspending its current activities, saving
its state, and executing a function called an interrupt handler (or an interrupt service routine, ISR) to
deal with the event. This interruption is temporary, and, after the interrupt handler finishes, the
processor resumes normal activities.

The table below shows the priority from highest to lowest


INTERRUPT EXAMPLES
 Reset Button pressed
 Power Supply failure
Hardware commands
 Power-down command (screen off, hibernate etc)
These send a physical signal to the CPU via the interrupt chip.
Software is also allowed to issue interrupts to the CPU. For
Program / Software
example software has detected that an error has occurred

COMPUTER SCIENCE https://www.facebook.com/groups/OAComputers/


[email protected], 0300-8268885 Page 2
9608
1.5 SYSTEM SOFTWARE AHMED THAKUR

1.5.1 OPERATING SYSTEM

and will issue a software interrupt for the CPU to run some
instructions to try to clear the error.
 Some programs trigger a 'timer interrupt' for example a
data-logging application that *has* to read an input
Timer sensor every 1 second.
 Or perhaps a screen recording application that has to
read the next screen update.
Devices such as the keyboard and mouse demand attention.
Otherwise, your mouse and keyboard inputs would never get
a look-in! Other Input - Output devices include
Input / Output devices  Hard Disk
 Optical Disk
 Printer
 Graphics tablet

FILE MANAGEMENT TASKS OF OPERATING SYSTEM


 protect files against unauthorized access
 allocate/de-allocate space for files on storage device
 keep track of allocation units occupied by each file
 maintain the file allocation table (FAT)
 control file access rights and permission/passwords
 load/save/copy
 load/save
 sort
 merge
 search
 delete
 file security
 de-fragment
 rename
 calculate file size/space left
 automatic backup
 directories

FUNCTIONS OF AN OPERATING SYSTEM


It deals with input and output, which involves:
 Accepting data from input devices and transferring it to the computer’s memory.
 Making sure that any output is sent to the correct output device.
 It manages the transfer of data between the computer’s memory and backing storage devices.
 It manages system resources, which involves:
 Allocating memory space to programs and data.
 Keeping track of which parts of the memory have already been allocated and the parts that
are still free.

It deals with the loading of applications software into memory and controls the execution, or
‘running’ of them. It also provides a way for applications software to communicate with the
computer’s hardware.

It deals with any errors that occur when a program is being run, or when data is being transferred
somewhere, and informs the user if necessary. It manages system security, which involves:
 Monitoring and restricting access to programs and data.
 Preventing unauthorised access to the system.
 It provides a human computer interface, or HCI, for the user.

USER-BASED TASKING

COMPUTER SCIENCE https://www.facebook.com/groups/OAComputers/


[email protected], 0300-8268885 Page 3
9608
1.5 SYSTEM SOFTWARE AHMED THAKUR

1.5.1 OPERATING SYSTEM

 Single-user, single task


As the name implies, this operating system is designed to manage the computer so that one user
can effectively do one thing at a time. The Palm OS for Palm handheld computers is a good
example of a modern single-user, single-task operating system.

 Single-user, multi-tasking
This is the type of operating system most people use on their desktop and laptop computers
today. Microsoft's Windows and Apple's MacOS platforms are both examples of operating
systems that will let a single user have several programs in operation at the same time. For
example, it's entirely possible for a Windows user to be writing a note in a word processor while
downloading a file from the Internet while printing the text of an e-mail message.

 Multi-user
A multi-user operating system allows many different users to take advantage of the computer's
resources simultaneously. The operating system must make sure that the requirements of the
various users are balanced, and that each of the programs they are using has sufficient and
separate resources so that a problem with one user doesn't affect the entire community of users.
Unix, VMS and mainframe operating systems, such as MVS, are examples of multi-user operating
systems.

MODES (METHODS) OF OPERATING SYSTEM (Additional)


A processing method is the way that a particular operating system deals with input. There are three
main types of processing method: real-time, transaction and batch processing.
 Batch processing Systems
 Online processing Systems
 Real-time Processing systems

 A batch processing system does not respond to input straight away. Instead, input is collected
together into a ‘batch’ while the system is off-line. When a batch is ready to be processed the
system goes on-line to carry out the processing of the data.

Batch processing is non-interactive. This means that the user cannot get an immediate response
to input as they would with an interactive system.

Examples of applications that use batch processing include producing gas, electricity or water
bills and marking OMR sheets from multiple choice examinations.

 Real-time processing systems process input data so quickly that the resulting output can affect
further input. It is used for applications where it is essential that the computer responds straight
away to input.

Examples of applications where real-time processing is used are missile defence systems,
automatic pilot systems on aircraft and monitoring intensive care patients in a hospital.

 Transaction, or on-line, processing, is used for applications where input needs to be dealt with
straight away but it is not critical if there is a slight delay in the time that it takes for the computer
to respond to requests.

Examples of applications where transaction processing is used include the on-line seat booking
systems used by airlines and the stock control systems used by catalogue companies like Argos.

A system where transaction processing is used will always give an up-to-the-minute picture of the
current situation.

OPERATING SYSTEM INTERFACES

COMPUTER SCIENCE https://www.facebook.com/groups/OAComputers/


[email protected], 0300-8268885 Page 4
9608
1.5 SYSTEM SOFTWARE AHMED THAKUR

1.5.1 OPERATING SYSTEM

People need a way of interacting with machines such as computers, PDAs, mobile phones, ATM
machines etc.

A User Interface is the method/environment of software that enables you to provide instructions and
to control the device.

Following are the types of User Interfaces:

Main Interfaces
 Command Line Interface (CLI) or Text based
 Graphical User Interface (GUI)

Additional Interfaces
 Menu based
 Form based
 Natural language

Extended Interfaces
 Gesture Driven

MAIN INTERFACES
 Command Line Interface (CLI) or Text based
Many years ago when computers were not very powerful they could not display the colourful
graphics required for a GUI. The only interface available to most computer uses was the
command line.

The user would see nothing but a black screen. They would have to type a command to make
anything happen. e.g. To copy a text file called NOTES from a floppy disc to the hard drive the
user would have to type: C:\> COPY A:\NOTES.TXT C:\

Screenshot from the MS DOS operating system using a command line interface.

Command-line interfaces are still used today on many servers.

These computers need to use all of their computing power running networks, etc. so they do not
use GUIs.

 Graphical User Interface (GUI)

A GUI is an interface built around visual (graphical) things:


 Windows are regions of the screen used to display information

COMPUTER SCIENCE https://www.facebook.com/groups/OAComputers/


[email protected], 0300-8268885 Page 5
9608
1.5 SYSTEM SOFTWARE AHMED THAKUR

1.5.1 OPERATING SYSTEM

 Icons are small pictures that are used to represent folders, software, etc.
 Menus are lists of options the user can select from.
 A pointer is an arrow that can be moved around the screen and is used to select things

Windows 7/8/10 are examples of operating system with a GUI.

GUIs are quite easy to use due to the visual nature of the interface – the user has lots of visual
clues as to what things do. However, to display all of the nice graphics required by a GUI takes
a lot of computing power so quite a powerful computer is needed.

A GUI is sometimes called a WIMP interface: Windows, Icons, Menus, Pointer

ADDITIONAL INTERFACES
 Menu Driven
A menu driven interface is commonly used on cash machines (also known as automated teller
machines, or ATMs), ticket machines and information kiosks (for example in a museum). They
provide a simple and easy to use interface comprised of a series of menus and sub-menus which
the user accesses by pressing buttons, often on a touch-screen device.

COMPUTER SCIENCE https://www.facebook.com/groups/OAComputers/


[email protected], 0300-8268885 Page 6
9608
1.5 SYSTEM SOFTWARE AHMED THAKUR

1.5.1 OPERATING SYSTEM

 Form based
A form-based interface uses text-boxes, drop-down menus, text areas, check boxes, radio boxes
and buttons to create an electronic form which a user completes in order to enter data into a
system. This is commonly used on websites to gather data from a user, or in call centres to allow
operators to quickly enter information gathered over the phone.

 Natural language
A natural language interface is a spoken interface where the user interacts with the computer
by talking to it. Sometimes referred to as a 'conversational interface', this interface simulates
having a conversation with a computer. Made famous by science fiction (such as in Star Trek),
natural language systems are not yet advanced enough to be in wide-spread use. Commonly
used by telephone systems as an alternative to the user pressing numbered buttons the user can
speak their responses instead.

This is the kind of interface used by the popular iPhone application called Siri.

EXTENDED INTERFACES
 Gesture Driven
A recent innovation in user-interfaces is the gesture-driven interface. This is an interface which is
controlled by a human making physical gestures which are then detected by the computer. The

COMPUTER SCIENCE https://www.facebook.com/groups/OAComputers/


[email protected], 0300-8268885 Page 7
9608
1.5 SYSTEM SOFTWARE AHMED THAKUR

1.5.1 OPERATING SYSTEM

idea was discussed at the TED conference by Pranav Mistry who invented the Sixth Sense device.
This uses cameras to detect human motion which it uses to determine what the user wants to do.

Other examples include the increasing use on touch-screen devices (such as mobile phones and
tablet computers) of gestures such as 'pinching' to zoom in and out. Some games consoles are
starting to use gesture driven interfaces. The Wii was the first such console which used a hand-
held controller to detect gestures. More recently the xBox introduced a system similar to
SixthSense which uses a camera to detect motion.

More on:
 YouTube: Pranav Mistry presenting the Sixth Sense device at the TED conference
https://www.youtube.com/watch?v=fQEHtvNsfKE

 MIT: SixthSense project page


http://www.pranavmistry.com/projects/sixthsense/

COMPUTER SCIENCE https://www.facebook.com/groups/OAComputers/


[email protected], 0300-8268885 Page 8
9608

You might also like