Name: _____________________________ Honor Code Acknowledgment: ______________________ Random Quiz # 4 CPS 08, Spring 1995 January 30, 1995 Problem 1 : Plus ca change True or False: Changing the line prod = prod * k; to prod *= k; has the same effect on the value of prod. Problem 2 : August Company Consider the loop below: while (0 <= num && num <= 10){ // do something } // assertion If the flow-of-control reaches the point in the code above labelled // assertion, what MUST be true about the value of num? Problem 3 : Private Parts The function AdjustAltitude, part of the class Balloon, is in the private section of the class. This means that (circle one) o it cannot be called from a client program like fly.cc o it can be called from a client program like fly.cc