MATHS SYLLABUS D COMPUTER AND CALCULATOR COMPLETE TOPIC

Chembe Zimba Snr
60 followers
Feb 15, 2025
welcome to eagles concept living room
in this video i want to take you through
computer
and calculator this is a topic that also
appears
in both papers paper one and pepper too
please like us on our facebook page
eagles concept academy
and don't forget to subscribe to this
channel
if you are watching us for the first
time if you have not yet subscribed
please hit the subscribe button to get
access to more of our content which will
definitely help you
in the exam we are uploading content
on a daily basis or on a weekly basis
thank you so much and follow me
as i take you through computer and
calculator
right some few points to note about
computer and calculator
are as follows a computer is an
electronic device
capable of accepting data processing it
giving it out and storing it for future
use
so there are a lot of things that can be
computers
ranging from phones laptops
and some other small electronic devices
so
any device that is capable of accepting
data
processing it giving it out and storing
it for future use
qualifies to be called a computer
all right computer language is known as
algorithm so in grade nine they call it
algorithm
but when we proceed and go to the great
tense to twelve
we begin to call it sudoku so now a
pseudocode is simply
a sequence of activities to be processed
in order to achieve
a desired outcome in other words it is a
step-by-step set of instruction
to carry out a certain function so
please
mark my way step by step set of
instructions
to carry out a certain instruction okay
certain activity
we're also going to encounter what we
call a flowchart so a flowchart
is simply a graphical representation of
a problem
uh solving process it gives a
step-by-step procedure for a solution
to a problem so now uh
when we go to paper two we are going to
be converting
from a pseudocode to a flowchart and
vice versa so the procedure will be as
clear
as it can all right
so in a flowchart always remember that
we use symbols instead of
weights now the symbols that we use here
they are acceptable
standard symbols not your own symbols
but something that is
acceptable and standard as you will see
as we begin to solve through the
questions
all right so now computer and calculator
at graduate level
is based on these four symbols once you
understand these four symbols
and you can answer any question that can
come under
computer and calculator so the first
shape here
is an oval shape so this one it is used
to start or stop
the program so whenever you are starting
the program you have to
use this symbol then inside this symbol
that is where you have to write
a stat okay so you write start
then in here this one is a parallelogram
which is an input okay this one is used
for
an input or output
so it is used for input or output
of any operation okay import
or output that is the use of a
paragraph so anything that you are
inserting into the computer
anything that you are adding into the
computer it falls
under input then we also have a
rectangle
this one it denotes an operation to be
carried out
so in short formula is what you're
supposed to put here
so allow me to mention that whenever you
are dealing with a
computer and calculator it is very
important that you know
the standard formula because they are
the ones that you are supposed to import
in order to
get a desired what outcome all right
last but not the least we also have a
diamond shape
so this diamond shape it denotes a
decision so
here is where we put questions on the
pseudo code
it is found as a uh as a condition
it begins with if so when it comes to
putting in here
on a flowchart we change the if to ease
and it becomes
a question which usually requires ies
or no answer so here there will be a yes
and there there will be a no so you will
see how these things are going to be
applied
but once you understand this then it
means that you'll be successful
in completing the course about computer
and calculator
all right let's look at some sample
questions that come in paper one so
paper one they bring two marks and paper
two they bring five months yeah in year
out this is what is going to happen
okay even in your exams all right the
question reads
in the answer space below is an
incomplete
simple program pseudocode for
calculating and
outputting the volume of the cylinder v
give given the best radius and
the height edge complete the program by
filling in the blank spaces
with appropriate statements now based on
uh first and foremost we need to know
the formula so volume
is given by so we need to memorize the
volume for a white team
for a cylinder okay so here they are
saying
in complete program pseudocode for
calculating and outputting the volume of
variety
seeding that now volume of a cylinder v
is given by
base area which is pi r
squared h so this is what this is the
formula for the volume of the cylinder
so now
pi it is something that is embedded only
a calculator
so the only value that you would need to
put under the input
in order for you to know the volume you
need to know the radius
and the height just as we have been
given in here we've been given
h and we've been given what are so these
are our
inputs all right and every time you're
trying to sort out something we always
start with it
begin so like here they've done begin
for us
then on enter we just have to say enter
and h this is what we are entering
then here where they are saying v is
equals to we just now
put the whole formula so pi r squared
h and your two max is that it is that
simple
and straightforward second type of
question the diagram in the answer space
below
is an incomplete flowchart to calculate
cos
x for the triangle shown below so like i
said
you need to be knowledgeable about it
different subjects
and their formula so here we are talking
about it trigonometry
so now if we want to find cos x what
they did is
this one would be x squared is equal to
y squared so x squared is equal to y
squared
plus z squared okay so
x squared is goes to y squared plus z
squared
minus two y
z cos x okay
two y of course what x now since they
are saying for cos
x meaning we have to make cos x subject
to the formula
so this one is going to be x squared
minus this one crosses here it becomes
minus
y squared even the z crosses becomes
minus
z squared okay is equal to
negative 2 y
z cos x 2 y z
cos x this is what it is going to be
then since we want cos x to be the
subject of the formula
we are going to divide here minus
2 y and
z okay even this side we do the same
we are going to have minus two
y and z so
uh this and that will cancel so finally
we are going to have cos
x so cos x
being equal to cos x being equal to now
this negative
divided by this positive that is in
front we are going to have
negative x squared there then this
negative times the negative there we are
going to have plus c
y squared then also this negative and
this negative
we are going to have what if we are
going to have plus c
z squared okay so
over then the negative down there has
changed it will remain minus
uh it will just be 2y z so this is the
formula
remember we're just making cos x is
subject to the formula
so rewriting our formula finally we are
going to have cos
x so cos x being equal to
this is cos x being equal to we always
start with the positive so we're going
to say
this one easy y squared plus
z squared okay y squared plus z
squared minus xc squared
okay so y squared plus z squared then
over this is two uh
y and z so this is the formula
so having come up with this formula then
you go now and fill in the table here
so as usual this begin
so in here you're just going to write
enter because
in your formula there remember in this
rectangle you're supposed to put the
formula so that same formula which we
have found there the cos
x is equal to so this is it
y squared plus z squared
so y squared plus z squared then minus
if
x squared over
to y that that is what you put in here
and you filled in you have your one mark
then enter here it is just going to be x
y and z these are the
uh things that are the formula we have y
here we have z
and we have x once we enter this the
computer is going to
compute it here using this one and then
you're going to output
cos x and you are done with this
question
all right let's look at this other
example also
which reads the diagram below shows a
flowchart for a program to calculate
tax on an income so here they are
telling us
that enter the income then here you ask
yourself a question now
is the income less than three thousand
if yes the need tax is zero so this
simply means that
for those people who get paid a three
they don't get any tax okay then for
those that
get taxed for those that get a salary of
more than three pin
they get taxed and now how do you
calculate that
you use this formula tax if this is a
formula which is in the
action box here so tax is equal to 0.3
multiplied by
income minus in 3 000 okay then after
you do that
you're going to now find the tax and
then you stop so they're saying complete
the table in the answer space below
so this one here if the income is easy
two thousand nine hundred so two
thousand uh two thousand nine hundred
this one here is income less than three
thousand
now two thousand nine hundred is less
than three thousand so if yes
then tax is zero so definitely in here
we are putting one thing
zero okay so this is the use of
computers
they are using the data is using this
method
actually to calculate the tax only
people that are working whether in
government or in the private
sector so that is what now if is the tax
less than 3 000 if you know of which
year 5 000
easy not less than 3 000 so to calculate
the tax here
now we are going to say okay tax like
they are saying tax
is equals to zero uh point three
okay so 0.3 multiplied by then
in the brackets there we are saying
income or which under income we are five
thousand
so that five thousand here five thousand
minus three thousand five thousand minus
three thousand this is perform no
calculator
so we are getting something like zero
pointy
three multiplied by two
thousand okay so two thousand here when
we subtract we get a two thousand
so let's multiply now we are multiplying
two thousand
like that two thousand multiplied by
just write it as zero three
if you know the point then let's
multiply so
this time that is zero then three times
zero
is also zero this time that is also
zero then three times two is what if six
when you add a zero here then you are
going to have
one two three four zero so one
two three four because
anytime you multiply something by zero
you always get a
zero so then you add there you add so
zero plus zero is zero zero plus zero
zero zero plus zero
zero then near six plus zero six then
you have
a zero now remember there was a point
that we did not
so now it is one decimal place meaning
we are going to do this
and this is it so we have a 600 so
meaning
this person will get a tax of 40 600
and this is how you solve such questions
so this is just an example
of question that comes in pepperoni
which carries
two marks now we are going to go to
paper two
where they can bring you a pseudo code
uh you convert it to a flowchart
or you convert a flowchart to a sudoku
so
please follow through and pay attention
to every little detail
that you'll be given on how to do these
things and once we are done then we are
warm and dry
to sit so the specific objective we are
trying to achieve
in this lesson today is on how to
convert a pseudo chord
to a flow chart so before we can dive
into solving the question
just a quick reminder of the four basic
things that you have to know about
computer and calculator so
you already know what a computer is is
simply any electronic
device that can be used to input data
that can be used for processing data it
can be used for storing data
and so on and so forth then you also
have to remember that
they are in a computer we have what we
call the inputs the things that you put
into the computer
then we also have the things that we
call the outputs
the things that the computer produces
after processing
the data for example after you input a
song into the laptop then the laptop is
going to produce sound so sound is an
example of
outputs so okay now to successively
solve questions that come in the exam
in your exams every year it doesn't miss
we have to
always bear in mind the meaning of the
four basic symbols
under compute and regulator so the first
symbol is the oval shape
which simply means start or stop so when
you're starting
you can start with this one and stopping
you can also stop with this one so
the other names for start and stop is
the uh begin
and the end then we also have an input
so when you're trying to put in to show
the inputs this is where you put them in
this is a parallelogram then when you're
also trying to write
the outputs the things that have been
displayed by the computer
you have to write them in this box as
well another box
okay you see how we can properly apply
these things
then we have the uh the the
the rectangle there which is an action
box
so in the action box always remember
this is where you have to put a formula
it's that simple
then we have a decision box so in the
decision box there that is where we put
the if conditions so it's a question
so a question on the pseudocode when
writing it in here
it changes into a condition okay so you
will see how these things
will be done so like we are saying we
are saying now a flowchart is simply a
graphical
representation of a problem uh solving
strategy that is what we call
a flowchart now a flowchart when we
connect these
symbols appropriately using some arrows
then it forms the yd and flowchart okay
so now according to the question that we
are trying to practice now in converting
a pseudocode to a flowchart now we have
said
a flowchart is a graphical
representation of a problem
solving strategy now we also have to
understand
what a pseudocode is so a pseudocode is
simply
a step-by-step step-by-step set of
instructions
that can be used to to program a code
or in simpler language a step-by-step
instruction that can be used
to perform an action for example if you
are trying to show someone on how to
turn on a tv
you tell them okay plug in get the
remote
press their own button sit back relax at
least if people follow those
instructions
they will be able to successfully turn
on the tv and watch
so that is just an example scenario of
what a pseudocode is
okay now let's look at the pseudocode
that has been written on the board here
and see how it can be translated into a
flowchart
now this is one of the questions that
comes in the exam and
it usually has quite a lot of marks
which you can't afford to miss so as
long as you follow us
understand this you will never fail any
question in the exam
okay so here we have simple
we have said this one means it starts
now here
the question that is supposed to be here
is you are supposed to commit
this pseudocode you convert it into yt a
flowchart
so now already things are
straightforward is
that this is the start that we have so
you are going to write
our stats so in the start here so let me
just try to decide so start
then we put the over there then the next
thing they are saying
enter radius now everything that you are
entering into something it is called an
input and the input box is this one
so you are going to connect using an
arrow
then we will do the the input so draw a
parallelogram
nicely it shouldn't be questionable
everyone should be able to see
that it is a paragraph so in here now
here on the pseudocode you write the
four words like that radius but when it
comes to here you are going to write it
only the symbols so we are going to say
enter okay
then you have to go to the next now the
next instruction now says
if okay so here they are saying if
radius is less than zero so now
then if when it comes to the so the
moment you see if
then you know it's supposed to go into
the decision box now
then if it changes into ease as you are
putting it in there
so when you draw the diamond shape there
that's diamond shape okay which looks
like that
so in here that if it changes into is
then is radius less than zero so
is so here if but so easy error
less than zero okay then there are two
possible
possibilities it's a question this is
the question so is radius less than zero
so there are two questions they can
either be that
answer or that answer so now here
they're saying
if radius is less than zero then display
error message and re-enter positive
value so meaning
if yes if no so if
it is less than zero then you have to
display now the display
symbol is this one so you have to
display
so here now they're saying then display
error message
so here you are displaying simply the
error
message okay display error message and
re-enter post device so re-enter
where you are entering from the arrow is
here so meaning the first array entered
was wrong so you have to re-enter that
is where
this loop now goes back so you re-enter
you start afresh okay
so having done that let's go to the next
one now they're saying
else enter height so after this has
happened you re-enter the correct error
now they are saying you enter
height so for entering also it is a
paragraph so
we draw a very nice paragraph there
so here also they are saying we enter
height
so we enter the height you put these
things nicely as it appears there
if you want you can put the way display
error message but the fact that you have
put it in the display it is already
displayed error message so you enter the
height as they have said then
again there's an if so the moment you
see if then you know you have to make a
decision
so the only place where you can make a
decision
from is in the decision box
which is the diamond shape okay so you
ask yourself is the height
less than zero this is a question so of
course there should be a yes
and a no so now here it's a yes
so here's the thing if height is less
than zero then display
error message under enter positive
height
so also here we are displaying the error
message so display error message so this
is the
error message
you put it as it appears there then they
are saying and
re-enter positive height so you haven't
then they're saying they enter so
you go back and re-enter the correct
height here
then here it says errors volume is equal
to
this one so the moment you see a formula
then you know that you have to apply
uh the action box which is a rectangle
so the moment you see that one you put
in this one
okay so this is where we're going to say
area
and like i say on the pseudocode we find
the words but here we just find it
the same way so this one will be area
half multiplied by
r squared multiplied by heights that is
what you're writing here
okay so we continue we continue now
the other thing says end if display
volume so display already we already
know what the
display is it is this
like that so when you display now so you
right here now
you can write the way display volume or
just write volumes of display volume and
then stop
so from there you are expected to stop
so now the stop button is the over so
we have successively converted from this
pseudobot
into a flowchart so this is the
flowchart and that is the pseudocode
then in our next lesson we are going to
look at on how to convert now
from a flowchart into the other way
around which is
converting a flowchart to a pseudocode
so you already know what a flowchart is
and we already defined
what a pseudocode is but just for the
sake of those that are joining us
for the first time maybe let me just go
through one
of these important shapes here so
computer lesson is just based on these
important shapes that are on the board
so this shape here the oval shape it
simply means start or stop
so when you are starting a program this
is where you enter and when you are
stopping
you also enter in a similar shape then
when you are inputting something when
you are
inputting something we always use this
paragram shape even when you are
displaying something which is outputting
something we also use
the parallelogram shape here then we
also have an action box to simplify
things for the sake of your exams
we just said in the action box there
whenever you see a formula
this is where we put a formula and in
the decision box
that's where you tend to get to put the
questions
so where you see if in the pseudocode
when it comes to writing a flowchart
this is where you say is okay so you put
a formula here
and also the success of writing any
flowchart
is dependent on an individual knowing
the formula so the first thing
that you have to deal with is know the
formula of the particular thing that you
are dealing with for example
if you want to write a for a flow chart
to show how volume is calculated
the first thing is know the formula for
volume
once you know the formula for volume
then you can easily
construct a flowchart okay having given
that
background let's just now continue we go
to the question that we have so
this question simply says convert the
following flowchart
to a pseudocode now a pseudocode has got
a specific language that we use and the
specific way
of writing it so please let me
demonstrate and explain
a few things on how it is supposed to be
done
okay so here there is a stat as you can
see
start there so we start just write the
start
then the enter error here on the sudo
code we finish we don't just write
symbols here we finish
on the flowchart that's where we're
writing the symbol so instead of saying
enter
as we're going to say enter radius so it
also doesn't start
it starts like you indent a bit so it
will start
in the radius
okay then you ask here there is
on the chad here it changes to the if
when you're writing a pseudocode so here
it's a question
if radius is less than zero
then okay so now here
if radius is less than zero so here they
are saying display error message so if
radius is less than zero then
display error message
error message
okay display error message then they are
saying
i run up if we have enough space would
have continued it there
and written error must be positive
must be positive
then we go to the next one now so here
every time
before you write a formula now you've
seen an action so before you write the
formula
always remember to put the word else so
here we are simply saying else
area so we are saying else area
is equal to this formula that we have
been given here
else our area here is equals to
half multiplied by
squared radius squared
radius multiplied by
sine theta so you continue that side
which will be signing
feed them make sure you have enough
space to be continuing these sentences
okay then before you can display
what you are calculating there is always
this funny thing that is put
and if okay and if
the knee that's when you say display
display area because that is what you
are doing
then having done that as a stop so this
top should be in the same line there
stop and you are done you have converted
from a flowchart to a pseudo board now
you can do a quick practice of this one
you simply erase this thing
and try to reconstruct it back using
this to prove if what you have done
is the correct thing okay so this is how
simple it is
uh computer uh this is paper two type
questions
but once you understand the paper two
type questions you can also easily deal
with the
the preparation questions because
they'll just need you to know the
formula
and understand these four basic shapes
and your woman dry
you are short of the total seven marks
that comes in your final exam
that is two max paper one and five marks
pepper 2.
thank you for listening to this lesson
today
till next time
