Introduction to Computer science notes Part 1a
Introduction to Computer science notes Part 1a
BY
SAMUEL KAKUBA
1.2 OBJECTIVES
After going through this lesson you would be able to:
familiarize yourself with characteristics of computers
identify the basic components of a computer
explain the importance of various units of a computer
differentiate between system software and application
software
explain the importance of operating system
get acquainted with open source
appreciate the need of computer security
Speed
Diligence
Versatility
Data is entered into the computer through input devices like the keyboard, then it is
received by the main memory (RAM) which stores it temporarily as it awaits to be
processed, it is then sent bit by bit to the central processing unit for processing and
finally it is output through the output devices like a printer or stored on secondary
storage devices like a hard disk.
1.4.2 Memory
Computer’s memory can be classified into two types; primary
memory and secondary memory
b. Secondary Memory
Hard Disk
a) Input Devices
Numeric Keypad
b. Output Devices:
Output device receives information from the CPU and
presents it to the user in the desired from. The processed
data, stored in the memory of the computer is sent to the
output unit, which then converts it into a form that can
be understood by the user. The output is usually
produced in one of the two ways – on the display device,
or on paper (hard copy).
Page 11 of 36
Basic Concepts in Computing by Samuel Kakuba
1. Machine language
2. Assembly language
3. High level language
a. Compiler
Page 13 of 36
Basic Concepts in Computing by Samuel Kakuba
b. Interpreter
Page 15 of 36
Basic Concepts in Computing by Samuel Kakuba
Functions of operating system
Hardware management. It enables a computer to communicate with peripheral
devices such as a printer, mouse etc. it controls all the input/output devices and
the flow of data or information e.g. telling the monitor to display the results.
Software management. It provides a mechanism for initiating processes that
include programs such as Microsoft word and Microsoft Power Point.
Data management. It manages files stored on a hard disk and other mass storage
devices. It also performs file management tasks like renaming and deleting.
It provides memory space to programs for execution.
Coordinates the flow of data between the various application programs and users.
Provides services for obtaining data.
It helps in multi-programming.
It enables booting a computer.
Sometimes they have in-built system utilities like debuggers and defragmenters
which help in the maintenance of disks.
It helps in mediating between the computer user and the computer system in
order to help the user to interact with the computer hardware to obtain results.
It coordinates all activities in the various parts of the computer.
It alerts the user and reports errors.
It manages resources such as the CPU and memory.
It manages multi-tasking (doing many tasks at once e.g. printing, inputting and
processing) and multi-programming (a technique of having more than one
program in the main/ primary storage which programs may be running or are
being processed at the same time). For example, having a word document and
excel spreadsheet open at the same time.
Ensures automatic update of time and date on the computer
It determines the interface of the desktop. Some operating systems are command
based and thus require one to type in commands (e.g. DOS) while others use
graphics / pictures (e.g. windows XP)
Controls system security by maintaining the use of passwords. A password is a
set of system before further access is permitted.
Page 17 of 36
Basic Concepts in Computing by Samuel Kakuba
Fig. 1.13
Task Bar
When you start the computer system, then start button and
task bar appears on the bottom of the screen and by default
remains visible when Windows is running (See Fig. 1.14).
Whenever a program is run or a window is opened, an icon
representing the program appears on the taskbar. To switch
between windows or program, click on the icon representing
the window on the task bar. When the program or window
is closed, the icon disappears from the task bar.
Fig. 1.14
The system tray is part of the task bar and displays the
current time as well as the status icons.
Page 19 of 36
Basic Concepts in Computing by Samuel Kakuba
Fig. 1.15
Page 21 of 36
Basic Concepts in Computing by Samuel Kakuba
Fig. 1.16
Fig. 1.17
Page 23 of 36
Basic Concepts in Computing by Samuel Kakuba
Fig. 1.18
Basic Concepts in Computing by Samuel Kakuba
Fig. 1.19
Fig. 1.20
Fig. 1.21
Page 27 of 36
Basic Concepts in Computing by Samuel Kakuba
Fig. 1.22
Drag the file or folder from the right pane and drop it on
to the destination folder in the left pane to move thefile
or folder there.
If you drag an item while pressing the right mouse
button, you can move, copy, or create a shortcut to the
file in its new location.
To copy the item instead of moving it, press and hold
down CTRL while dragging.
If you drag an item to another disk, it is copied, not
moved. To move the item, press and hold down SHIFT
while dragging.
Dragging a program to a new location creates a shortcut
to that program. To move a program, right-click and
then drag the program to the new location.
Page 29 of 36
Basic Concepts in Computing by Samuel Kakuba
Fig. 1.23
1.10.1 Virus
Virus is a program which has been written to interfere with
the normal functioning of the computer. It does this by
clogging the memory of the system by making copies of itself
or it may destory critical information used by other computer
prgrams.
There are three main types of viruses: Boot sector viruses
which infect the boot sector in the hard disk and affect the
partition table, File viruses attach with executable files. The
commonly infected files are those with COM or EXE extensions.
The third, System viruses infect specific system files such as
command.com. Computer viruses can be grouped into Time
Bomb, Trojan Horse, Worm etc. Time Bomb will start on a
particular date, at a particular time. The computer will loose
its ability to function properly.
Page 31 of 36
Basic Concepts in Computing by Samuel Kakuba
a. Operating system
b. Compiler
c. Assembly language
d. Control unit
1. Computer characteristics :
Speed
Accuracy
Page 33 of 36
Basic Concepts in Computing by Samuel Kakuba
Diligence
Versatility
Storage capacity
3. (a) true
(c) False
Trends in computing