Guided Inquiry 5: zyBook Ch. 2.19–2.24 + exercises
- Due Feb 6, 2020 by 10pm
- Points 1
Overview
The purpose of this reading and exercise set is to acquaint you with the additional details of C++ variables.
Learning Objectives
Basic learning objectives
You are responsible for learning and demonstrating proficiency in the following objectives prior to the next class meeting:
- generate a random number
- describe the two-step procedure for debugging
- understand what the auto keyword is and how to use it
- explain what style guidelines are
Advanced learning objectives
You should demonstrate mastery of the following objectives by the end of the next class meting through the in-class activities:
- calculate the range of numbers/values that can be represented with a variable
- write a program to print random characters in a string
Resources
Read Ch. 2 of the zyBook (sections 2.19–2.24). You may work with others on the exercises. If you have questions, please talk with a classmate or post your question to Piazza under the "gi 5" tag.
Exercises
Complete the following. There is nothing to submit via Canvas; zyBook shows me what you've completed and when.
- carry out at least 80% of the "Participation Activities" (the orange ones) in the reading
- you can see how many of the participation activities you've done for a section or chapter using the "Reporting" tab on the main CSC160 zyBook page
- ask me or a classmate for help if you can't find it
- complete the following "Challenge Activities"
- 2.19.2: rand function: Seed and then get random numbers
- 2.19.3: Fixed range of random numbers.
If you have a question while you are doing this, please post to the class Piazza board with the "gi 5" tag.
Rubric
Criteria | Ratings | ||
---|---|---|---|
80% of Participation activities in the assigned reading completed
|
|
||
A reasonable attempt made at Challenge Activity 2.19.2
|
|
||
A reasonable attempt made at Challenge Activity 2.19.3
|
|
||
|