Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.3 KB

Functions.md

File metadata and controls

30 lines (24 loc) · 1.3 KB

Functions

In the prep work this week, the students learned:

  1. What a function is.
  2. What a parameter is.
  3. What an argument is.
  4. How to write a function with any number of parameters.
  5. How to call a function.
  6. What scope is and how it affects functions.

Announcements

  1. Check with your class Candidate Engagement Manager for any announcements!

Large Group Time (Instructor)

Lesson Topics That Require Careful Attention

  1. Conversation starters:
    1. In a student's own words, can they explain what a function is?
  2. When is undefined returned?
  3. Live coding examples covering scope and how it impacts functions.
  4. Functions calling other functions.
  5. Q & A for any issues with the chapter exercises.
  6. Emphasize live coding. In particular, consider creating some function tasks to give to the students as "starters" or to use in walkthroughs.

Studio (TF Notes)

Lesson Studio

  1. Reminder: the studio is broken into parts for a reason! Many students may read the initial paragraph and want to jump right in, but that would be doing themselves a disservice.
  2. This is a problem that is possible with an inefficient, brute force solution. Encourage students who take that route to take a step back and seek out a more elegant solution.
  3. Students should access the studio via Canvas.