Professional Documents
Culture Documents
FORMATIVE ASSESSMENT-IV
NAME:
CLASS: VI
DATE:
SUBJECT: I.T.
REF: ICT6/FA4/HT2/13-14
ALGORITHM:
In computing, a set of instructions implemented by a computer to arrive at a specific result.
A computer program is formed of several sets of instructions or Algorithm.
An Algorithm can be defined as a formal set of instruction that can be flowed to perform a
specific task such as solving a logical or a mathematical problem.
EXAMPLE:
What steps would you follow to buy a Notebook?
Step 1: Start
Step 2: Take money and go to the stationery shop near by your home.
Step 3: Tell the shopkeeper what kind of notebook you want.
Step 4: Get the Notebook from him.
Step 5: Pay him the money for the Notebook.
Step 6: Stop.
FLOWCHARTS:
A flowchart is a diagrammatic representation of a problem-solving process, in which steps are
laid out in logical order.
It is called a Flowchart, since it charts the flow of a program. In the flowchart technique, each
operation is represented by arrows to illustrate the sequence of operations.
The flowchart is a means of visually presenting the flow of data through an information
processing systems, the operations performed within the system and the sequence in which
they are performed.
Page 1 of 5
Off-page connector
Flow line
Display
Page 2 of 5
RULES OF FLOWCHARTING:
The rules followed in flowcharting are:
The general direction of flow in any flowchart is from top to bottom or from left to right.
Arrowheads are used to indicate the flow of information or sequence of events.
Crossing flow lines do not show that there is any logical connection between those lines.
When drawing a flowchart on more than one sheet of paper, the connectors joining different
pages must be referenced by the same number, say 1,2,3 etc.
Page 3 of 5
SUM = 0
N=0
N=N+1
No
SUM = SUM + N
IS
N=50?
YES
PRINT SUM
END
END
Page 4 of 5
CONCEPT OF LOOP:
A Loop is a sequence of instructions that repeats a specified number of times until a particular
condition is met.
Let us understand the concept of a loop with the help of the example.
If you want to draw a flowchart to print your name 10 times.
A counter is set up which counts the number of times a process has been repeated.
Here Count is used as a counter.
This counter gets raised after each repetition.
The program will check the value of the counter each time, before going to the next repetition.
If the value of the counter is less than 11, then and only then will the process be repeated.
When the value of the counter becomes equal to 11, it will get out of the loop.
START
READ NAME
COUNT = 1
PRINT NAME
COUNT = COUNT + 1
Yes
IS
COUNT
<=10?
No
STOP
Page 5 of 5