?????????? (Algorithm) - PowerPoint PPT Presentation

About This Presentation
Title:

?????????? (Algorithm)

Description:

... (Pseudo Code) ... – PowerPoint PPT presentation

Number of Views:23
Avg rating:3.0/5.0
Slides: 17
Provided by: 6te4
Category:

less

Transcript and Presenter's Notes

Title: ?????????? (Algorithm)


1
?????????????????????
2
??????????????????????
2
3
??????????????????
  • ?????????? (Algorithm)
  • ??????????????????
  • ???????????????????
  • ?????? (Flowchart)
  • ????????? (Pseudo Code)

3
4
??????????????
  • ??????????????????

????? ????????? ????????????? ????????????????
1 Terminal Symbol ???????? - ???????????????
2 Processing Symbol ???????? ???? ???????? ???????????
3 Decision Symbol ??????????????? ???????????????
4 Input / Output Symbol ???/???????????? ?????????????????
5 Manual Input Symbol ?????????????????????
6 Display Symbol ???????????????????
4
5
??????????????
  • ??????????????????

????? ????????? ????????????? ????????????????
7 Continuous Paper Symbol ????????????????????????????????????????????
8 Connect Symbol ???????????????????? ???????????
9 Connect Symbol ???????????????????? ????????????
10 Preparation Symbol ????????????????????????
11 Subroutine Processing ????????????
12 Flow Line ????????????????????
5
6
??????????????????????
  • ???????????????
  • ??????????????
  • ?????????????????
  • ???????????????????????? (loop)

6
7
??????????????????????
  • ??????????????

????????
??????????
?????
??????
7
8
??????????????????????
  • ?????????????????

????????? IF-ELSE
????????? IF
9
??????????????????????
  • ?????????????????

????????? Switch-Case
Start
READ c
switch c
case 1
case 3
case 2
case 4
PRINT A
PRINT B
PRINT C
PRINT F
9
End
10
??????????????????????
  • ???????????????????????? (loop)

????????? WHILE
????????? DOWHILE
????????? For
10
11
????????????????? (Top-Down Design)
  • ????????????????????? ??????????????
  • ???????????????????????????????? ?
    (Decomposition)
  • ?????????????????????????????????????????????????
    (Stepwise Refinement)

11
12
????????????????? (Top-Down Design)
  • ????????????????????????????? ?
  • ??????????????????? (Initialization)
  • ??????????????? (Input)
  • ???????? ??????????? (Computation and processing)
  • ????????? (Output)
  • ???????????? (Closing)
  • ??????????????????? (Error handling)

12
13
????????????????? (Top-Down Design)
  • ????????????????????????????? ?
  • ??????????????????? (Initialization)
  • Counter 1
  • Sum 0
  • ??????????????? (Input)
  • READ N
  • ???????? ??????????? (Computation and processing)
  • WHILE (Counter ltN)
  • Sum Sum Counter
  • Counter Counter 1
  • ENDWHILE
  • ????????? (Output)
  • PRINT SUMMATION , Sum
  • ???????????? (Closing)
  • ??????????????????? (Error handling)

13
14
????????????????? (Top-Down Design)
  • ?????????????????????????????????????????????????
    (Stepwise Refinement)
  • ??????????????????????????????????????????????????
    ?? ??????????????????????????????????????????
  • ???????????? ????????????????????????
    ??????????????????????

14
15
??????????????????
  • ?????????????
  • ?????????????????????????? ???????????????????????
    ?????????? ?????????????????????????????
    ????????????????????????? ????????????????????????
    ??????????????????? ? ??? ???????? ????? ????
    ??????????? ???? ????????

15
16
??????????????????
  • ?????????????????
  • ????????????? ??????? 1 ???? 2 ??????????
  • ????????????????????????????????????????????????
  • ???????????????????????? ??????????????????
    ???????????????????????
  • ???????????????????????? ?????????????????????????
    ?
  • ??????????????????????????? ???????????????????
  • ????????????????????????????????????
    ???????????????????? ?????????????????????????
  • ???????????????????? ?????????????

16
Write a Comment
User Comments (0)
About PowerShow.com