Outschool
開啟貨幣、時區和語言設置
登入

有趣地學習編碼 - 第 6 部分(條件)

學生將練習 while 迴圈、until 迴圈和 if / else 語句。所有這些區塊都使用條件語句,允許它們編寫根據程式遇到的特定條件而具有不同功能的程式碼。
J Mehta M.S. B.Ed.- Astronomy-Sc-Human Body-Coding
平均評分:
4.7
評論數量:
(917)
班級

包含什麼

1 現場會議
50 分鐘 上課時間
我們無法翻譯此文,請刷新頁面並再試一次。

課堂經歷

This lesson introduces students to while loops and if / else statements. While loops are loops that continue to repeat commands as long as a condition is true. While loops are used when the programmer doesn't know the exact number of times the commands need to be repeated, but the programmer does know what condition needs to be true in order for the loop to continue looping. 
If / Else statements offer flexibility in programming by running entire sections of code only if something is true, otherwise it runs something else.
Students will practice while loops, until loops, and if / else statements. All of these blocks use conditionals. By practicing all three, students will learn to write complex and flexible code.
The if / else blocks will allow for a more flexible program. The bee will only collect nectar if there is a flower or make honey if there is a honeycomb. Students will also practice and recognize a connection between if / else blocks and while loops in this set of puzzles.
what the bee should do when it gets to the cloud. New patterns will emerge and students will use creativity and logical thinking to determine the conditions where code should be run and repeated.

Initial 2 minutes will be Introduction and making sure that everyone has access to the link that will be shared before the class time.
Next 16 minutes will be working on challenge 1. I will keep explaining and helping them with their understanding as they progress.
Next 16 minutes will be working on challenge 2. I will keep explaining and helping them with their understanding as they progress.
Next 15 minutes will be working on challenge 3. I will keep explaining and helping them with their understanding as they progress.
Next 1 minutes will be reinforcing the vocabulary and reflection on their learning.
學習目標
Students will be able to:
Translate spoken language conditional statements into a program.
Solve puzzles using a combination of looped sequences and conditionals.
Define circumstances when certain parts of a program should run and when they shouldn't.
Determine whether a conditional is met based on criteria.

Vocabulary:-
Conditionals - Statements that only run under certain conditions.
Condition - A statement that a program checks to see if it is true or false. If true, an action is taken. Otherwise, the action is ignored.
Loop - The action of doing something over and over again.
Repeat - Do something again
While Loop - A loop that continues to repeat while a condition is true.
學習目標

其他詳情

供應清單
Student will need a laptop or desktop and should be able to open a link in their browser.
I will be sharing the link in the classroom before their scheduled class time. You will find all the links and instructions in the 'Teacher' tab in your class.
The hyperlinks will be shared before the class time as done with other parts PART1 to PART5 earlier.
外部資源
除了 Outschool 教室外,本課程也使用:
    4.7
    917評論
    教師檔案
    教師專業知識和證書
    非美國 教學證書 在 科學
    I am an enthusiastic science, technology and STEM teacher with over 30 years of teaching experience teaching different age and grade levels. 

    評論

    一次性直播課程
    分享

    US$28

    每班
    單堂課
    50 分鐘

    有11 位學習者完成此課程
    即時視訊會議
    年齡: 7-12
    1-12 每班學員人數

    該課程不再提供
    關於
    支援
    安全隱私加州隱私學習者隱私管理資料首選條款
    下載這個軟體
    在應用程式商店下載在 Google Play 上取得
    © 2024 校外