INDEPENDENT STUDY : |
Tuesday/Wednesday - May 30th, 2022
Objectives
Students will be able to:
Share
A bloolean expression is...
A conditional statement has a Boolean expression and a second part if the boolean expression is true. If the expression is false, the the program will ignore.
Students will be able to:
- Use conditionals to react to changes in variables and sprite properties
- Warm-up: 1. Please state 3 conditional statement your parent/guardian tells you: 2. What is a Boolean expression?
Share
A bloolean expression is...
A conditional statement has a Boolean expression and a second part if the boolean expression is true. If the expression is false, the the program will ignore.
PART 3: Key Vocabulary:
- Condition - Something a program checks to see whether it is true before deciding whether to take an action.
- Conditionals - Statements that only run under certain conditions.
- Boolean Expression - In programming, an expression that evaluates to True or False.
PART 4: Question of the Day: WE WILLL ANSWER THIS QUESTION AT THE END OF THE DAY:
- How change a programs course as it is running?
PART 5: CLICK ON THE LINK BELOW:
PART 6: WATCH THE VIDEO AND CONSIDER THE VOCABULARY WORD OF THE DAY
PART 7:
PART 8:
PART 9:
PART 10: Question to Consider with Video:
The broad point of this question is that programmers use if statements when they want the program to run differently in response to different situations. STUDENTS: think of particular situations in which this would be the case. For example, they might want their characters to move faster when a "bonus" is in effect, or maybe they want more enemies to appear when the player reaches a certain level. Maybe they want the program to react in some way if a user presses a key or clicks the mouse, or they want a character to change animations if it touches a particular item.
- When would you want to use an if statement?
The broad point of this question is that programmers use if statements when they want the program to run differently in response to different situations. STUDENTS: think of particular situations in which this would be the case. For example, they might want their characters to move faster when a "bonus" is in effect, or maybe they want more enemies to appear when the player reaches a certain level. Maybe they want the program to react in some way if a user presses a key or clicks the mouse, or they want a character to change animations if it touches a particular item.
PART 11:
PART 12:
PART 13:
PART 14:
PART 16: EXIT TICKET: PLEASE ANSWER THIS QUESTION ON GOOGLE CLASSROOM:
- Now that you know how conditionals work, where you do think that they are used in games or other programs and apps that you already use?
Thursday/Friday - June 2/3rd
Objectives
Students will be able to:
- Move sprites in response to keyboard input
- Use conditionals to react to keyboard input
PART 1: WARM-UP: GOOGLE CLASSROOM:
So far all of the programs you've written run without any input from the user. How might adding user interaction make your programs more useful, effective, or entertaining? How might a user provide input into your program?
PART 2:
PART 3:
PART 4:
PART 6;
PART 7
PART 8:
PART 9:
EXIT TICKET: PLEASE ANSER THESE QUESTIONS ON GOOGLE CLASSROOM
1. Question of the Day: How can our programs react to user input?
2. Journal: Think back to all of the programs you've written so far; how might you use user interaction to improve one of your programs from past lessons? What condition would you check, and how would you respond to it?
1. Question of the Day: How can our programs react to user input?
2. Journal: Think back to all of the programs you've written so far; how might you use user interaction to improve one of your programs from past lessons? What condition would you check, and how would you respond to it?
Extra lesson
Skip section 4
Section 5
Section 7
Section 9
Intro to Python:
Part 1: Create an account:
- Create an account by signing up with your Teach google email.
- Please select the google image
2. Then, select "Learn Python"
3. Click on the green button to " Enroll" in the Data Scientist class.
4. Grab headphones and begin your journey with Python
Exit ticket:
Show me your work.
Exit ticket:
Show me your work.