LOG
O
Algorithm
CED1101
Pseudo Code
Pseudo Code
(Reserve Word)
Algorithm (
1. ………………………………………
2. ………………………………………
………………………………………
………………………………………
END
Key
Board 0
Algorithm
1. = 0
2. = 0
3.
4. 0
1
= +
3
5
5. =
Algorithm
1. = 0
2. = 0
3.
4. 0
1
= +
3
5
5. =
Algorithm
Average_Sum
1. count = 0
2. sum = 0
3. INPUT (value)
4. IF value ...
READ INPUT
(,)
PRINT
Compute
Compute ARRAY = ( X * Y ) / 2
IF IF – THEN – ELSE ENDIF
(Statement)
2
CASE ENDCASE
1.
FOR ENDFOR IN STEP OF
2.
REPEAT – UNTIL
3.
DO – WHILE
LABEL
GOTO
PSEUDO CODE
1 + 2 + 3
+ ……..+ 100
START
I = 0
SUM = 0
DO ( I <= 100) WHILE
Compute SUM =
SUM + 1
Compute I = I + 1
ENDDO
PRINT SUM
END
Flowchart
1.System Flowchart
2.Program Flowchart
ANSI (American National
Standards Institute)
1.
(Sequence)
2.
(Selection)
3.
Flowchart
( Output )
( Input )
Flowchart
Flowchart
Flowchart
Algorithm and flowchart
Algorithm and flowchart
Algorithm and flowchart
Algorithm and flowchart
Algorithm and flowchart
Upcoming SlideShare
Loading in...5
×

Algorithm and flowchart

268

Published on

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
268
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
16
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Algorithm and flowchart

  1. 1. LOG O Algorithm CED1101
  2. 2. Pseudo Code Pseudo Code (Reserve Word)
  3. 3. Algorithm ( 1. ……………………………………… 2. ……………………………………… ……………………………………… ……………………………………… END
  4. 4. Key Board 0
  5. 5. Algorithm 1. = 0 2. = 0 3. 4. 0 1 = + 3 5 5. =
  6. 6. Algorithm 1. = 0 2. = 0 3. 4. 0 1 = + 3 5 5. = Algorithm Average_Sum 1. count = 0 2. sum = 0 3. INPUT (value) 4. IF value > 0 THEN count = count + 1 sum = sum + value GOTO 3 ELSE GOTO 5
  7. 7. READ INPUT (,) PRINT Compute Compute ARRAY = ( X * Y ) / 2
  8. 8. IF IF – THEN – ELSE ENDIF (Statement) 2 CASE ENDCASE
  9. 9. 1. FOR ENDFOR IN STEP OF 2. REPEAT – UNTIL 3. DO – WHILE
  10. 10. LABEL GOTO
  11. 11. PSEUDO CODE 1 + 2 + 3 + ……..+ 100
  12. 12. START I = 0 SUM = 0 DO ( I <= 100) WHILE Compute SUM = SUM + 1 Compute I = I + 1 ENDDO PRINT SUM END
  13. 13. Flowchart
  14. 14. 1.System Flowchart
  15. 15. 2.Program Flowchart
  16. 16. ANSI (American National Standards Institute)
  17. 17. 1. (Sequence)
  18. 18. 2. (Selection)
  19. 19. 3.
  20. 20. Flowchart
  21. 21. ( Output ) ( Input )
  22. 22. Flowchart Flowchart Flowchart
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×