INDEPENDENT STUDY : |
Monday/Tuesday- April 4th/5th, 2022
Objectives
Students will be able to:
PART 1: WARM-UP
Students will be able to:
- Use and reason about drawing commands with multiple parameters
PART 1: WARM-UP
The rect block has two inputs that control where it's drawn - the x and y position. If you wanted these commands to draw different sizes of rectangles, what additional inputs would you need to give these blocks?
PART 2: Share with the class
PART 3: REMARK
"If we want our blocks to draw shapes in different ways they'll need more inputs that let us tell them how to draw. The inputs or openings in our blocks have a formal name, Parameters, and today we're going to be learning more about how to use them."
PART 4: Key Vocabulary:
PART 5: Question of the Day:
PART 2: Share with the class
PART 3: REMARK
"If we want our blocks to draw shapes in different ways they'll need more inputs that let us tell them how to draw. The inputs or openings in our blocks have a formal name, Parameters, and today we're going to be learning more about how to use them."
PART 4: Key Vocabulary:
- Parameter - Additional information provided as input to a block to customize it's functionality
PART 5: Question of the Day:
- How can we use parameters to give the computer more specific instructions?
PART 6:
PART 7:
PART 8:
PART 9
PART 10:
PART11:
PART 12
PART 13: EXIT TICKET: PLEASE ANSWER THIS ON GOOGLE CLASSROOM:
- Question of the Day: How can we use parameters to give the computer more specific instructions?
- Prompt: You use parameters to control your shape's location and size. Can you think of any other situations in which parameters might be useful?
WEDNESDAY - April 6th, 2022
Objectives
Students will be able to:
- Identify a variable as a way to label and reference a value in a program
- Use variables in a program to store a piece of information that is used multiple times
PART 1: WARM-UP: PLEASE ANSWER ON GOOGLE CHROME:
- At the beginning of the course, we learned that input, output, storage, and processing were common to all computers. Where do you see input, output, storage, and processing in Game Lab?
PART 2: SHARE:
NOTES:
- input: values passed as parameters, typing into the Game Lab workspace
- output: shapes shown on the Game Lab screen
- storage: remembering the code
- processing: the If/then and matching that turn the code into the pictures on the screen
PART 3: REMARKS
Today we're going to focus on storage. We're going to look at variables, which are a very common way for computers to store information in a program.
PART 4: Key Vocabulary:
- variable - a label for a piece of information used in a program
PART 5: QUESTION OF THE DAY: WE WILL ANSWER THIS QUESTIONS AT THE END OF CLASS
- How can we use variables to store information in our programs?
PART 6: PLEASE HEAD OVER TO CODE.ORG/GAMELAB
PART 7: VIDEO: Questions to Consider
var score = 10
Note: the "=" is the assignment operator
We read it like this:
score "gets the value of"
or
score "gets"
Like a score, name, age, address.
- What are variables used to do?
- Variables are used to be able to use a computers memory and it can be used and updated throughout the program.
- How do you create a variable and assign it a value?
- First you create a variable
var score = 10
Note: the "=" is the assignment operator
We read it like this:
score "gets the value of"
or
score "gets"
- What can go into a variable?
Like a score, name, age, address.
PART 8
PART 9
PART 10:
PART 11:
PART 12
PART 13
EXIT TICKET: PLEASE ANSWER THE FOLLOWING QUESTIONS ON GOOGLE CLASSROOM:
Question of the Day:
- How can we use variables to store information in our programs?
- What is your own definition of a variable?
- Why are variables useful in programs?
THURSDAY/FRIDAY - April 7th/8th , 2022
Objectives
Students will be able to:
PART 1: WARM UP: PLEASE ANSWER ON GOOGLE CLASSROOM
PART 2: SHARE
NOTE: Have you ever thought of introducing randomness into your program? What are some examples in which you see randomness in a program? Think of video games....
PART 3: REMARKS:
PART4: PLEASE HEAD OVER TO GAME LAB
Students will be able to:
- Generate and use random numbers in a program
- Update a value stored in a variable
PART 1: WARM UP: PLEASE ANSWER ON GOOGLE CLASSROOM
- So far, our programs have done the same thing every time that we run them. Are there any times that you'd want a program to do something differently each time it was run?
PART 2: SHARE
NOTE: Have you ever thought of introducing randomness into your program? What are some examples in which you see randomness in a program? Think of video games....
PART 3: REMARKS:
- So far, we've wanted our programs to do exactly as we've coded, and most of our surprises have been bugs. Today we're going to look at how we can code random behaviors into our programs so that we can get some good surprises.
PART4: PLEASE HEAD OVER TO GAME LAB
PART 5
PART 6
PART 7
PART 8
PART 9
EXIT TICKET:
PLEASE ANSWER THE FOLLOWING QUESTIONS ON GOOGLE CLASSROOM:
QUESTION OF THE DAY:
- How can we make our programs behave differently each time they are run?
- So far, we've only looked at random numbers. Are there any other things that you might like to be random in your program?
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.