2nd Semester Intro to Computer Science

Teacher Curriculum Map · Student Lesson 3.03 · Original slides

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

Lesson 3.03: Return vs Print

Learning Objectives

Students will be able to…

Materials/Preparation

Day 1 Pacing

Duration Description
5 Minutes Do Now
10 Minutes Lesson
35 Minutes Lab
5 Minutes Debrief

Day 2 Pacing

Duration Description
5 Minutes Do Now
40 Minutes Lab
5 Minutes Debrief

Instructor’s Notes

1. Do Now

2. Lesson

Student Sharing

Discussion

Max Function including the reporter Block

Building a Structure Activity

  1. One student volunteer represents the give_card function.
  2. This students holds the deck of cards and stands by the board.
  3. On the board display the give_card function in code code that only prints the value of a randomly chosen card.
  4. Students ‘call’ the student and request cards, which then the student follows the instructions and draws (‘prints’) the card on the board.
  5. Display a new give_card function that returns a card instead.
  6. Have students ‘call’ the function, however this time have the give_card student pass out the card when a student calls him/her.
    • Debrief the activity and talk about what was learned.

3. Lab

4. Debrief

Accommodation/Differentiation

As an extension activity, ask students to research the shuffle function and the functions associated with it.

Forum discussion

Lesson 3.03: Return vs Print (TEALS Discourse Account Required)