2nd Semester Intro to Computer Science

Teacher Curriculum Map · Student Lesson 1.04 · Original slides

Historical TEALS lesson. Review outdated tools and external links before teaching.

Lesson Plan 1.04: Variables and User Input

Learning Objectives

Students will be able to…

Materials/Preparation

Pacing Guide

Duration Description
5 Minutes Do Now
20 Minutes Continue Do Now & Discussion
20 Minutes Magic Genie Lab
10 Minutes Debrief/Quiz Prep

Instructor’s Notes

1. Do Now

2. Do Now Work & Discussion

Discussion

  1. What did input do?
  2. What did the string between the parentheses do?
  3. What would changing that string do? (it changes the prompt given to the user

Instruction

More Discussion

Snap Input

  1. Ask students what things from Python they will need to create this program.
  2. Ask students to take 3 minutes to convert this to Python.

Student Sharing

More Instruction

n = input()
9
type(n)
<class 'str'>
n = int(input())
9
type(n)
<class 'int'>
n = int(input())
9
print ("You entered " + n)
TypeError: Can't convert 'int' object to str implicitly
n = int(input())
9
print ("You entered " + str(n))
You entered 9

3. Magic Genie Lab

4. Debrief/Quiz Prep

Accommodation/Differentiation

Advanced students that are finished early can be paired with students who are struggling. Be careful to give clear guidance about how to effectively help another student, especially emphasizing that helping never involves using someone else’s keyboard/mouse.

Identify students that may potentially struggle on the quiz and find individual time with them to emphasize key concepts during the magic genie lab.

Forum discussion

Lesson 1.04: Variables Input (TEALS Discourse Account Required)