Ch.3 Quiz

Instructions
Please read the questions carefully.

This assessment is worth 100 points.

  1. Data whose value may not be changed during the execution of a project is referred to as a constant.   (10 points)

      
      

  2. Although it is best to always declare the datatype on a Dim statement, the datatype is optional.   (10 points)

      
      

  3. A numeric variable that is declared with the Dim statement in a local procedure is initialized to zero each time the procedure occurs.   (10 points)

      
      

  4. Local variables can be used as counters and accumulators. (Ignore Static variables)   (10 points)

      
      

  5. When using the formatting functions, you can specify the number of digits to appear to the right of the decimal point.   (10 points)

      
      

  6. Declaration statements   (10 points)

    a.  
    b.  
    c.  
    d.  

  7. The reserved Visual Basic word Dim is short for dimension, which means   (10 points)

    a.  
    b.  
    c.  
    d.  

  8. If a declaration statement does not specify a datatype, it will default to   (10 points)

    a.  
    b.  
    c.  
    d.  

  9. Where may Dim statements appear?   (10 points)

    a.  
    b.  
    c.  
    d.  

  10. Which of the following is not a valid conversion function?   (10 points)

    a.  
    b.  
    c.  
    d.  



Portions copyright ©2005 The McGraw-Hill Companies.
Any use is subject to the Terms of Use and Privacy Policy.
McGraw-Hill Higher Education is one of the many fine businesses of The McGraw-Hill Companies.