qosaelder.blogg.se

Algoritma pemrograman dasar powerpoint
Algoritma pemrograman dasar powerpoint







Menentukan apakah data yang dimasukkan adalah bilangan positif atau negatif Menentukan apakah data yang dimasukkan adalah bilangan genap atau ganjil Write: X TTL = TTL / CNT TTL = TTL + X WRITE CNT, TTL CNT = CNT+ 1 Stopġ2 Answer 1: Start TTL = 0, CNT = 0 Read: X yes X = 9999 ? Noġ3 Answer 2: Start Read: A, X no A  0 ? yes X = X + 3 X = X - 3 Write: Xġ4 Latihan Soal Menampilkan bilangan 1 s/ 10 IF A is a negative number, add 3 to X IF Not, subtract 3 from X (Do it in Classroom…)ġ1 Answer 1: Start TTL = 0, CNT = 0 Read: X yes End of Data No Find the average of 3 input data numbers: StartĪ number of data The amount of data depends on the number of inputs that may varies. Prepare Equipments Match with Answers Read Notes Fit? no Understand Notes yes Understand Contents Take a break Stop A Bĩ EXAMPLE: 3. Flow Chart for Study: A B Start Do the Questions Flow chart for buying cakes using coupons: Start Prepare Money Queue for buying coupon Buy the Coupon A Choose Cake Trade cake for coupon Stop AĨ EXAMPLE: 2. Looping Statements Condition False True Process A Process BĮXAMPLE: 1. Conditional Statement Condition False True Process A Process BĦ TYPES OF INSTRUCTION Condition Process A Process B False TrueĬ.

algoritma pemrograman dasar powerpoint algoritma pemrograman dasar powerpoint

Unconditional Statements Process A Process B Process Cĥ TYPES OF INSTRUCTION Condition Process A Process B False Trueī. ConnectorĤ TYPES OF INSTRUCTION Process A Process B Process CĪ.

algoritma pemrograman dasar powerpoint

Symbol for presenting data/input or results/output Symbol of a process or program statement Symbol for conditional statement where decision is based of whether the condition is true or false y n Process flow/direction Symbol for result’s documentation (in hard copy) Start and End of a program indication Symbol for reading data/input using punched cards. 2 BACKGROUND Program : composed by 1 programmer composed by 1 team of programmers Required planning & design using: FlowChart: “Symbols representing the flow of control steps of a program’s execution” Objective: to simplify program-code composition “FLOW CHART”









Algoritma pemrograman dasar powerpoint