Grade 7 CBC Computer Science Notes
Grade 7 CBC Computer Science Notes
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 follows
to perform tasks.
Application of Computers.
o Computers are used in businesses-to enable scanning of products and making
payments through mobile banking services, processing bills and keeping stock
records.
o Computers are used in military-military uses drones to monitor the security of a
country. The drones are controlled by computers.
o Computers are used in education-to support teaching and learning through online
classes and research. They also help to prepare lesson plans and store learners’
records.
o Computers are used in banks- to carry out transactions like opening accounts,
depositing and withdrawing money, checking balances, exchanging foreign
currency, money transfer and applying loans.
o Computers are used in communication- they are used to send electronic mails (e-
mails), host video meetings, chat and make audio calls.
o Computer are used in law enforcement agencies of the government-to keep
records. The Directorate of Criminal Investigation (DCI) keeps records of
fingerprints taken from different people.
o Closed-circuit television (CCTV) cameras are also installed to monitor security.
o People can access government services like filing returns, applying for birth
certificates, land title deeds and passports using computers.
o At home computers and smartphones are used to prepare budgets, shopping lists
and keep dates about family members birthdays.
1. Education
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 OF 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 stages.
COMPUTER NAME TASK PERFORMED
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 LOOM
ANALYTICAL ENGINE It was designed by Charles Babbage in
1837.
It used punch cards to perform addition,
subtraction, multiplication and division.
DIFFERENCIAL It was designed by Charles Babbage in
ENGINE 1820.
www.vyntex.co.ke Vyntex Technologies Production 6|Page
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.
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.
Could perform only one Could perform four mathematical operations especially
mathematical operations
i.e. addition. Addition, subtraction, multiplication and division
It had no input
It used punch cards as input component.
component
It had no storage
Had a storage component
component
It had no processing
Had an arithmetic unit called mill
component
Pupil’s activity
Page 17
Pascaline or Used gears technology to feed data into the computer Had a
pascal’s display bar where the user could see the number entered and the
calculator answer It had no storage
Used steam power Used a set of cogs levers and punched cards
Difference Had a storage for data Was designed to stamp its answer on set
engine metal Used decimal number system where each number from 0-9
was represented by position on toothed wheels
Tabulating Used punched card technology Used electric current to count data
machine on punched cards
Mark 1 Used electric circuits Data was fed in using punched sheets or rolls
Use the binary number system Have larger processors Have large
Digital devices
storage Use electrical components
* 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
Computer user environment is an area equipped with devices, facilities and other
components that provide suitable conditions for the use of computers.
A computer user environment can also mean a specialized and secure room that
facilitates installation and usage of digital devices.
Examples of computer user environment are cyber cafe and computer
laboratories.
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.
o Introduction of smartphones and small portable computers has made it easier for
people to access computer services.
o 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.
o 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.
o Current events and new technologies have enabled automation of processes,
scientific research, digital gaming and improvement in communication through
technological advancement. This has enabled wearable health monitors, fleet
management, industrial monitoring, smart homes security systems, smart badges in
organisations and asset tracking.
o Computer vision enables computers to get meaningful information from digital
images and videos and take actions or make recommendations based on that
information. For example, reading traffic signs in self-driving cars.
o Digital health systems help in connecting health service providers to patients. This
is done by using smart or connected medical equipment that enable continued
distanced medical examinations. Patients do biometrics that have enabled doctors
to monitor the health status of their patients. Examples of digital health platforms
include M-tiba and Afya Moja.
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.
b.) Cold booting-The technique of restarting a system from a power-off state and
returning it to normal function.
d.) Shutting down-the act of stopping the operation or activities of the computer by
physically switching it off or using the command.
The Computer Keyboard
A computer keyboard is an input device used to enter data into a computer.
It contains keys such as backspace, shift, enter, tab, spacebar, control, alphabet,
numeric, insert and arrow keys.
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
STYLUS TRACKBALL
A mouse is a handheld device that allows computer user to point, move, open
and click on objects displayed on the screen.
www.vyntex.co.ke Vyntex Technologies Production 26 | P a g e
Computer Notes by Mwalimu Viny Namaye.
A standard mouse has the left button, right button and a scrolling wheel.
The left button is used to click, select and drag or to highlight a word or object on
the screen.
The right button is used to provide additional information or properties of a
selected item.
The scrolling wheel helps in to moving up and down the screen.
Clicking is the pressing and releasing the left mouse button once with the index
finger.
Double clicking is quickly pressing and releasing the left mouse button twice.
Drag and drop is used when moving icons, folders and files on the desktop. It
helps in placing files in a folder or deleting them.
Right clicking is pressing and releasing the right mouse button once with the
middle finger.
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.
Scanning is capturing data in its original format and converting it into digital
format.
There are two dimensional (2D) and three dimensional (3D) scanners.
2D scanners are used to read two dimensional barcodes.
Barcodes are machine-readable data in form of numbers and a pattern of parallel
lines with varying widths printed on a product in order to identify it.
Three dimensional scanners analyse a real-world object or environment to collect
data on its shape and possible its appearance.
c.) Registers
They are found in the processor.
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 to
devices or software to display/show another.
When properly stored it is not easily lost It requires a lot of physical storage space.
It is easy to move from one place to It is vulnerable to cyber and data stealing.
another.
Large amount of data and information It is considered temporary data which can
can be stored without the need for a be altered or manipulated.
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.
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 Production pg. 2
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.
Feature Function
Sprite It is also called the coding area. it is where codes (scripts) area created
for a sprite to do a specific action.
Sprite area Are blocks shaped differently and are used to create codes in Scratch.
Code blocks A small graphic character that performs actions such as moving around
the stage.
Sprite pane Shows information about the size of each sprite.
Sprite info Displays all the sprites in a project
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.