(Latest Revision -- 05/16/01)
(05/16/01 -- added review advice for quiz #3)

CS 1500 Study Guide for Quizzes
COMPUTER SCIENCE 1500 -- PROGRAMMING I


General Advice on Preparing for Quizzes:


The kinds of questions to expect:

  1. There may be an open book session at the very end of the quiz when you will be asked to write a small piece of C++ code.

  2. Many questions will resemble exercises from the texts.

  3. Many questions will be multiple choice. For example:
    
    Which is not a valid C++ identifier?
    A.  three_cpo
    B.  threeCpo
    C.  3cpo
    D.  _3_Cpo
    E.  All are valid C++ identifiers
    Answer C
    


  4. Many questions will be "short answer." For example:
    
    Question: What does the following program write?
    
    #include <iostream.h>
    
    int main (void)
    {
      cout << "I love spaghetti," << endl ;
      cout << "all " << 44 +3 / 8 + 9 << " kinds."<< endl ;
      return 0 ;
    }
    
    Answer:
    I love spaghetti,
    all 53 kinds.
    
    Question: Fill in the blanks with the proper terms.
    
    A program is needed to translate the high-level C++ language
    into ___________________ language.  A __________________ is a
    program that does this translation.
    
    Answer: machine (or assembly);
            compiler
    
    

Some Specifics To Study For Quiz #1

To prepare for Quiz #1: Put a little extra emphasis on the following chapter goals in Shiflet: Work some problems in the following areas of Shiflet: To study the Andersen book just do the reading and try to answer all the questions as you read along.


Some Specifics To Study For Quiz #2

To prepare for Quiz #2: Put a little extra emphasis on the following chapter goals in Shiflet: Work some problems in the following areas of Shiflet: To study the Andersen book just do the reading and try to answer all the questions as you read along.


Some Specifics To Study For Quiz #3

To prepare for Quiz #3: Emphasize the following chapter goals in Shiflet: Work some problems in the following areas of Shiflet: