7. ALGORITHM (AL-go-rith-um)
• It is a logical procedure or set of steps to be
followed to arrive at a solution to a problem. An
algorithm is the breaking down of a problem into
simple steps in order to find the right answer.
• It is a detailed series of instructions for carrying out
an operation or solving a problem.
10. PSEUDOCODE (SOO-do-kohd)
• It is intended for human reading rather
than machine reading.
• It is an algorithm in English statements
written in outline form to conceptualize it
before coding in a programming language.
11. RULES IN PSEUDOCODING
Must be language
independent.
Indent lines to
make it easy to
read and
understand.
Show keywords in
capital letters
(START, IF, END).
End every IF with
an END IF.
End every DO, DO
FOR, DO WHILE
and DO UNTIL
with an END DO.
12. Step 1
• Prepare your workspace and materials needed.
Step 2
• Cut at least 1 ½ meter of duplex stranded wire#12.
Step 3
• Insulate both ends for at least 1 ½ inches
13. Step 4
• Split the other end for about 1 ½ inches.
Step 5
• Open the female convenience outlet.
Step 6
• Attach the two insulated wires on the two
terminals of the convenience outlet.
Step 7
• Secure attachment and close the outlet.
Step 8
• Attach the other end of the insulated wire to
the two terminals of male plug.
Step 9
• Secure the connection and test the extension
cord.
14. FLOWCHART
• It is a formalized graphical representation of an
algorithm, sequenced activities and logic to be
performed by the computer for carrying out data
processing.
15. FLOWCHART
• It uses special symbols which represent a
specific function. It is used by a programmer
before the actual start of any programming
activity.
• It uses arrow to illustrate flow of direction of the
process.