Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 874 Bytes

reflection.md

File metadata and controls

17 lines (9 loc) · 874 Bytes

Section 3 Reflection

  1. What are two points from the Growth Mindset article and/or video that either resonated with you, or were brand new to you?

  2. In which ways do you currently demonstrate a Growth Mindset? In which ways do you not?

  3. What is a Hash, and how is it different from an Array?

  4. In the space below, create a Hash stored to a variable named pet_store. This hash should hold an inventory of items and the number of that item that you might find at a pet store.

  5. Given the following states = {"CO" => "Colorado", "IA" => "Iowa", "OK" => "Oklahoma"}, how would you access the value "Iowa"?

  6. With the same hash above, how would we get all the keys? How about all the values?

  7. What is another example of when we might use a hash? In your example, why is a hash better than an array?

  8. What questions do you still have about hashes?