Grade 7 CBC Computer Science Note Slides
Grade 7 CBC Computer Science Note Slides
Grade 7 CBC Computer Science Note Slides
NOTES.
BY
0114935675-0710250520
www.vyntex.co.ke
Computer Notes by Mwalimu Viny Namaye.
TOPIC 1 FOUNDATION OF COMPUTER SCIENCE.
Concept of
Computer.
What is a computer?
A computer is an electronic device that process or converts data into
information.
A computer receives, stores, organizes and processes data into information.
The word computer came from Latin word ‘computare’ which means to
calculate.
A computer uses programs which are sets of instructions which a computer
followsis Computer
What to perform Science?
tasks.
o Computer science is the study of computers and how computer technology can
be used to solve problems.
What is Data?
Data refers to raw facts such as numbers, symbols, images and letters that are
not processed and have no meaning to the user.
Data is plural while in singular it is datum.
Data is not meaningful to the user until it is processed.
What is information?
It refers to processed data that is meaningful to the
user.
Information
Identify is meaningful
the Functions of Atocomputer
the user.
To receive input, inform of data.
To process data.
To give results as output (information)
To save or to store data or information.
To process numerical calculations and non-numerical
calculations
List the examples of
computers.
The following are examples of
computers: Washing machines.
Notebook. Microwaves.
Desktop. Server.
Laptop. IPad.
Tablets. MacBook.
PDA (Personal Digital Smartphone.
Assistant) Smart watch.
Electronic calculators. Workstations.
ATM Machines.
www.vyntex.co.ke Vyntex Technologies Production 1|Page
Computer Notes by Mwalimu Viny Namaye.
List and explain different characteristics of Computers.
Speed-computers perform tasks faster compared to human beings.
Accuracy-a computer performs tasks without any errors if the correct data is entered.
Reliability-a computer is reliable as it gives consistent output results for similar tasks.
Automation-a computer is an automatic machine. It starts a task from beginning to
end without requiring human assistance.
Versatility –versatility is the capability of a computer to perform different tasks. A
computer can be applied in education, agriculture, military and medical fields.
No logical decision-a computer cannot work on its own without being instructed by
a user hence it is not intelligent enough on its own.
Diligence –a computer can perform millions of tasks without getting tired. It does not
get fatigue or loss concentration like human beings.
Storage-computers have onboard storage facilities or memory for storing data and
information either temporarily or permanently which can be retrieved to be used later.
USES OF COMPUTERS.
A computer is used to store, process and retrieve data.
A computer can be used to perform calculations such as addition,
division, multiplication and subtraction.
It can also be used to draw diagrams, listen to music, play games and search
for information from the internet.
A person can use a computer to type documents and send electronic mails
(e- mails.
THE COMPUTER PROCESSING CYCLE.
Computer processing cycle means the process that take place in a computer
from the time data is entered into the computer through an input device to the
time processed data(information) is presented to the user through an output
device. Stages of Computer Processing Cycle.
1. Input.
2. Processing.
3. Storage.
4. Output.
A computer receives data and instructions during the input stage through the
input devices.
The instructions are applied to data during the processing stage. These
instructions help in performing operations on the data entered in the computer
in order to produce information.
The information is saved in a computer during the storage stage. Storing is done
to avoid re-entering data and instructions or reprocessing information. The
stored data is always available for future use.
www.vyntex.co.ke Vyntex Technologies Production 2|Page
Computer Notes by Mwalimu Viny Namaye.
The computer presents information at the output stage through an output
device.
1.
Education
For online reading 5. Manufacturing
To maintain class notes
and registers. To model and design products
For research and to do for example airplane.
assignments To test functionality of
2. Business machines that are
manufactured.
To make payments. To automate processes in
To keep records. manufacturing companies.
To order for goods.
To sell goods and services 6. Government.
online
3. Banking To offer government services
online through platforms such as
To facilitate online and internet Nemis and ecitizen.
banking. To store data and information
To operate ATM machines. 7. Communication
For money transfer from one
bank to another. To send and receive messages.
To keep account and customer For making video and voice
information. calls.
8. Engineering design
4. Health care.
To design houses, roads
To conduct research. and buildings.
To store patient data.
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
www.vyntex.co.ke Vyntex Technologies Production 5|Page
Computer Notes by Mwalimu Viny Namaye.
1.2. EVOLUTION O F COMPUTERS.
o The Evolution Stages of Computers.
The early computer devices in the evolution of computers are as follows:
* Abacus.
* Napier’s bones.
* Pascaline machine.
* Leibniz wheel.
* Jacquard Loom.
* Analytical engine.
* Differencial engine.
* Census machine.
* Mark 1
An ABACUS is also called a counting frame.
ABACUS stands for Abundant, Beads, Addition and Calculation Utility
System.
It is a system tool used for basic calculations since the ancient
times. Tasks Performed by Computers at different evolution
COMPUTER NAME TASK PERFORMED
stages.
1. ABACUS It was a mechanical device in
computer evolution.
It was used to count large numbers and
perform calculations involving
addition, subtraction, multiplication
and division.
2. NAPIER BONES It was a mechanical device.
It was used for addition,
multiplication, division and
subtraction.
3. PASCALINE MACHINE It was a mechanical machine made
up gears and was faster than the
abacus.
4. LEIBNIZ WHEEL It was the first machine to perform
automatic multiplication and division.
It was an advancement from
Pascaline machine.
JACQUARD L OO M
ANALYTICAL ENGINE It was designed by Charles Babbage
in 1837.
It used punch cards to perform
addition, subtraction, multiplication
www.vyntex.co.ke Vyntex Technologies Production 6|Page
and division.
DIFFERENCIAL It was designed by Charles Babbage
ENGINE in 1820.
Computer Notes by Mwalimu Viny Namaye.
It was powered a steam powered
calculator that could only
perform additions.
CENSUS MACHINE
MARK 1 It was the first electromechanical machine.
It was the largest electromechanical
computer and the first machine that
could perform tasks automatically.
Could perform only one Could perform four mathematical operations especially
mathematical
operations Addition, subtraction, multiplication and division
i.e. addition.
It had no
It used punch cards as input component.
input
component
It had no
Had a storage component
storage
component
It had no
Had an arithmetic unit called mill
processing
component
8|Page
Computer Notes by Mwalimu Viny Namaye.
Using computer that existed at different evolution stages
Pupil’s activity
Page 17
Pascaline Used gears technology to feed data into the computer Had a
or pascal’s display bar where the user could see the number entered and
calculator the answer It had no storage
Used steam power Used a set of cogs levers and punched cards
Differenc Had a storage for data Was designed to stamp its answer on set
e engine metal Used decimal number system where each number from 0-
9 was represented by position on toothed wheels
Mark 1 Used electric circuits Data was fed in using punched sheets or rolls
First generation
computers.
Characteristics of 1ST generation computers (1940 and 1956)
They were developed between the year 1940 and 1956.
They had vacuum tubes that consisted of bulbs and wires that carried data
in form of electronic signals.
They were used to perform calculations.
They were very large.
They used a lot of electricity.
They produced a lot of heat.
They were expensive.
They were very slow.
Examples of first generation computers are:
* Electronic discrete variable automatic
computer (EDVAC).
* Electronic Numerical Integrator and
Calculator.
* ENIA
* UNIVAC
* IBM 701
* 1BM 750
They are the present day or current computers that were developed from
the year 1991.
They are the most advanced computers capable of mimicking human brains.
They are cheaper and faster than other generations.
They have very large storage capacity.
They can perform one than one task at the same time.
They are smaller and portable.
They consume less electricity.
They are easier to use.
Examples of fifth generation computers are:
* Notebooks.
* Smartwatches.
* Tablets.
www.vyntex.co.ke Vyntex Technologies Production 13 | P a g e
Computer Notes by Mwalimu Viny Namaye.
* Smartphones.
* Desktops.
* Laptops.
3. Mini computers.
They are smaller, less powerful and less expensive than main frame and
super computers.
They are more expensive and powerful than personal computers.
They provide a centralized location for data, information and programs.
They are also used to perform calculations and process business transactions.
4. Microcomputers.
They are the least powerful, smallest and cheapest computers.
They are also called personal computers. They are called microcomputers
because their processing device is called a microprocessor.
They are designed to be used by one person at a time.
They are used in offices, schools, businesses, media houses or to keep
records, prepare lesson plans and to browse.
Different computers for different uses.
1. General purpose computers
They are most common computers that can perform most common tasks
such as word processing, calculations, draw, Play music and send
electronic mails.
General purpose computers are mostly used in schools, hotels, hospitals
and at homes.
2. Special purpose computers.
They are computers designed to carry out specific tasks only.
They are mainly used in manufacturing industries, traffic control systems,
weather forecasting, robotic systems, satellites and ATM machines.
Pupil’s activity
Page 33
Use of
embedded
computers
in daily life
An
embe
dded
comp
uter is
a
comp
uter
design
ed to
perfor
ma
specifi
c
functi
on.
1.
Embedde www.vyntex.co.ke Vyntex Technologies Production 18 | P a g e
d
computer
s are
Computer Notes by Mwalimu Viny Namaye.
1.5 Computer User Environment.
Accessibility.
-Computer user environment should be set up in a place where the intended
user can easily reach.
Good lighting.
-The room should be well it.
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.
It should also have system in place to prevent unauthorised access.
Firefighting equipment.
-Should be available at all times in case of a fire.
Proper cabling.
-Should be done from the power sources to the devices.
-The cable must be insulated and laid away from busy areas of the room
to prevent people from getting electrocuted or tripping.
Proper furniture
-it should be used at workstations ensuring there is enough chairs for each
workstation and all tables have proper cable management to avoid cables
running across the room.
Appropriate computers, softwares and peripheral devices should be used for
the computer user environment.
www.vyntex.co.ke Vyntex Technologies Production 19 | P a g e
Computer Notes by Mwalimu Viny Namaye.
Appropriate Resources for setting up a computer user
environment.
Pupil’s activity
Page 45-46
Starting a computer
Switch on the power source.
Press the power button of the monitor then press the power button of the
system unit to start your computer.
Wait for the computer to finish the booting process.
Click on your user account.
Type your username, enter your password and press enter to sign in to
the computer.
Pointing Devices.
A pointing device is used to control the movement of a cursor on the
computer screen. Most computers use a mouse as the pointing device.
Examples of computer pointing devices include
A mouse.
Joystick.
Stylus.
Trackball.
MOUSE JOYSTICK
STYLU TRACKBALL
S
Pupil’s activity
monitor
CPU-it processes the data entered into the computer according to the instruction
given by the computer user. It is the brain of the computer and it is also called
the processor. It is made up of Arithmetic Logic Unit. (ALU), Control Unit and
the registers.
It retrieves and executes instructions by coordinating and processing all the
functions of a computer.
Output device-they are used to give out information from the computer.
Examples of output devices include monitor, speakers, plotter,
headphones, projectors and printer.
Keying devices- they help in entering data by pressing the keys on them.
They include keyboard, keypads, touch screen keypads and television
remotes.
Scanning device- they capture data directly from the source and convert it into a
form a computer can understand. They include barcode readers, optical
character readers, optical mask readers, magnetic stripe reader and magnetic ink
character readers.
Visual and imaging devices-They include digital camera, image scanner and
video recorders.
2 Touch pad
3 Joystick
4 Light pen
2 Keypads
4 Television remote
3 Magnetic ink
character reader
4 Optical mark
reader
5 Magnetic stripe
reader
Resistive touch screen-allow both fingers and non-fingers input. They are used
in feature phones, global positioning system (GPS), some printers and digital
cameras. They support single-finger touch and basic gestures.
Capacitive touch screen -uses the conductive touch of human finger for input.
They work by sensing the electrical properties of the human body. The phone
touch screen and smartwatch’s touch screen are examples of capacitive
screens.
c.)
They are found in the processor.
Registers
They are a type of computer memory that quickly accept, store and
transfer data and instructions that are being used immediately by the CPU.
They enhance
the performance of the CPU.
Central Processing
Unit
Control Unit
Registers
It does not need electricity, special It is not easy to move from one place
devices or software to to another.
display/show
When properly stored it is not easily lost It requires a lot of physical storage space.
It is easy to move from one place It is vulnerable to cyber and data stealing.
to another.
It is cheap to produce as it does It requires electricity, a device and
not require paper or ink. software to be displayed or
shown.
Large amount of data and It is considered temporary data which
information can be stored without can be altered or manipulated.
the need for a lot of physical space.
Bending, folding or continuously stepping on cables may cause the wires inside
the cables to break or pull out. Instead, lay the cables neatly in trunks to secure
them.
🢝 A computer virus is a malicious program that logs into user’s computer without
user’s knowledge and performs malicious actions such as corrupting the system
or destroying data and information.
Coaxial cables.
🠾
Wireless networks.
They deliver data and information through in form of airwaves rather
than through physical cables.
Wireless connectivity may be achieved through satellites, radio waves,
Wireless Fidelity (Wi-Fi), infrared and Bluetooth.
🢝 Communication media-they are paths used to transfer data. They can be cabled
or wireless.
Cabled media includes the twisted pair, coaxial and fiber optic cables.
Wireless media include Blue tooth, Satellite and WI-FI.
Navigation bar-contains the forward and back buttons that enable the user
to load previous and next pages during browsing.
Refresh button-is used to reload a web page.
The address bar-is used to enter website addresses.
The bookmark button- redirects the user to a list of chosen websites from the
sites that are often visited.
The home button-loads the home page of a browser.
Browsers have features that allow a user to open multiple web pages or tabs
at the same time, refresh and stop web pages during loading, move to the
home page, block and prevent unwanted windows that may interfere with
browsing.
Importance of Programming.
🢝 Computer programming reduces errors during processes because it
produces accurate results. It enables an efficient and accurate flow of
processes.
🢝 Many job opportunities have been created through programming. Computer
programmers, computer system analysis and web developers are career people
in programming.
🢝 Computer programming fastens processes through automation. Automation saves
time, reduces costs and increases productivity through software robots that
emulate human actions interacting with digital systems and software.
🢝 Computer programming enhances critical thinking and problem solving hence
making it easy to solve problems.
🢝 Programming stimulates creativity.
🢝 Programming improves functioning of devices.
🢝 Programming enhances business activities.
🢝 The Paint program main window contains the menu bar, toolbox and
colour panel.
🢝 The menu bar consists of the file, home and view tabs and the help button.
🢝 The file menu is used to create new files, save and print them.
🢝 The edit menu is for undoing, redoing, copying and pasting.
🢝 The view menu displays the rulers, gridlines, status and the zoom in and
out options.
🢝 The toolbox contains the eraser, pencil, brush, magnifier, select tool, shapes,
fill colour tool, and text tool that are used in drawing.
www.vyntex.co.ke Vyntex Technologies pg. 2
Production
4.2 Visual Programming
Concepts.
Introduction.
🢝 Visual programming is developing applications using graphical components and
figures.
🢝 These graphical components and figures mostly include images and video clips.
Activity
Launch the scratch application in your computer and practice using it as in the
text book page 170.
NB
🢖 To move the sprite, add a move block from the motion category.
🢖 To add sound, click on sound category and choose a sound block.
🢖 To move the sprite back, use a negative value on the move back block. The
block can be repeatedly severally to generate the desired animation.
A backdrop is the background for the stage. Backdrops can be changed from the
gallery or photo in the computer.
The sensing category helps one to enable input from the mouse, keyboard and
other input devices. ’IF’ is used to choose between two output. For example, it
can be used to perform mathematical calculations and state whether the answer
given is correct or not
Activity
Text book page 176
Using Scratch to create a sequence of instructions.