Operating System Notes-1
Operating System Notes-1
OPERATING SYSTEMS
a) Operating Systems
Definition: An operating system refers to the computer software that provides the interface
between the hardware, the user and the application software. It governs and manages the
computer resources and activities.
Categories of operating systems
i) Resident components
ii) Non-resident
Resident component
These are programs of OS that must remain in the RAM at all times. Such programs are
loaded from the disk as soon as the computer is switched on. These include:
a) Task manager
b) Device drivers
c) File manager
The process of loading the OS from the disc into main memory is called booting the computer.
Booting refers to the process of starting up a computer.
There are two ways of booting up a computer;
a) Cold booting – done using the power button on the computer’s system
unit. Normally done when the computer is initially off.
b) Warm booting – this is done when the computer hangs (it temporarily
stops to receive instructions). It is done by use of the reset/restart button
on system unit or by a combination of the following keys from the
keyboard; CTRL + ALT +DEL.
1. During booting, a small program known as bootstrap which
is stored in ROM is executed.
2. During execution, the program checks:-
i) Mouse, keyboard and monitor, discs are functioning well
ii) Carries out diagnostic check of the CPU, RAM, ROM to confirm that none of
them is has a fault.
© By Nyambane Moses Nyandusi. All rights reserved for this module. No part of this module may be
reproduced or transmitted in any form or by any means, electronic, mechanical, photocopying,
recording, or otherwise, without prior written permission of the author.
FOUNDATION OF INFORMATION COMMUNICATION TECHNOLOGY
iii) If all items are working well, the bootstrap loads program of the memory
resident portion of the OS from the disk into the memory.
iv) The bootstrap then passes control to the OS by causing the first instruction of
OS to be executed.
v) The OS then display on the screen an interface through which one can interact
with the computer.
Non-resident
They are only loaded into a RAM as and when it is needed. These include:-
i) Program development tools
ii) House-keeping utilities
iii) Sorting programs that manage data into some required order
iv) Special maths programs
TYPES OF OPERATING SYSTEMS
a) OS is classified into;-
i) Number of tasks handled concurrently
ii) Number of users
iii) Human-computer Interface (HCI)
b) Classification according to tasks handled concurrently
i) Single program OS
ii) Multitasking OS
Single program
It allows processing of only one user program in the main memory at a time. User can only run
one interface program at a time. The user must exit from the program before loading and running
another program. Example Ms-DOS
Multitasking OS
It allows single CPU to execute what appears to be more than one program at the same time. The
CPU switches its attention between programs as it receives requests for processing, executing
instructions from one program and then from another using the concept of giving a time slices to
each application.
© By Nyambane Moses Nyandusi. All rights reserved for this module. No part of this module may be
reproduced or transmitted in any form or by any means, electronic, mechanical, photocopying,
recording, or otherwise, without prior written permission of the author.
FOUNDATION OF INFORMATION COMMUNICATION TECHNOLOGY
© By Nyambane Moses Nyandusi. All rights reserved for this module. No part of this module may be
reproduced or transmitted in any form or by any means, electronic, mechanical, photocopying,
recording, or otherwise, without prior written permission of the author.
FOUNDATION OF INFORMATION COMMUNICATION TECHNOLOGY
© By Nyambane Moses Nyandusi. All rights reserved for this module. No part of this module may be
reproduced or transmitted in any form or by any means, electronic, mechanical, photocopying,
recording, or otherwise, without prior written permission of the author.
FOUNDATION OF INFORMATION COMMUNICATION TECHNOLOGY
Directories/folders/files management
i) Creating folders/files
Creating a file or folder on the desktop
a) Right click an empty location on the desktop
b) Point at New from the pop - up menu
c) To create a file, select the name of the program to create the file by e.g. Microsoft Word.
To create a folder, click on folder from the side kick menu
d) Type the name of the file or the folder
e) Press enter
Creating a file or folder in another folder window
a) Click on the file menu
b) Point at New from the pop - up menu
c) To create a file, select the name of the program to create the file by e.g. Microsoft Word.
To create a folder, click on folder from the side kick menu
d) Type the name of the file or the folder
e) Press enter
NB: A folder in another folder is called a subfolder.
ii) Copying files and folders
Duplicating the file or the folder in the same storage location or another.
Steps
a) Select the file/folder to copy
b) Click on the edit menu
c) Click on copy from the pull down menu
d) Open the new location to copy the folder to
e) Click on edit menu again
f) Click on paste from the pull down menu
Assignment
© By Nyambane Moses Nyandusi. All rights reserved for this module. No part of this module may be
reproduced or transmitted in any form or by any means, electronic, mechanical, photocopying,
recording, or otherwise, without prior written permission of the author.
FOUNDATION OF INFORMATION COMMUNICATION TECHNOLOGY
Locate the shortcut commands from the standard toolbar used for copying and pasting
files and folders.
iii) Moving/copying folders/files
Relocating the file or the folder to same storage location or another location.
Steps
a) Select the file/folder to move
b) Click on the edit menu
c) Click on cut from the pull down menu
d) Open the new location to move the folder to
e) Click on edit menu again
f) Click on paste from the pull down menu
Assignment
Locate the shortcut commands from the standard toolbar used for moving and pasting
files and folders.
iv) Renaming files/folders
File and folder names can be changed
Steps
a) Select the file/folder to rename
b) Click on the file menu
c) Click on rename from the pull down menu
d) Type the new name and then press enter from the keyboard
Or
Right click the file or the folder to rename
Click on rename from the popup menu
Type the name then press enter key from the keyboard
v) Deleting files/folders
© By Nyambane Moses Nyandusi. All rights reserved for this module. No part of this module may be
reproduced or transmitted in any form or by any means, electronic, mechanical, photocopying,
recording, or otherwise, without prior written permission of the author.
FOUNDATION OF INFORMATION COMMUNICATION TECHNOLOGY
Folders stored in drive c: / are temporary send to the recycle bin when deleted and can be
later deleted permanently or restored to their original locations.
Those stored in removable media like floppy disks and flash disks are not sent to the
recycle bin and may not be recovered.
Steps
a) Select the file/folder to delete
b) Click on the file menu
c) Click on delete and confirm deletion
OR
Select the file/folder, press delete key form keyboard the confirm deletion
vi) Searching and sorting files
vii) File security and protection
There are different methods used to ensure that files and folders are free from
unauthorized access. This may include
a) Assigning passwords to open and write files
b) Assigning log-in user names and password for the computers containing the files
c) Applying the read-only attributes to ensure that new data cannot be accidentally written
in the file
d) Write protecting storage media like the floppy disks
e) Applying hide attributes to ensure that the files are not visible to the unauthorised access
f) Encrypting data/information in the file
viii) Drive/file/folder properties
Relocating the file or the folder to same storage location or another location.
Steps
a) Select the drive/file/folder to view its properties
b) Click on the file menu
c) Click on properties from the pull down menu. The properties dialog box
appears.
© By Nyambane Moses Nyandusi. All rights reserved for this module. No part of this module may be
reproduced or transmitted in any form or by any means, electronic, mechanical, photocopying,
recording, or otherwise, without prior written permission of the author.
FOUNDATION OF INFORMATION COMMUNICATION TECHNOLOGY
d) Properties window appears. Using the properties you be able to ascertain the
size and attributes of the drive/file/folder etc
e) Managing discs
i) Assigning a volume label
ii) Checking disc storage status
iii) Formatting a disc
iv) Scanning a disc
© By Nyambane Moses Nyandusi. All rights reserved for this module. No part of this module may be
reproduced or transmitted in any form or by any means, electronic, mechanical, photocopying,
recording, or otherwise, without prior written permission of the author.