Full Computer Science Notes
Full Computer Science Notes
Computer concepts
Definition
1. Computer
An electronic device that accepts data from a user, Processes the data using given instructions,
stores it and presents it in a desired format
Data
Raw facts which include numbers, texts, images, audios or videos that input into a computer
Information
Data that has been processed and made meaningful to the user
Examples of computers
1. Notebooks
2. Smartphones
3. Macbook
4. PDA
5. Desktop computer
6. Laptop
7. Ipad
8. Tablet
9. Smartwatch
10. Server
11. Each examples of computers have different features that enable them to serve different
Characteristics of a computer
1. Speed
Storage
Computers have storage space that can hold large amounts of data and information
Multitasking
Computers can perform more than one tasks at the same time
Accuracy
Computers give information without errors if given the correct data and instructions
User dependant
Versatility
Reliability
The electronic components in modern computer have very low failure rate. The modern
computer can perform very complicated calculations without creating any problem and produces
consistent (reliable) results.
Diligence
Computers, unlike frail human beings, do not become bored or tired or lose concentration when
performing highly repetitive work. If a computer has to perform a certain calculation on a million
numbers, it will calculate the first and the last with equal diligence. This enables trust to be
placed in the results generated by computers, and confidence to be replaced in their ability –
neither of which can always be replaced in humans!
Function of a computer
1. Accessing internet
2. Paying online bills
3. Home/school tutoring
4. Stock taking
5.
6.
7.
Computer processing cycle is the stage or events that takes place from the time data is entered
into the computer to the time is given to the user.
1. Use of computer has caused people to lose jobs because computers process data within a
shorter time
2. Use of computers for long hours leads to health problem like headaches, eye strains
3. Computer lack intelligence. They cannot determine what is wrong or right. If given
wrong data, they give out wrong information
4. People sometimes become too dependent on computers. This affects their creativity and
ability to do simple tasks
5. Information and data stored in computers is at risk of theft and misuse
6. People use the internet to perform online crimes and fraud
7. Online threats such as cyber bulling are on the increase with the increased use of
computers and the internet
8. Electronic waste from computers contains chemicals that destroy the environment
1. Education
2. For online reading
3. To maintain class notes and registers
4. For research and to do assignments
5. Business
6. To make payments
7. To keep records
8. To order for goods
9. To sell goods and services online
10. Banking
11. To facilitate online and internet banking
12. To operate ATM machines
13. For money transfer from one bank to another
14. To keep account and customer information
15. Health care
16. To conduct research
17. To store patient data
18. Manufacturing
19. To model and design products for example airplane
20. To test functionality of machines they are manufactured
21. To automatic process in manufacturing companies
22.
23. Government
24. To offer government services online through platforms such as Nemis and ecitizen
25. To store data and information
26. Communication
27. To send and receive messages
28. For making video and voice calls
29. Engineering design
30. To design houses, roads and buildings.
Engineers and designers use programmes like computer aided design for designing
Marketing
Marketing of goods and services
To design and create marketing content
Insurance
Computers are used to keep records about customers
Computers are used to manage money transactions
Home
For entertainment like watching movies
For security purpose like storing and displaying data from CCTV cameras
Evolution of computers
1. The Abacus
It was made of a wooden frame with rods fitted across, with round beeads that slide along the rod
Mechanical devices
Digital computers are now classified into five generations with each having improved from the
previous one
The difference engine and the analytical engine were designed by Charles Babbage.
The difference engine was a simple calculator
When he was unable to complete the difference engine, he started on the analytical
engine which was advancement of the difference engine
It was a simple mechanical It was a general purpose computer system that could be fed with
calculator instructions to carry out operations automatically
Pupil’s activity
Page 17
Decimal number system where each rod represents a column and each column represents a
Abacus
place value Binary digit system used in computers today where a value is either 0 or 1
Used rods made of ivory, wood, metal or bones to work out multiplication problems using
Napier’s bones
position of a number on a rod
Pascaline or Used gears technology to feed data into the computer Had a display bar where the user could
pascal’s calculator see the number entered and the answer It had no storage
Jacquard loom Used punched cards technology to feed data into the computer Had no storage
used stepped drum gear which mechanised addition, subtraction, division and multiplication
Stepped reckoer
employed the decimal number system
Used steam power Used a set of cogs levers and punched cards Had a storage for data Was
Difference engine designed to stamp its answer on set metal Used decimal number system where each number
from 0-9 was represented by position on toothed wheels
It had a processor called the mill and a store It could be given instructions to make the work
Analytical engine
automatic using punched cards
Tabulating
Used punched card technology Used electric current to count data on punched cards
machine
Used binary digits to represent data Performed calculations using electric current Had storage
ABC
for data Had processor
Mark 1 Used electric circuits Data was fed in using punched sheets or rolls
Use the binary number system Have larger processors Have large storage Use electrical
Digital devices
components
Generation of computers
Computer technology has been advancing in many ways since the invention of the first electronic
digital computer
Identifying generations of computers
Examples
ENIA
EDVAC
UNIVAC
IBM 701
1BM 750
Examples
IBM 1620
IBM 7094
CDC 1604
CDC 3600
UNIVAC 1108
Example
IB 360 SERIES
PDP
Examples
Desktop
Laptop
Tablets
Computer
Computer Technology used Characteristics
generation
Very large scale integration During the 4th generation LSI and VLSI technology
Four
was used to pack thousands or millions of transistors
generation
on a single device
Types of computers
1. Mini computers
2. Mainframe computers
3. Analogue computers
4. Hybrid computers
5. Special purpose computers
6. Micro computers
7. Super computers
8. Digital computers
9. General purpose computers
Analogue Computers:
The word “Analogue” means continuously varying in quantity. The analogue computers accept
input data in continuous form and output is obtained in the form of graphs. It means that these
computers accept input and give output in the form of analogue signals. The output is measured
on a scale. The voltage, current, sound, speed, temperature, pressure etc. values are examples of
analogue data. These values continuously increase and decrease. The analogue computers are
used to measure the continuous values. The thermometer is an example of analogue device
because it measures continuously the length of a mercury column.
The word “Digital” means discrete. It refers to binary system, which consists of only two digits,
i.e. 0 and 1. Digital data consists of binary data represented by OFF (low) and ON (high)
electrical pulses. These pulses are increased and decreased in discontinuous form rather than in
continuous form.
Hybrid Computers:
The hybrid computers have best features of both analogue and digital computers. These
computers contain both the digital and analogue components. In hybrid computers, the users can
process both the continuous (analogue) and discrete (digital) data. These are special purpose
computers. These are very fast and accurate. These are used in scientific fields. In
Hospitals, these are used to watch patient’s health condition in ICU (Intensive Care Unit). These
are also used in telemetry, spaceships, missiles etc.
Supercomputer
Mainframe computer
Mini computer
Are smaller in size, have lower processing speed and also have lower cost than mainframe
Microcomputers
Classification of
computers
By functionality By size By purpose
General
Analogue Microcomputer
purpose
Hybrid Mainframe
supercomputer
Pupil’s activity
Page 33
1. ATM machines have a computer that facilitates withdrawal of money, cash deposit and
checking bank balance
2. Cars have computer system to control the realises of airbags when a sensor detects an
accident
Embedded computers also sense when one applies emergency brakes and prevent the wheels of
the vehicle from locking and skidding through antilock braking system
Microwaves have a computer that commands the heating element to turn on and off.
Mp3 and DVD players are able to store, read data and play music and videos
Drones have computers that enable user to control them.
The computers in drones enable them to capture images and videos and transmit them to the
users
Digital watches have computers to display time in numbers and set an alarm clock
Pupil’s activity
Page 35-6
Computer user environment is an area equipped with devices, facilities and other components
that provide suitable conditions for the use of computers
1. Accessibility
Computer user environment should be set up in a place where the intended user can easily reach
Good lighting
Ventilation
The environment should be well ventilated, have free circulation of air and be free from heat,
dust and moisture which can damage a computer system
Power source
A computer user environment should have a reliable source of power to prevent loss of data and
damage of computers
Space
The floor space should allow free movement of people using the computer user environment
Security
A computer user environment should be secure with strong doors and windows.
User friendly
The computer user environment should be made user friendly by ensuring there is comfortable
furniture
Proper cabling
The cable must be insulated and laid away from busy areas of the room to prevent people from
getting electrocuted or tripping
Introduction of smartphones and small portable computers has made it easier for people
to access computer services
This means that the computer user environment is no longer confined within walls. It
goes where a person has access to a computing device goes
Mobile phone companies have made connectivity easy by availing network services to
the people. This made it easy to access computer services anywhere at any time
1. Monitor
Keyboard
Contains the devices of a computer that Process data and gives information such as CPU
Speakers and headphones
Printer
Mouse
Is used for selecting items and giving instructions to the computer by clicking
Flash disks
Scanner
Cables
Pupil’s activity
Page 45-46
For example
1. If a device is in good working condition but longer in use it can be sold for some money
to someone who will reuse it
A computer monitor can also be used as a television screen with little modification
We can transform a system unit to a lockable cabinet by removing the inside components
and installing a lock.
Physical parts of a computer can be used to make art for example the keys of the
keyboard
The physical parts of a computer can be sent to the manufacturer or sent to a recycling
centre where they are taken apart, their components sorted and recycled.
Pupil’s activity
Page 48-49
Starting a computer
Click on your user account. Type your username, enter your password and press enter to
sign in to the computer
1. Delete (Del) key. It is used to erase characters to the right of the cursor, (i.e., from left to
right).
2. Esc
3. Home
4. Pg up
5. Pg dn
6. End
7. Backspace key – It has a backward arrow ( ) marked on it.√ Used to erase
characters to the left of the cursor (i.e., from right to left on the same line). When pressed,
it makes the cursor move one space backwards and the immediate letter or number to the
left is erased.
8. Crtl
9. Tab
10. Caps lock
11. Enter
12. Shift
A Cursor is a blinking underscore ( __ ) or a vertical beam (I ) that shows where the next
character to be typed will appear.
Alphanumeric keys
Keys are labeled with alphabetic letters A-Z, numbers arranged in a line 1,2, ……..0
respectively and symbols like:?,], % etc. This group also includes the following keys: cap lock,
enter tab. space bar and backspace.
Caps lock key: Pressing this key let’s the user type in upper case-letters,(capitals) To switch back
to lower case letters simply press the same key again.
Enter key (return key): Pressing this key forces the text cursor to move to the beginning of the
next line. A cursor is a blinking underscore (-) or a vertical beam (I) that showswhere, the next
character to be typed will appear. The enter key is also used to instruct .the computer to execute a
command that has been selected on the screen.
Tab key: This key is used to move the text cursor at set intervals on the same line e.g. 10 mm, 20
mm etc.
The space bar: This bar creates a space between words during typing.
The backspace key: This key deletes characters from right to left on the same line.
Function keys
Function keys are usually located along the top of the keyboard. They are labeled FI, F2 up to
FI2. They are used for tasks that occur frequently in various programs. For example pressing FI
key in J most programs starts the HELP MENU.
Cursor movement keys are used to move the cursor on the screen. These keys are:
Arrow keys: Pressing the right or left arrow key moves the cursor one character to right or left
respectively. Pressing the upward or downward arrow key moves the text cursor one line up or
down respectively.
Page up and page down keys: Pressing page up key moves the cursor up one page in case the
document has many pages. Pressing page down key moves the cursor down one page in case the
document has many pages.
Home and end keys: Pressing home key moves the cursor to the beginning of the current line.
Pressing end key moves the cursor to the end of the current line.
Editing keys are used to delete or insert characters in a document. These are:
Insert key: This key helps the user to insert or replace a character at the cursor position.
Delete (Del) key: This key deletes characters at the cursor position from left to right.
These keys are rarely used singly but in combination with other keys to give special instructions
to the computer. They include SHIFT, CTRL, ALT and ESC keys.
The numeric keypad consists of a set of numbers 0 to 9 and the arithmetic signs like + (addition),
(minus), * (multiplication) and / (division). They are located on the right hand side of the
keyboard. The keypad is meant to help the user to rapidly enter numeric data. The numbers on
the numeric keypad can only be used when the, situated on the numeric keypad, is turned on.
Clicking: This means pressing and releasing the left mouse button once. A click often selects an
object.
Double clicking: This means pressing the left button twice in quick succession. Double clicking
usually opens a file or starts a program
Right clicking: Pressing the right hand side mouse button once displays a list of commands from
which the user can make a selection. This list of commands is called a shortcut menu or context
sensitive menu. It is called a context sensitive menu because the commands on it apply to the
right clicked item.
Drag and drop: This is whereby the user drags an item from one location on the screen to
another. The procedure to accomplish this operation is as follows:
2. Press the left hand side mouse button and hold it down
3. Slide the mouse until the pointer reaches the desired position on the screen.
4. Finally release the mouse button and the item will be dropped in the new location.
Scrolling – the sliding movement of images, videos or text across a display screen either
vertically or horizontally
Pupil’s activity
Page 58-60
A computer system – is a collection of parts that work together to receive, process, manage and
present data and information
These are physical components of a computer system that you can touch
software
These are a set of instructions that direct a computer on what to do during processing.
liveware of peopleware
These are the users who command or direct computers to perform given task
This term also refers to the people that develop the software and hardware components of a
computer
1. computer hardware
2. accepts data and instructions
3. process data
4. stores data
5. produces information
6. communicates with devices and users
7. computer software
8. manages computer resources
9. provides computer interface
10. stores and retrieves data and instructions
11. does mathematical calculation
12. liveware
13. designs and develops software and hardware
14. operates a computer system
15. enters data
16. controls computer environment
PUPIL’S ACTIVITY
PAGE 63
1. Business
Computer systems have enabled efficiency in record keeping, allowing long process to take a
shorter time through automation.
They have also brought about online advertisement and sales using the internet
Communication
Computers are connected through networks allowing for faster cheaper and safer communication
across the globe
Shopping
People today can shop online for goods and services and pay for them using online channels
enabled by computer systems
Socialising
Computer systems have made it possible for people to socialise and conduct viral meetings
through various social media platforms
Employment
Entertainment
People can access a variety of music, films and computer games on their computers
Education
The internet is a huge information resources that is easily accessible compared to textbooks.
Learners are also able to learn online without the need to attend classes physically
Computer hardware concepts
1. Input devices
2. Output devices
3. CPU
4. Storage devices
1. Input devices
Enables user to enter data that needs processing and the instructions on how to process it
CPU
Output devices
Present information that has been processed in different forms for example text, sound and
pictures
Storage devices
Consider
1. Reliability
2. Cost
3.
4.
5.
Using different elements of computer hardware
Pupil’s activity
Page 71-73
Input devices
Enables user to enter data that needs processing and the instructions on how to process it
Examples: mouse, keyboard, touchpad, light pen, joystick, scanner, microphone, barcode
scanner, digital camera, capacitive and infra-red touch screens, 2D and 3D scanners
Barcode
Keyboard Mouse Scanner Joystick Digital camera
scanner
Digital
Touchpad 2D scanner Steering wheel Image scanner
camera
Touchscreen
Trackball
When selecting input devices you can consider the following factors
1. User needs
The device should meet the need of the user
Cost
Functionality
User friendliness
Devices selected should be able to connect and work together with other available devices in the
computer
Level of expertise
Pupil’s activity
Page 77
Input devices which are still functional can be used in the following ways
1. Old and functional keyboards can be sold or donated to be reused with other compatible
computer system
2. Input devices which are in good condition and not in use can be donated to people who
need them in the community
3. Functional computer inputs can be used to set up other computers
4. Obsolete and dysfunctional input devices can be sent to recycling facility where they will
be recycled to make new products.
Pupil’s activity
Page 80-81
NB
Motherboard is a frame which holds and allows communication between the components of the
computer system
The CPU performs all types of data processing operations in a computer system
1. Control unit
2. Arithmetic logic unit
3. Special memory
Control unit
Special memory
The control unit moves data between the ALU and the special memory and also tell the ALU
what to do.
The ALU then process data and store the result in a special memory
The core of a CPU receives instructions and perform calculations, or operations to satisfy the
received instructions
Pupil’s activity
Page 84-85
Output devices
Present information that has been processed in different forms for example graphics, tactile or
text, sound (audio), video and pictures
1. Monitor
Speakers
Headphones
Printers
Produce text or picture information on a paper
Projectors
Gives visual information by projecting it on a flat smooth surface like a wall or white board
Plotters
Actuator
A part of a device or machine that helps to create physical movement using signals from a
computer
Braille embosser
A device that presses dots onto paper for people with visual impairment to read using their
fingers
Output devices
NB
When properly stored it is not easily lot It requires a lot of physical storage space
It is easy to move from one place to another It is vulnerable to cyber attacks and d
It is cheap to produce as it does not require paper or ink It requires electricity, a device and so
Large amount of data and information can be stored without the need It is considered temporary data which
for a lot of physical space altered or manipulated
It is beneficial to the environment as it reduces the number of trees
cut too make paper
1. Output quality
2. User friendliness
3. User needs
4. Suitability to the function it is supposed to carry out
5. Compatibility with the available devices
6. The cost of purchasing and maintaining the output devices
Output devices have constantly been replace with new devices due to improved technology from
innovators
Technological trends enables fast evolution of output devices which suit user needs better, are
cost effective, friendly to the environment, secure and able to multitask
Computer displays which are used to create clear, high quality, digital displays
Wireless speakers and headphones which are more portable, have noise cancelling
capability and produce better sound quality
Better Braille embossers that give better quality Braille while producing very little noise.
They also recognise speech and give speech feedback, making them user friendly
Printers which produce better quality hardcopies, can be secured using passwords, are
compact, cost effective and easy to use
Port
A physical slot of a computer through which peripheral devices are connected.
All input and output devices of a computer are connected on the ports
Cable
A chord that connects and enables transfer of data or power from one device to another
A computing system has ports and cables that enable communication between the differebt
components of a computer
Pupil’s activity
Page 97
1. Power cables
These allow for power transmission and distribution from the source to all computer hardware
components
Data cables
These carry data and allows for communication between devices in a computing system
The universal serial bus is used to connect all devices to PCs like printers, keyboa
USB cable and port
disk, mice, scanners, cameras, and many more
PS/2 cable and ports This is used to connect the keyboard and mouse to the computer.
This is used to connect hardware components such as mouse, doem and printer. It
Serial cable and port
old models of computers together to allow the transfer of large files
Parallel cable and port Parallel ports and cables connect computers and peripheral devices
Ethernet This cable and ports connects the computer to a network and the internet
VGA cable and port The VGA port and cable connects most computer models to their monitors
Audio cables and ports This cable connects computers to audio devices such as speakers, headphones and
RCA connectors Digital output devices produce better quality audio. This is achieved using the RC
Digital video interface DVI connects video source, such as a video display controller to a display device
DVI cables and ports computer monitor
High definition media interface connects a computer to high definition and ultra h
HDMI port and cable devices like computer monitors, HDTVs, BLU-RAY players, gaming consoles an
cameras
Pupil’s activity
Page 100
Pupil’s activity
Page 101-102
NB
Computer setup
Setting up a computer is connecting all the hardware devices and preparing software
programmes for a computer to function properly.
Pupil’s activity
Page 104-106
Setting up computers
The following are tools and equipments need for computer set up
1. system unit
2. Monitor
3. Screwdriver
4. Speakers
5. Cables
6. UPS
7. Keyboard
8. Power tester
9. Surge protector
10. Mouse
11. Power extension cables
1. Ensure there is a stable power supply that can power on a computer before the connection
2. Use a UPS or surge protector for power connection to the CPU and monitor
3. Make sure your hands are completely dry to avoid electric shock and damaging any
computer parts with moisture
4. Handle all the parts of a computer with care. Place each component carefully on a hard
flat surface. Be careful not to drop any parts
5. Ensure your computer has enough room to allow for proper ventilation. If there is no free
flow of air the computer can be damaged or cause fire.
6. Be sure to connect all cables to the appropriate ports
7. If a cable does not connect easily to a port, don’t forcefully push it in to avoid damaging
it. Check that you are connecting it to the right port and that the pins and holes align
8. Manage cables properly when setting up a computer. Ensure nothing is pressing on them
and that they are not located in a place where they can be stepped on or tripped over
9. Do not spill foods or liquids on the computer
10. Always switch on the monitor before the CPU to display any errors or messages while
booting
Pupil’s activity
Page 109
To tell that a computer is properly setup, we must switch it on and see if all the
components are working well. This process is called booting up a computer
The steps of booting a computer are as follows
Switch on the main power supply on the socket
If the computer is connected to the UPS, switch its power button on.
Switch on the monitor by pressing the power button
Switch on the system unit by pressing the power button
Upon switching the system unit on , the computer performs a power on self test where the
computer checks hat al components are connected and functioning well
The computer then displays the name of the operating system followed by a display of
icons on the computer monitor