Search for notes by fellow students, in your own course and all over the country.
Browse our notes for titles which look like what you need, you can preview any of the notes via a sample of the contents. After you're happy these are the notes you're after simply pop them into your shopping cart.
Title: Flowchart & pseudocode
Description: Introduction of programming, flowchart & pseudocode
Description: Introduction of programming, flowchart & pseudocode
Document Preview
Extracts from the notes are below, to see the PDF you'll receive please use the links above
Flowchart & pseudocode
•
We will learn about flow charts, pseudocode and programming languages
...
After this, we will write our
program
...
First question, then given
values, then approach and at last we will code it
...
The flow chart constitute various
components, connected with each other Bhaiyan says
...
Terminator is used to show the start and end
start of the program
...
Bhaiya explains
how to make a flowchart for the sum of 2 numbers
...
The flow of a flow chart is the same as the flow of the
components of the flow chart
...
•
We want to make a flowchart for calculating simple interest This is the formula for simple
interest You must have studied it in your school We started our program from this start block I
do n’t know p , r , t , so I need to take them as inputs first So I asked user to give me the values
for p, r and t So now I have P , R and T So I made this rectangular block for the calculation part
Here I wrote this formula After finding this answer in the above calculation , I have to print
the output too So here I will print output with this block print SI and then we will end this
program We started the program , took a , b as input then we checked whether a is less than b
or not
...
If any number has 2 as its factor ,
then it is even number or ODD number
...
•
We have to print something and then increment too You have to Print and then increase the
printed number too You can see here , we printed and then increased the numbe by 1 But we
do n’t know how to do it How we will increase again and again Let ‘s rub it You know that we
have to start from 1 and print till 5 So if I give you a number which starts from 1 to 5, will it
work ? Your are like , yes , this is what we needed So I took a number =1 This is not a input , it
is a process , so I wrote it inside rectangular block
...
The catch is , 1 and N are inclusive here in the answer
should be 15
...
We know that we have to start with num=1 and increment it till N I know N = 5 , Num =1 , and
sum =0 in the beginning
...
You will get your homework after this
...
•
Flowchart shows how to add conditions, loops, input/output, processing, processing and
start/end
...
We learnt about flowcharts in this lecture, pseudocode and took an
overview of programming languages
...
Title: Flowchart & pseudocode
Description: Introduction of programming, flowchart & pseudocode
Description: Introduction of programming, flowchart & pseudocode