SlideShare une entreprise Scribd logo
1  sur  64
Basic
Flowcharting
(Flowcharting)
(Flowcharting)
1/3)
3
10
10
?
(2/3)
(3/3)
–
– -
– -
2
 (System
flowchart)
 (Program
flowchart)
(System
flowchart)
(Program flowchart)


100
= 0.5 * *
= 0.5 * *





(decision table)
(1/13)


American
National Standard Institute
(2/13)
(Terminal
)
1.
2.
1.
START
STOP
read name
display area
(3/13)
(Process)
1. A
+ B
C
2.
sum
0
i
C = A + B
Sum = 0
i <= 10
true
false
i
(4/13)
(Documen
t)
A
A,
B
print A
display A , B
(5/13)
(Commen
t)
(Manual
Input)
A
read A A = Age
read A
(6/13)
(Preparati
on)
i
1
1
100
sum i
for i =1 to 100
sum = sum + i
i
(7/13)
(In-Page
connector
)
A
A
A
write A
A = 3
1
(8/13)
(Punch
card)
1. A
1
2.
B,C
1
B1 ,
B2 , Bn
n
read A
punch B , C
punch
bi b=1 ,
…n
(9/13)
(Punched
tape)
ID ,
name
read ID ,
name
(10/13)
(Magnatic
disk)
(11/13)
(Predefine
Process)
findGra
de
findGrade
(12/13)
(Auxiliary
Operation)
(13/13)
(Communic
ation Link)
(1/2) START
STOP
read age
age > 60
“You are old”
true
false
(2/2)START
sum =
0
i = 1 to 10
sum = sum
+ i
i
sum
STOP
(3/2)


☺ (Sequence)
☺ / /
(Selection/Decision/Conditio
n)
☺ (Iteration / Loop)
(1/3)
(2/3)
START
STOP
A = 5
B = 3
C = A + B
print C
A 5
B 3
A B
C
(3/3)
A, B
A B
C
START
STOP
C = A + B
print C
A , B
1.
2.
--> < >
--> <
>
-----------------------------------------------------
: < >
: < >
3.
–
–
4.
– Last_meter
– Curr_meter
– Num_meter
– Electric_fee
5.
1.
2. last_meter
curr_meter
3. num_meter = curr_meter
– last_meter
4. electric_fee =
num_meter * 2.5
5. num_meter , electric_fee
Flow chart
START
STOP
Num_meter = Curr_meter – Last_meter
Last_meter ,
Curr_meter
Electric_fee = Num_meter * 2.5
Num_meter , Electric_fee
• (IF - THEN)
(1/5)
(2/5)START
STOP
read age
age > 60
“You are old”
true
false
age
age
(3/5)
GoodLuck
Welcome Manager
Exit
Password System
ans
ans = “GoodLuck”
Welcome
Manager
Exit Password
System
(4/5)
%

1.
2.
- =
( 10/100)
3. =
(5/5)
START
STOP
read
name ,salary
salary < 5000 Name , salary ,
bonus
true
false
salary = salary + (salary*10/100)
A
A
bonus = salary * 3
IF –
THEN
IF THEN
BEGIN
;
;
END;
IF THEN
ELSE
BEGIN
;
;
END;
(1/6)
(2/6)
• sex =1
Male
• sex =1
Female
Sex = 1
Male = Male +1Female = Female + 1
TrueFalse
(3/6)
START
STOP
read age
age > 60
“You are old”
truefalse
“You are young”
age
Yo
Yo
age
(4/6)
ans
ans = ‘y’ OR ans=‘Y’
Thank YouI’m sorry to hear that
Do you like Pascal
Good Bye
Do you like P
ans
ans
-
Thank you
-
I’m sorry to hear
Goodbye
(5/6)
%
5000 5%
•
1.
2. < 5000
- = 10/100
- = 5/100
3. = + ( *
)
4. =
(6/6)
START
STOP
read
name ,salary
salary < 5000
Name , salary ,
bonus
truefalse
rate = 10 / 100
A
A
bonus = salary * 3
rate = 5 / 100
salary = salary+(salary * rate)
(
IF)
TrueFalse
TrueFalse
TrueFalse
(
IF)
Score >=80
Grade = ‘A’
truefalse
Score >=70
Grade = ‘B’
truefalse
Score >=60
Grade = ‘C’
truefalse
Score >=50
Grade = ‘D’
truefalse
Grade = ‘F’
Score = mid + final
(
CASE)
(
CASE)
score
Grade = ‘B’Grade = ‘A’ Grade = ‘D’Grade = ‘C’
80..100 70..79 60..69 50..59
Grade = ‘F’
0..49
Score = mid + final
•
(Controlled Loop)
• (Pre-
Test Condition)
• (Post-
Test Condition)
Next
N 1 1
5
Next
N
For N =1 , 5
Next
Print N
True
False
•
N <= 5
– N
– N 1
(N=N+1)
•
N <=5
N = N+1
True
False
Print N
N = 1
True
False
–
N
–
N 1
•
N > 5
N > 5
True
False
N = N+1
Print N
N = 1

Contenu connexe

Plus de ชญานิษฐ์ ทบวัน

Plus de ชญานิษฐ์ ทบวัน (20)

Pre o-net job3 ชุด สอง
Pre o-net job3 ชุด สองPre o-net job3 ชุด สอง
Pre o-net job3 ชุด สอง
 
O net 52 M. 3 Tecnology
O net 52 M. 3 TecnologyO net 52 M. 3 Tecnology
O net 52 M. 3 Tecnology
 
Flowchart6
Flowchart6Flowchart6
Flowchart6
 
Flowchart5
Flowchart5Flowchart5
Flowchart5
 
Flowchart3
Flowchart3Flowchart3
Flowchart3
 
Flowchart4
Flowchart4Flowchart4
Flowchart4
 
Flowchart2
Flowchart2Flowchart2
Flowchart2
 
Flowchart1
Flowchart1Flowchart1
Flowchart1
 
ใบงานที่ 1
ใบงานที่ 1ใบงานที่ 1
ใบงานที่ 1
 
report M.4
report M.4report M.4
report M.4
 
Ex 1
Ex  1Ex  1
Ex 1
 
ตัวอย่างทำหัวข้อ Powerpoint
ตัวอย่างทำหัวข้อ Powerpointตัวอย่างทำหัวข้อ Powerpoint
ตัวอย่างทำหัวข้อ Powerpoint
 
Powerpoint
PowerpointPowerpoint
Powerpoint
 
วิธีการทำ Power point
วิธีการทำ Power pointวิธีการทำ Power point
วิธีการทำ Power point
 
วิธีการใช้โปรแกรม Microsoft word 5
วิธีการใช้โปรแกรม Microsoft word 5วิธีการใช้โปรแกรม Microsoft word 5
วิธีการใช้โปรแกรม Microsoft word 5
 
วิธีการใช้โปรแกรม Microsoft word 5
วิธีการใช้โปรแกรม Microsoft word 5วิธีการใช้โปรแกรม Microsoft word 5
วิธีการใช้โปรแกรม Microsoft word 5
 
วิธีการใช้โปรแกรม Microsoft word 4
วิธีการใช้โปรแกรม Microsoft word 4วิธีการใช้โปรแกรม Microsoft word 4
วิธีการใช้โปรแกรม Microsoft word 4
 
โปรแกรม Microsoft word 3
โปรแกรม Microsoft word 3โปรแกรม Microsoft word 3
โปรแกรม Microsoft word 3
 
วิธีการใช้โปรแกรม Microsoft word 2
วิธีการใช้โปรแกรม Microsoft word 2วิธีการใช้โปรแกรม Microsoft word 2
วิธีการใช้โปรแกรม Microsoft word 2
 
Intro Microsoft word 1
Intro Microsoft word 1Intro Microsoft word 1
Intro Microsoft word 1
 

Dernier

Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
amitlee9823
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
dollysharma2066
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
daisycvs
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
lizamodels9
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
amitlee9823
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Dipal Arora
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
dlhescort
 

Dernier (20)

Falcon's Invoice Discounting: Your Path to Prosperity
Falcon's Invoice Discounting: Your Path to ProsperityFalcon's Invoice Discounting: Your Path to Prosperity
Falcon's Invoice Discounting: Your Path to Prosperity
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptx
 
Forklift Operations: Safety through Cartoons
Forklift Operations: Safety through CartoonsForklift Operations: Safety through Cartoons
Forklift Operations: Safety through Cartoons
 
BAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
BAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRLBAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
BAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
 
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
 
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Service
 
John Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdfJohn Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdf
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptx
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 May
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
 

Flowchart