The purpose of this first reading and exercise set is to familiarize you with zyBooks, programming in general, and C++ specifically. You will interact with zyBook Participation Activities, Challenge Activities, and zyLabs. This includes using zyBooks' built in programming development environment to write, execute, and test code.
Basic learning objectives
You are responsible for learning and demonstrating proficiency in the following objectives prior to the next class meeting:
- distinguish zyBook participation activities from challenge activities
- use context from the written portion of a zyBook section to complete activities in that section and later sections
- write simple code in the zyBook editor, run it, and pass tests
- develop, test, and submit zyLab code in an iterative fashion
- read and write code to read user input
- read and write code to display a message to the user
- describe what a comment is and why its useful
- write a single and multi-line comment
- describe how to use white space in a program effectively
- distinguish between syntax and logical errors
Advanced learning objectives
You should demonstrate mastery of the following objectives by the end of the next class meting through the in-class activities:
- write a full program from scratch
- format output using cout
Read Ch. 1 of the zyBook (sections 1.1–1.10). 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 1" tag.
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 Ch. 1 "Participation Activities" (the orange ones)
- 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
spend no more than ~20 minutes on each of the following (I'm looking for an honest effort on these, not perfect solutions)
- complete the following "Challenge Activities"
- 1.2.3: Enter the output
- 1.2.4: Read multiple user inputs
- 1.4.1: Basic syntax errors
- complete 1.13 zyLab training: Basics
- complete 1.14 zyLab training Interleaved input / output
If you have a question while you are doing this, please post to the class Piazza board with the "gi 1" tag.