Professional Documents
Culture Documents
ICTLY5 Programming
ICTLY5 Programming
Programming Concept Algorithm (Sequential) Algorithm (Selection IF) Flowchart (Sequential) Flowchart (Selection IF)
1/3
ICTL
Analisis
Penyelesaiaan Am
Penyelesaiaan terperinci
Ujian
Fasa Implementasi
2/3
Sebelum memahami algorithm perlu faham dulu konsep programming dengan memahami beberapa istilah. program programming programmer Terdapat 2 jenis algorithm : Sequential Selection Algorithm mempunyai pewakilan atau dikenali sebagai pewakilan algorithm : 1.Psuedocode 2.Flowchart Selain pseducode dan flowchart anda juga perlu tahu tentang sourcecode. 3/3
ICTL
problem
1/9
ICTL
Untuk mengadakan satu atucara, kita memerlukan seorang pengaturcara untuk membuat pengaturcaraan. Untuk membangunkan satu program, kita memerlukan seorang programmer untuk membuat programming. Sekolah kita akan menyambut hari guru, oleh itu kita memerlukan seorang guru untuk membuat persediaan.
2/9
ICTL
General a set / list of instructions to follow Computer a set / list of instructions to direct the computer to do a task
3/9
ICTL
Click on instructions
Example of daily life
4/9
ICTL
6.45 am
7.00 am
have a breakfast
go to school 5/9
ICTL
Write list of instructions of one of the programs
Making Coffee Baking a Cake Birthday Party Go to school Clean a Classroom Post a letter Cooking Rice Wuduk Solat
6/9
ICTL
1.What are the instructions tell you to do? 2.How many instructions are there in this program?
7/9
ICTL
A Set/List of Instructions
Wash and cut the tomatoes and lettuce Add some salt, pepper, olive oil and lemon juice Cut the apple, cucumber and carrots into cubes Wash and peel the apple, cucumber and carrot Toss the ingredients before serving Put all the ingredients in the salad bowl
1. Wash and peel the apple, cucumber and carrot 2. Cut the apple, cucumber and carrots into cubes 3. Wash and cut the tomatoes and lettuce 4. Put all the ingredients in the salad bowl 5. Add some salt, pepper, olive oil and lemon juice 6. Toss the ingredients before serving
8/9
ICTL
A Set/List of Instructions
Wash and cut the tomatoes and lettuce Add some salt, pepper, olive oil and lemon juice Cut the apple, cucumber and carrots into cubes Wash and peel the apple, cucumber and carrot Toss the ingredients before serving Put all the ingredients in the salad bowl
Programming (Creating a sequence of instructions ) 1. 2. 3. 4. 5. 6. Wash and peel the apple, cucumber and carrot Cut the apple, cucumber and carrots into cubes Wash and cut the tomatoes and lettuce Put all the ingredients in the salad bowl Add some salt, pepper, olive oil and lemon juice Toss the ingredients before serving
9/9
ICTL
Analisis
Penyelesaiaan Am
Penyelesaiaan terperinci
Ujian
Fasa Implementasi
2/3
ICTL
A specific and step-by-step set of instructions for carrying out a procedure or solving a problem, usually with the requirement that the procedure terminate at some point 2 types of algorithm representation will be explained: Flowchart Pseudocode
1/4
ICTL
Satu jujukan langkah demi langkah terhingga Digunakan untuk menyelesaikan masalah Seorang pengaturcara yang baik biasanya tidak cuba menyelesaikan masalah dengan terperinci di peringkat permulaan. Biasanya kaedah rekabentuk atas-bawah digunakan.
1/4
ICTL
1/4
ICTL
Problem: Prepare a Breakfast 1. Start 2. Prepare a Breakfast 2.1 Prepare a tuna sandwich 2.2 Prepare some chips 2.3 Make a cup of coffee
3. End
1/4
ICTL
1. Start 2. Prepare a Breakfast 2.1 Prepare a tuna sandwich 2.1.1 Take 2 slices of bread 2.1.2 Prepare tuna paste 2.2 Prepare some chips 2.2.1 Cut potatoes into slices 2.2.2 Fry the potatoes 2.3 Make a cup of coffee 3. End
1/4
ICTL
1/4
ICTL
1. Student identify at least five daily activities that involve sequence or procedure. Student list down the procedures accordingly to its order.
1/4