Operating Systems
Operating Systems
- An operating system is a set of programmes that control execution of user’s application and
enables the user to access hardware and software resources of A computer.
- Os consists of 2 main parts
Shell outer part of OS
Kernel the inner part of OS mainly called the operating system
Functions
Resources allocation
- OS allocates computer resources such as CPU timer ,main memory ,secondary storage and input
and output for use by application programs each resources is given unique identification number
called interrupt request [IRQ]
- This reduces poor resource allocation due to a situation called dead lock.
- Dead lock is a situation where a particular job holds a request resource and fails to release it.
Memory management
- The OS ensures that each program and data it requires are allocated adequate space in memory
- The OS divides the main memory into blocks of size called page Frame. Each task is allocated a
page frame and the remaining task is sent back to the secondary storage.
Error handling
- The OS alerts the user of errors arising out of the illegal operations, hardware or software failures.
Interrupt handling
- An interrupt is a break from the normal sequential processing of instructions in a program.
- The OS determines the causes of the interrupt and transfers the control to the most appropriate
program.
Types of OS
- Operating system can be classified according to,
a. Number of tasks
b. Number of users
c. User interface
Drives
- A storage location on the computer recognized as a drive .they are given labels a-z for
identification
- This is where information or data can be stored to or read from
Folders / directory
- This is named storage location where related files can be stored
- Root directory or folder –it’s a main folder / directory where other folders originate from
- Sub folders / sub directory –a folder created inside another folder /directory
Files
- A file is a collection of related data given unique name for ease of access
Details of a file
i. A unique name and optional extension
ii. The name and the Extension are separated by a period (.) e.g.
June.doc
June – name
Doc – extension
iii. Extension is used to identify the type of files e.g
Doc –is a word processor file
Txt –is a plain file
Sys –is a system file
iv. The size of the data and time the file was created
Background
- This is the work space area on the monitor on which icons and running tasks are placed
Icons
- This is the graphical representation of information on a desktop .They are manipulated using
pointing devices common on the desktop e.g
My computer
Recycle bin
Internet explore
My documents
Taskbar
- It enables the user to easily switch between different programs and tasks that are currently running
- The task bar has 3 main parts namely
Start button- the left most button on the taskbar that the user clicks to display the start menu
Task manager –this is the band where the buttons of currently running tasks are displayed
System tray – this is the right part of the task bar .it has the icons of tasks running in background but are
not displayed on the screen e.g
Time
Calendar
Antivirus program
Volume control
a. Windows explorer
- It displays files and folders in a hierarchy or tree structure
- This is displayed from the highest level i.e. the root directory [c:/ >]to the folders and files
- Explorer divides its windows into two panes
Left pane displays a tree of drives and folders
Right pane displays a list of files and subfolders in a particular open drive or folder
Procedures of display
b. My computer
- Double click on my computer icon, gives you a graphical view of what is inside the computer this
include drives, control panels and other resources.
To display files and folders from a particular drive
- Double click a drive icon a window appears displaying files /folders
- Double click a folder to display its contents
- Double click the drive c to display its contents
- On these windows, you can start manipulating your files / folders
Title bar- a bar across the top of the window that displays the name of the current program or task
On the right of the title bar are 3 tiny buttons namely:-
Minimize button- it reduces a window by pressing a button which is placed on the task bar.
Restore/maximize button-it stretches the window to cover the entire desktop on restoring it to its
original size.
The close button-is used to exit application
Menu bar – provides a list of commands that can be used to manipulate a task e.g to save a document,
click file-save
Tool bar- these are buttons arranged in arrow that are short cuts to menu commands.
Working area –this is the working area where you can create your documents.
Status bar- this is the an interactive white strip at the button of the application window that acts as a
communication link between the user and the OS such interactive activities include ;saving , opening a file ,
printing ,cursor position e.t.c
Scroll button and arrow- scrolling is the moving up, down, left or right of the document. Window on the
screen if it is too large to fit. Scroll buttons and arrows are horizontal and vertical buttons at the borders of
a window used to scroll through long documents.
Procedure
Formatting
- The process of preparing a new disk for use by creating sectors and tracks on the surface of the
disk.
Procedure for formatting
- Insert media disk into the floppy or USB port
- Double click my computer
- Right click the drive
- On the shorten menu, click format
- In the format dialogue box, choose a file system FA132,
- Specify the capacity and the type in the drive label,
- Click start to start formalities.
- Click close.
Scanning storage devices for problems [scandisk]
- This tool helps the user to check up and repair minor problems e.g lost storage or damaged surface
Procedure to scan drive for errors
- In my computer window, right click the drive
Disk defragmentation
- Refers to arranging of the scattered folders and files on a storage media for easy access of files and
folders
Procedure
- In my computer window right click the drive on the shortcut menu click properties
- In the properties dialogue box click tools tab,
- Click defragment now. Disk defragmenter is displayed.
- Select the volume of defragment
- Click defragment button to start the process.
- Wait for the process to complete then close the defragmenter.
Disk compression
- This tool helps in consolidating files and folders in smaller storage areas hence creating more
space on the storage device.
Procedure to compress drive
- Double click my computer
- Right click the drive you want to compress.
- Click properties.
- On the general tab select compress drive to save disk space and then click OK
Procedure to compress a file or folder
- Open drive where the file or folder is located
- Right click the file or folder and then click properties
- On the general tab click advance button
- Select and then click OK
- In the properties dialogue click ok to start the zip process.
- In confirm the attribute changes dialogue box whether to zip the folder only or the entire content
and then click OK
Backing up data
- The tools enable the user to create copies of data and program on separate storage areas to avoid
loosing of data and program incase the storage device fails.
Procedure to backup data from hard disk
- In my computer window right click the hard drive
Disk partitioning
- This refers to the process of dividing large physical disk into two or more portions called logical
drives.
- A logical drive is assigned a separate drive letter.
Installing windows XP
- There are two methods of installing windows XP
- Upgrade from previous window-this is installing on an existing lower version of windows OS.
- Clean installation-this is done on a new computer that comes without the OS.
Clean installation of windows XP
- The computer BIOS should be set up so that the computer boots from a CD/DVD.
Procedure of installation
a. Insert the CD /DVD rom into the CD/DVD drive.
b. Turn n the computer. The installation process proceeds from the booting steps to the CD/DVD
initialization phase.
c. Partition and format the drive into either FAT or NTFS file system.
d. Windows XP copies all the files into the hard disk
e. Windows XP will re boot and take you through the installation process.
f. Once windows XP are successfully installed you may be requested to set up user accounts and
connect to the internet for update.