Explore how Computers and Developers read the same code in different ways.
- Look through Suggested Study
- What is Programming?
- What is JavaScript?
- Play compute-it through level 15
- Install (and/or update) Study Lenses - see the Setting Up section
- Go through the ../../0-study-lenses guide so you're ready for class
- Learn a little about variables:
- (study your favorites of all these)
- They're like boxes
- JS Fundamentals - Variables
- JS Variables
- JavaScript Variables and Constants
- 🥚 Code Audiences: You can explain how a single file of code is understood
by:
- Computers: A computer follows the code's instructions one step at a time.
- Developers: A developer reads the code, comments and variable names to understand what the code is intended to do.
- 🐣 Tracing Variables: You can follow a program's instructions like the computer does, filling out a trace table and checking your work with the [trace] button.
The most important objective for today is that you learn how to trace variables the way a computer interprets them. If you don't understand this the rest of JS will be a mystery!
- All Together:
- Discuss the diagram with source code, developers and computer
- Discuss where you can write & run JavaScript
- Study the
tracing-variables
examples all together on a coach's screen- Demonstrate different study techniques and lenses
- In Small Groups:
- Study examples 4 & 5 again with your classmates
- Begin
tracing-variables/exercises
Break!
- In Small Groups:
- Continue studying
tracing-variables/exercises
- Continue studying
- All Together Regroup with ~30 minutes left at the end of class for each
group to present:
- what went well?
- what went less well?
- lessons learned
Tracing Variables
No deliverables. Just lots of study time, alone and in groups. Here's some ideas for what to focus on:
- 🥚 compute-it (all of it), 🐣 little-dot
- Continue studying your favorite online tutorials
- Finish
/1-what-is-programming
and study as much as you can from/2-just-enough-javascript
/0-flashcards
: ~20 minutes every day (add more cards as you go!)