|
Learning objectives for chapter 3 |
1 | Learn how to declare variables and assign values to them. |
2 | Learn how to perform simple math operations and store the results in variables. |
3 | Learn what "concatenation" is and how to apply it to text. |
4 | Produce console output showing values stored in variables, with text labels. |
5 | Write a program "from scratch" to solve a given problem. |
|
|
Learning objective(s) addressed |
|
1 | 2 | 3 | 4 | 5 |
Exercises |
Right-click (or control-click on a Mac) the title to save its PDF to your system. |
|
3.1 |
Variables Names PDF |
X | | |   | |
3.2 |
Variables And Values PDF |
X | | | X | |
3.3 |
My City, v.1.0 PDF |
X | | | X | X |
3.4 |
Making Change, v.1.0 PDF |
X | X | | X | |
3.5 |
My Days PDF |
X | X | | X | X |
| |
Samples |
Right-click (or control-click on a Mac) the title to save its PDF or CPP to your system. |
|
3.1 |
Average Age PDF
[ CPPs:
solution #1 |
solution #2 |
solution #3 |
solution #4 |
solution #5
]
|
X | X | | X | |
3.2 |
Form Letter PDF
[ CPPs:
solution #1 |
solution #2
]
|
X | | X | X | |
| |
Videos |
|
3.1 |
Click HERE for a YouTube-like video that shows the steps you should imitate in writing the algorithms and code to complete these labs.
This video is 20 minutes long. It's programming language is Java, and it's on a Mac. But the principles it demonstrates are language- and system-independent.
|
X | X | | X | X |
|
Code from the chapter in order of their appearance in the text |
|