wpe41.gif (23084 bytes)CIS3355: Business Data Structures
Fall, 2008

C/C++ Quiz 3

Complete the form below ONLY if your Pseudonym begins with the Alphabetic Characters "N" through "Z" (uppercase or lower Case)

If you choose this Quiz and you do not meet the criteria above, you will receive a zero (0)

Enter Your PSEUDONYM:       

Question 1:    The origins of C/C++ revolve around what operating system?


Question 2:    Which of the following is NOT a C/C++ binary operator?

                          All of the above are C/C++ operators

Question 3:    In the expression x *= 3, what is the result?

 The contents of location x will be increased by 3.
                          The contents of location x will be multiplied by 3.
                          The contents of location x will be reduced by 3.
                          The contents of location x will be increased by 3 factorial.
                          I have no clue. HELP ME!

Question 4:   The logical operator '||' means:


Question 5:    In terms of logical operations, the highest order operator is:


Question 6:    What will the printf specifer %i print out?

 A signed integer.
                          An unsigned integer
                          An imaginary number.
                          An integral.
                          An integral integer.

Question 7:    Which of the following is NOT a C/C++ Programming Convention?

 It is strongly typed
                          It is Case Sensitive: UPPERCASE vs. lowercase
                          Each Statement ends with a semicolon
                          Ellipses and Parentheses MUST match
                          It is a translated language (vs. interpreted)

Question 8:    Which of the following are FALSE about 'if' statements:

 They are a junction at which the program has a choice of two paths to follow.
                          Their outcome can be predicted in advance.
                          They are always based on a TRUE/FALSE condition
                          All of the above
                          None of the Above

Question 9:    In the 'for' statement, the 'condition check' statement:

 if 'true' then stop.
                          if 'false' then continue.
                          if both 'true' and 'false' then stop.
                          if neither 'true' nor 'false' then continue.
                          Evaluates to either TRUE or FALSE

Question 10 Why do functions need a prototype?

 The operating system needs to know how much RAM will be required.
                          The compiler needs to understand how the function is to be used.
                          The user needs to know what parameters will be passed to the function.
                          The main function needs to know what values the function will return
                          None of the Above


This page was last updated on 01/10/08.