Guided Inquiry 22: zyBook Ch. 16.13 + specified exercises
- Due Apr 10, 2020 by 9am
- Points 1
- Submitting a file upload
- Available after Apr 8, 2020 at 9am
Overview
The purpose of this guided inquiry is to gain more practice with structs and combining them with vectors.
Learning Objectives
Basic learning objectives
By the end of this Guided Inquiry, you should be able to:
- declare a vector of struct instances
- access a data member of a struct stored in a vector
Advanced learning objectives
By the end of our next class meeting, you should be able to:
- explain the advantage of using vectors of structs to represent multiple attributes over numerous entity instances
- use vectors of struct instances with functions
Resources
Reference zyBook section 16.13 as needed to complete the specified exercises. You may work with others on the exercises listed below. If you have questions, please talk with a classmate or post your question to Piazza under the "gi 18" tag.
Exercises
Attempt the following. Spend no more than 20 minutes on a challenge activity or lab (unless you want to).
- complete at least 80% of the Participation Activities in section 6.13 of the zyBook
- complete the following Challenge Activities/zyLabs—for every challenge activity you cannot pass at least one test for, please take a screen shot of your final attempt after 20 minutes and submit that here (make sure your photo includes the challenge number)
- Challenge 16.13.1: Enter the output of the struct and vector
- Challenge 16.13.2: Structs and vectors
- post one or more questions to the class Piazza board with the "gi 22" tag (if there's already a post for a question you had, there's not need to add another one; feel free to post anonymously)—please include specific questions rather than just the number of the challenges you want to see done.
Rubric
Keep in mind that 5 students have already been assessed using this rubric. Changing it will affect their evaluations.
Criteria | Ratings | ||
---|---|---|---|
You engaged with 80% of the Participation Activities in each of the specified zyBook sections.
|
|
||
You either passed at least one test or uploaded a screenshot showing your final, reasonable attempt at Challenge Activity 16.13.1
|
|
||
You either passed at least one test or uploaded a screenshot showing your final, reasonable attempt at Challenge Activity 16.13.2.
|
|
||
|