CS1030 -- Homework

Spring 2005
Due 1 hour prior to Week 3 Lecture 1
  1. For the material covered in Week 2, describe at least one difference between C++ and Java.
  2. List the all of the built in data types in C++.
  3. Describe the difference between lvalues and rvalues.
  4. What does declaring an object const do?
  5. 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
  1. Text exercise 3.12.
  2. Text exercise 3.14.
  3. Text exercise 3.18. Include output for P = $4,000, R=8%, and N=45 years
  4. Convert the Java program on pages 131-132 to C++.
  5. 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.

Last Updated: Thursday, 01-Jan-2015 14:31:58 EST