Contacts are examples of lists.
1.Why are these lists useful? They contain multiple pieces of information unline variables.
1.What are some similarities and differences between lists and variables? Variables and lists can both store values but lists can store multiple while variables can only store one.
2.How does a list manage complexity in a program? It organizes the values by means of indexes.
3.What aspects of using lists do you feel you already understand? What questions do you want to dig into more tomorrow during the practice lesson? I understand lists well
What aspects of working with lists do you feel clicked today?
The indexing and organizing system clicked for me
What do you still have trouble with?
Randomizing the lists
1.Imagine you want to build an app for reminders. What information do you think would be stored in a list? The date, the time, and the event that needs to be reminded.
2.How many lists do you think are needed to make this app work? I think I will need one
3.What programming patterns with lists do you think you'll need to use? I will need to use append ,remove, and insert.
1.When breaking a problem down, you often encounter elements that you want to use repeatedly in your code. Sometimes it's appropriate to write a new function; at other times it's appropriate to write a loop.
2.There is no hard-and-fast rule as to which is better, but what do you think? What kinds of circumstances would lead you to writing a function versus using a loop?
Functions would be preferred when I repeat the code several times but if I want to
1.Imagine you are interested in finding out how much time it takes on average to walk from one end of your school to the next. You've decided to figure this out on your lunch break, and are able to complete the walk 20 times. What would your algorithm look like? Where could a loop show up?
The algorithm would be :
var walk count = 0
lap = count + 1
while(count = 20) ;
end of experiment
The loop would show up at the while part.
2.What is a simulation?
The imitation of an event in a controlled environment.
3.Why are they useful?
To gauge what the event of the simulation can be without directly experiencing it
4.How does a loop help when running similar simulations?
Loops can display random events which can help in most simulations.
5.What aspects of working with for loops do you feel clicked today?
I understand how they can be applied and how they work
6.What do you still feel like you have trouble with?
I don't have trouble with anything
1.What aspects of working with loops do you feel clicked today? The patterns and how they are used
2.What do you still have trouble with? I am good with everything
1.Why is traversal with a for loop a good method for accessing and updating items in a lengthy list?
Because you want to process every item in the list in a similar way, you can use a loop to iterate through every item and take some action with it.
1.What aspects of using traversals to process a list do you already understand? What questions do you want to dig into more tomorrow during the practice lesson?
I understand everything
1.What aspects of working with traversals do you feel clicked today? How they are applied
2.What do you still have trouble with ? I do not have any trouble with traversals