Upcoming SlideShare
×

Algorithm and flowchart

546 views

Published on

Published in: Education, Technology
2 Likes
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
• Be the first to comment

Views
Total views
546
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
30
0
Likes
2
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