Lesson 1 of 0
In Progress
Session 3: Variables Basics
Objectives
After this lesson, students will be able to:
- Define about the variables and need for variables.
- Describe, about different datatypes used with variables in a programming language.
- Implement different arithmetic operators used in python programming language.
- Prepare a coding project, to animate Tobi as an addition bot.
Introduction
In this session, students will be learning about the variables used in python programming language. What are variables and why do we need variables.
Students are taught about common datatypes used with variables in python programming language. They are explained what are different naming rules to be followed for the variables. Students are then taught what are different arithmetic operators available. Finally, we give them a step-by-step guide to make ‘A Tobi animation to act like an addition bot’ within PictoBlox.
Activity
Create a project that displays an animation of Tobi acting as an addition bot.
Teaching Resources
- Lecture Slide Contains the lecture slide. Teacher can use it as a tool to cover the concept during the classroom.
- Activity Sheet Contains the step by step process to complete the activity. Students and teachers can use it as a reference.
- Worksheet Contains the worksheet for taking quiz in the class.
- Solved Worksheet Contains the solved worksheet.
PicoBlox Code
Title | Description | File |
---|---|---|
Addition Bot | The project demonstrates sprite Tobi as an addition bot | https://course.techyguide.in/wp-content/uploads/2022/07/CL9_CH3-Addition-bot-activity-1.sb3 |
Timeline
Title | Approximate Duration | Procedure | Reference Material |
---|---|---|---|
Variables | 5 |
| Lecture Slide |
Data types in variables | 5 |
| Lecture slide |
Arithmetic Operators | 20 |
| Lecture Slide |
Activity : Addition Bot | 20 |
| PictoBlox file, Lecture Slide and Activity sheet |
Concluding the lecture | 5 |
| Lecture Slide |
Things to Remember
Before Class
- Make sure each PC has the latest version of PictoBlox installed and running.
During Class
- Make sure they write the script by selecting the appropriate sprite.
- Make sure they use the right palettes of Pictoblox Python interface for different functions while writing the code.
After Class
- Make sure students save their codes/scripts.
- Make sure they shut down the PC/Laptops.