<<<<<< TIME POSE SUBROUTINE >>>>>>>>>

PAUSE

If they want to quit, do so
    <<<<<< REVIEW CLEANING SUBROUTINE >>>>>>

ENCORE

 <<<<<<<< PROMPT TEXT / BOX AREA CLEANING ROUTINE >>>>>>>>>>>>>>>>>

BOX

                      LESSON REVIEW                    


QPR1

       *  number of passengers,     *  range in miles,
       *  captain's name,           *  engine maker's name

1.  To create a structure named airplane with the above attributes,
which of the following variables would be most suitable?
          1  int range;            5  int engines; 
          2  float miles;          6  char power[20];
          3  char name[20];        7  float num_passengers;
          4  int captain[20];      8  int clients;

         a   1, 2, 3 and 4         c   3, 5, 7 and 8
         b   2, 4, 6 and 8         d   2, 3, 6 and 8

QPR2

2.  Which of the following statements is/are TRUE?

   a   An array may hold structures of various types.
   b   A structure may be nested in another structure.
   c   An array of pointers to 200 structures of 30 bytes requires 
       five times more space than an array of pointers to 200 strings 
       of 5 characters each.
   d   A structure tag may be used to declare other structures.
   e   a and d
   f   c and d
   g   b and d
   h   b, c, and d

QPR3

3.  Please enter the name of the standard C library function 
used for opening text files.

QPR4

4.  Please enter the name of a function (system call) 
for writing to a file.

QPR5

5.  Functions that allow a C program to interact with
the UNIX Operating System are called ___________________.

QPR6

6.  Which of the following is the general form of a structure 
declaration?

a   struct structname {                 c   struct  {
        component definitions;                  structname;
        };                                      component definitions;
                                                };
b   struct {
           component definitions
           };

QPR7

7.  Enter the command that will examine your C source file 
called mysrc.c for inconsistencies.

QPR8

8.  Which character is used to select a structure component
from a given structure variable?

QPR9

9.  Which characters are used to select a structure component
from a given structure pointer?
 ------------ UNIVERSAL REVIEW - INTERACTION ROUTINE -----------------

RINTER

 ______________________________________________________________________________
 $PRMT_STR$
 That is correct!                                                  
 You've got it on the 2nd try.                                     
 Good, you understand the concept.                                 
$F_DIAG_L1$
$F_DIAG_L2$
$F_DIAG_L3$
$S_DIAG_L1$
$S_DIAG_L2$
$S_DIAG_L3$
 $REV_STR1$
 $REV_STR2$

FORGET1

The correct answer is:  $ANSWER$ 

GO

 ------------ first QUESTION ---------------------
C: S_DIAG_L1$ =: No, think about it and try once more.        
C: S_DIAG_L1$ =: No, reread the question and try again.
 ------------ second QUESTION ---------------------
 ------------ third QUESTION ---------------------
 ------------ fourth QUESTION ---------------------
 ------------ fifth QUESTION ---------------------
 ------------ sixth QUESTION ---------------------
 ------------ seventh QUESTION ---------------------
 ------------ eighth QUESTION ---------------------
 ------------ ninth QUESTION ---------------------