-
Notifications
You must be signed in to change notification settings - Fork 6
Lesson 7 (Objects & Math)
Sally Steuterman edited this page Apr 20, 2022
·
3 revisions
- That objects are collections of several key/value pairs.
- How to write object literals using bracket notation.
- How to access and modify the properties of an object.
- That JavaScript has built-in objects.
- How to use common built-in methods of the
Math
object.
- More info to come... when in doubt, check with the class Candidate Engagement Manager!
- The second graded assignment is due soon! Remind students of the due date!
- Welcome to Days 9 & 10
- Day 9: Cover Lesson 7
-
Day 10: Work Day
- Self Assessment 1: Remind students that this is NOT an exam. This is for students to see which concepts they know and which concepts they should review. This is the first self-assessment in the course so it would be good to make sure before starting that students know where they can find the solution guide and the best practices guide in Canvas so they can start reviewing their answers right after they complete the questions.
- Graded Assignment 2: Introduce after the Self-Assessment. Days 10 and 12 are dedicated work days for Assignment 2. Due at end of Day 15.
- What data type is an object? Students may need reminders and reinforcements that objects are built of other data types.
- Possible reasons to use an object.
- Why the
Math
object in particular? What can students do with the Math object besides simple rounding? We encourage you to share examples of using theMath
object to solve non-math problems (i.e. randomly selecting an item from an array) - Show how the
for...in
loop iterates over the keys within an object. This serves as a good intro for Graded Assignment #2. - Q & A for the exercises.
- Intro for the studio.
- In this studio, there will be math involved. For any mathphobic students who are struggling, remind them this is just one studio, not a whole programming career!
- Remember to check in with each student. This far into the class, you should be helping to guide students away from inefficient code practices and other bad habits.