Professional Documents
Culture Documents
An operating system also contains instructions that allow you to run application software. A
computer cannot function without an operating system.
User
(Runs application program)
Application software
(Sends user request to OS)
Operating system
(Receives and controls execution of
application requests)
Hardware
(Receives and does OS commands)
1
Operating system (OS)
2. Memory Management
The OS optimizes the use of random access memory (RAM). The operating system
has the responsibility to allocate, or assign, these items to an area of memory while
they are being processed and to clear these items from memory when they are no
longer required by the CPU.
3. Job scheduling
To optimize the use of the processor, the OS has the mandate to select which job will
be processed first. e.g. the OS may decide to process small jobs first.
4. Interrupt handling
What is an interrupt? It is a break from the normal sequential processing of
instruction in a program.
An external request causes the processor to stop executing the current task and do
some thing else before returning the control back to the program that was interrupted.
It’s the function of the OS to handle all the interrupt and ensure that the control of the
program is handled back to its original place before the interrupt.
5. Error handling
The OS alerting the user when there is an error and where possible makes suggestions
on how to correct the error. Therefore the OS monitor both the software and the
hardware to ensure smooth operation.
The OS tries as much as possible to avoid a situation where a particular task holds a
needed resource and refuses to release it for the use of other tasks. When several tasks
do this, an undesirable situation called deadlock occurs
7. Configuring Devices
To communicate with each device in the computer, the operating system relies on
device drivers. Each device on a computer, such as the mouse, keyboard, monitor, and
printer, has its own specialized set of commands and thus requires its own device
driver, also called a driver. These devices will not function unless the correct device
driver is installed on the computer.
2
Operating system (OS)
9. Administering Security
Before you can use a computer, it’s the operating system that administers security by
allowing each user to log on, into the computer by entering the user name and the
password into the computer.
If your entries match the user name and password kept on file, you are granted access:
otherwise, you are denied access.
Operating systems also contain a type of program called a file manager, which
performs functions related to storage and file management. Some of the storage and
file management functions performed by a file manager are formatting and copying
disks; displaying a list of files on a storage medium; checking the amount of used or
free space on a storage medium; and copying, renaming, deleting, moving, and sorting
files.
3
Operating system (OS)
a) A single user
Allows only one user to run one program at a time. Suppose, for example, you are
typing a memorandum in a word processing program and decide to browse the Web
for more information. If you are working with a single user operating system, you
must quit/exit the word processing program before you can run the Web browser.
Example of single user OS is MS DOS
i. DOS
ii. Windows CE
iii. UNIX
iv. Linux
v. NetWare
vi. Windows 95
vii. Windows 97
viii. Windows 98
ix. Windows 2000
x. Windows XP
xi. Windows Vista
xii. Windows 7
4
Operating system (OS)
a) Command line
The user interacts with the computer by typing a command at the prompt found on a
command line. The computer reads the instruction from the command line and
executes them example include MS DOS
Types of files
System file – contain information that is critical for the operation of the
computer example include config.sys, io.sys etc
Application file – hold programs and are executable e.g. win98.exe
Data file – contain user specified data e.g. sgccat1.doc
5
Operating system (OS)
ii.Directories / folders
It's a named storage area where the user can store related files to enable easy access
Subfolders
A large folder may be divided into smaller units called subfolder. Therefore a subfolder or a
subdirectory is a folder/directory within another folder/directory
6
Operating system (OS)
v. Moving files/folders
Refers to moving files and folders to another location.
Procedure
a) Using My computer icon right click
b) From the drop down list click on Explorer.
c) From the explorer window on the edit menu, click cut
d) Select the drive or folder where you want the item to be copied.
e) From the edit menu click Paste.
Restoring deleted files and folders from the recycle bin to its original location proceed as follows
a) Double click the recycle bin Icon.
b) Select the deleted item (or items) to be restored.
c) Click on file and then restore
Functions of a file
i. Storage of data
ii. Organization of information
7
Operating system (OS)
Warning!
Do not attempt these operations on disks without the guidance of the teacher. It is preferable to use
the floppy disk rather than the hard disk to perform these operations because some of them can easily
lead to loss of data and information stored on the hard disk.
i. Formatting Disk
Is process of preparing a new disk for use by creating sectors and tracks on the surface of
disk
Procedure
a) Put a new unformatted disk into the floppy drive, USB port for the flash disk etc
b) Double click my computer icon
c) Right click the icon labeled 3 ¼ floppy (A:) or the removable disk then select format
d) Select the disk capacity e.g. 1.44MB for floppy, format type i.e. either quick erase or
full
e) Give the diskettes/flash disk an internal name (label).
f) Click Start to begin formatting.
g) Once the process is over, click close
8
Operating system (OS)
v. Backing up Data
The tool enables the user to create copies of data and programs on separate storage areas to
avoid losing of data and programs incase the storage device fails.
Procedure to Backing up Data
a) Click the start button, point to programs, Accessories, system tools then click on
Backup
b) A welcome to Microsoft Backup dialog box appears, click OK to close it.
c) In the Microsoft Backup dialog box, select the files and/or folders you want to
backup by placing checkmarks next to their names. When all the files in a folder are
selected, it will appear gray.
d) Follow the on screen instructions to accomplish the operation
vi. Scanning Storage Device
This tool helps the user to check up and repair minor storage problems e.g. lost storage or
damaged surface.
Examples of antiviruses
Norton anti-virus
Escan
MacAfee
Avira.
Avast
Kaspersky
Nod 32