Guided Inquiry 28: zyBook Ch. 9.2 + specified exercises
- Due Apr 29, 2020 by 9am
- Points 1
- Submitting a file upload
- Available after Apr 27, 2020 at 9am
Overview
The purpose of this guided inquiry is to gain more practice defining and using custom functions in C++.
Learning Objectives
Basic learning objectives
By the end of this Guided Inquiry, you should be able to:
- explain what a manipulator is in C++
- format string and numbers when outputting data to an output stream
- know where to look to figure out how to change formatting (padding, significant digits, alignment, etc.)
Resources
Reference zyBook section 9.2 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 28" 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 each section 9.2 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 9.2.1: Output formatting
- Challenge 9.2.2: Output formatting: Printing a maximum number of digits
- Challenge 9.2.3: Output formatting: Printing a maximum number of digits in the fraction
- post one or more questions to the class Piazza board with the "gi 28" 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 2 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 9.2.1
|
|
||
You either passed at least one test or uploaded a screenshot showing your final, reasonable attempt at Challenge Activity 9.2.2
|
|
||
You either passed at least one test or uploaded a screenshot showing your final, reasonable attempt at Challenge Activity 9.2.3
|
|
||
|