Professional Documents
Culture Documents
Practice
Unit 6 Lesson 3 - Warm Up
Vocabulary
List -an orderedReview
collection of elements
Element -an individual value in a list that is assigned a
unique index
Index - a common method for referencing the elements in a
list or string using numbers
Debugging: the process of finding and fixing problems in
code
Unit 6 Lesson 3 - Activity
Describe Hunt
The Problem For Bugs
What do you expect it to do? Are there warnings or errors?
What does it actually do? Does it always happen? What did you change most recently? Explain your code to
someone else Look for code related to the problem
Try Document
Solutions As You Go
Make a small change What have you learned?
What strategies did you use? What questions do you have?
Debugging Lists
T h i s o r t h a t ”
var myString =
“ 10
0 1
11
2 3 4 5 6 7 8 9
myString.substring(5,7)
T h i s
is “or”
o r t h a t
0 1 2 3 4 5 6 7 8 9 10 11
Unit 5 Lesson 3 - Activity
Lists Practice
Do This:
●Navigate to Lesson 3,
Level 1 on Code Studio
Unit 6 Lesson 3 - Wrap Up
Prompt: