CS1030 -- Homework
Spring 2005
Due 1 hour prior to Week 3 Lecture 1
- For the material covered in Week 2, describe at least one difference
between C++ and Java.
- List the all of the built in data types in C++.
- Describe the difference between lvalues and rvalues.
- What does declaring an object const do?
- Evaluate the expressions in the Quick Check exercises on page 98 of
the Wu text. Then write a C++ program to verify all of your answers.
(include your original answers, the C++ program, and indicate which,
if any, of your original answers were incorrect.
Due 1 hour prior to Week 3 Lab
- Text exercise 3.12.
- Text exercise 3.14.
- Text exercise 3.18. Include output for P = $4,000, R=8%,
and N=45 years
- Convert the Java program on pages 131-132 to C++.
- Text exercise 3.23.
Due 1 hour prior to Week 4 Lab
See hw3.xml for questions.
Due 1 hour prior to Week 5 Lab
See hw4.xml for questions.
Due 1 hour prior to Week 6 Lab
See hw5.xml for a question.
Due 4pm Friday of Week 7
See hw6.xml for a question.
Due 1 hour prior to Week 9 Lab
See hw7.xml for questions.
Due 1 hour prior to Week 10 Lab
See hw8.xml for a question. Note: this question
will be used as a starting point for the last lab assignment.