The test is 100 points long. It includes multiple-choice and true-false question, short coding and longer coding.
The material on the test is more or less what we have been doing on assignments 1 through 3. Look at the asignments and look at the quiz questions.
Topics we have not encountered in the homework are not likely to appear on this test. For instance, as we have no yet made any use of reference arguments in the homework, you need not worry about references on this test. The topics listed below and the sample problems do include a few extra items.
Calc.cc includes files "Rational.h" and "BigUInt.h". Rational.cc includes files "BigUInt.h" and "Rational.h". BigUInt.cc includes files "Byte.h" and "BigUInt.h". Byte.cc includes the file "Byte.h".
Write a make file which includes targets to compile the 4 .cc files (one at a time), to link the 4 resulting .o files into an executable named "Calc", and to clean up the working directory.
The other two arguments, A and B, are each integers.
Write a prototype statement for the function.
Write the function header for the function. (Notice this is not the same.)
Suppose I want to use DoIt passing it the values 13 for A, 47 for B and 'Z' for E. Write the line to call the function.
Suppose I want to use DoIt passing it the values 31 for A, 74 for C and 'S' for E. Write the line to call the function.
There should be 3 private data members, Day, Month and Year, all integers.
There should be a constructor which will initialize a Date object to January 1, 2011.
There should also be a constructor which takes 3 integer arguments and initializes the Date object using them.
There should be public methods to change the values of Day, Month and Year, and there should be public methods to return the values of Day, Month and Year.
There should be a PrintDate method to print the date in the format 3/1/2011.
All methods that can be constant should be constant.