Guided Inquiry 12: zyBook Ch. 5.7–5.13 + specified exercises
- Due Feb 28, 2020 by 9am
- Points 1
- Submitting a file upload
- Available after Feb 26, 2020 at 9:45am
Overview
The purpose of this reading and exercise set is to deepen your understanding of arrays and vectors.
Learning Objectives
Basic learning objectives
You are responsible for learning and demonstrating proficiency in the following objectives prior to the next class meeting:
- append to a vector
- swap the values stored in two variables or vector/array locations
- explain the differences between arrays and vectors
- copy a vector
- explain what a 2D array is
Advanced learning objectives
You should demonstrate mastery of the following objectives by the end of the next class meting through the in-class activities:
- explain what a 2D array is good for
- explain when you would use an array vs. a vector
- explain the differences between a string and a character array
Resources
Read zyBook sections 5.7–5.13. 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 12" tag.
Exercises
Attempt the following. Spend no more than 20 minutes on a challenge activity or lab (unless you want to).
- carry out at least 80% of the "Participation Activities" (the orange ones) in each section of the reading
- complete the following "Challenge Activities"—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 5.7.1: Appending a new element to a vector
- Challenge 5.7.2: Removing an element from the end of a vector
- Challenge 5.8.2: Copy and modify vector elements
- Challenge 5.12.1: Find 2D array max and min
- post one or more questions to the class Piazza board with the "gi 12" 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)
Rubric
Keep in mind that 7 students have already been assessed using this rubric. Changing it will affect their evaluations.
Criteria | Ratings | ||
---|---|---|---|
80% of Participation activities in the assigned reading completed
|
|
||
A reasonable attempt made at Challenge Activity 5.7.1
|
|
||
A reasonable attempt made at Challenge Activity 5.7.2
|
|
||
A reasonable attempt made at Challenge Activity 5.8.2
|
|
||
A reasonable attempt made at Challenge Activity 5.12.1
|
|
||
|