Guided Inquiry 27: zyBook Ch. 9.3–9.4 + specified exercises
- Due Apr 27, 2020 by 9am
- Points 1
- Submitting a file upload
- Available after Apr 24, 2020 at 9am
Overview
The purpose of this guided inquiry is to learn about input and output string streams.
Learning Objectives
Basic learning objectives
By the end of this Guided Inquiry, you should be able to:
- explains what string streams are and how they related to cin/cout and file IO
- declare and initialize an input string stream
- declare and initialize an output string stream
- describe some of the use cases of input/output string streams
Advanced learning objectives
By the end of our next class meeting, you should be able to:
- use input string streams to assist with reading structured data from files
Resources
Reference zyBook sections 9.3 & 9.4 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 27" tag.
Exercises
Attempt the following. Spend no more than 20 minutes on a challenge activity (unless you want to).
- complete at least 80% of the Participation Activities in each section 9.3 & 9.4 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.3.1: Input string streams
- Challenge 9.3.2: Reading from a string
- Challenge 9.4.1: Output string streams
- Challenge 9.4.2: Output using string stream
- post one or more questions to the class Piazza board with the "gi 27" 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 4 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.3.1
|
|
||
You either passed at least one test or uploaded a screenshot showing your final, reasonable attempt at Challenge Activity 9.3.2
|
|
||
You either passed at least one test or uploaded a screenshot showing your final, reasonable attempt at Challenge Activity 9.4.1
|
|
||
You either passed at least one test or uploaded a screenshot showing your final, reasonable attempt at Challenge Activity 9.4.2
|
|
||
|