Guided Inquiry 26: zyBook Ch. 9.7–9.8 + specified exercises
- Due Apr 24, 2020 by 9am
- Points 1
- Submitting a file upload
- File Types cpp
- Available after Apr 22, 2020 at 9am
Overview
The purpose of this guided inquiry is to learn about writing data to files.
Learning Objectives
Basic learning objectives
By the end of this Guided Inquiry, you should be able to:
- open a stream for writing to a file
- write user input to a file
- write struct data to a file
- write table data to a file
Advanced learning objectives
By the end of our next class meeting, you should be able to:
- confirm overwriting output files
- write lists of data to a file
- save and load data in a program
Resources
Reference zyBook sections 9.7–9.8 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 26" tag.
Exercises
Attempt the following. Spend no more than 20 minutes on each exercise (unless you want to).
- complete at least 80% of the Participation Activities in each section 9.7–9.8 of the zyBook
- try to complete the following programs from gi26.zip
Download gi26.zip
- gi26.1.cpp
- gi26.2.cpp
- gi26.3.cpp
- post one or more questions to the class Piazza board with the "gi 26" 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.
Upload your solutions here (three .cpp files is fine; no need to re-zip them).
Rubric
Keep in mind that 7 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 uploaded gi26.1.cpp and made a reasonable attempt at solving it
|
|
||
You uploaded gi26.2.cpp and made a reasonable attempt at solving it
|
|
||
You uploaded gi26.3.cpp and made a reasonable attempt at solving it
|
|
||
|