Guided Inquiry 7: zyBook Ch. 3.7–3.13 + specified exercieses
- Due Feb 11, 2020 by 10pm
- Points 1
- Available after Feb 10, 2020 at 9:50am
Overview
The purpose of this reading and exercise set is to introduce you to branching in C++, which allows our programs to do different things based on the input it receives.
Learning Objectives
Basic learning objectives
You are responsible for learning and demonstrating proficiency in the following objectives prior to the next class meeting:
- combine multiple Boolean expressions using logical operators
- explain what a switch statement is and how it differs with an if statement
- apply logical operators in the correct order
- explain the result of string comparisons
Resources
Read Ch. 3 of the zyBook (sections 3.7–3.13). 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 7" 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"
- 3.7.1: Detect specific values.
- 3.10.1: Rock-paper-scissors.
- 3.11.1: Using bool.
- 3.12.2: Print two strings in alphabetical order.
If you have a question while you are doing this, please post to the class Piazza board with the "gi 7" tag.
Rubric
Keep in mind that 3 students have already been assessed using this rubric. Changing it will affect their evaluations.
Criteria | Ratings | ||
---|---|---|---|
80% of participation activities completed in assigned section
|
|
||
Challenge Activity 3.7.1 attempted
|
|
||
Challenge Activity 3.10.1 attempted
|
|
||
Challenge Activity 3.11.1 attempted
|
|
||
Challenge Activity 3.12.2 attempted
|
|
||
|