PAGETURNER

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

BOX

                         REVIEW                       


GO

   To create a structure tag airplane, with the following attributes:

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

   Which of the following variables would be most suitable for 
   accomplishing this task?

       a   int range;             g   float num_passengers; 
       b   float miles;           h   int clients;
       c   char name[20];         i   a, b, c, and d
       d   int captain[20];       j   b, d, f, and h
       e   int engines;           k   c, e, g, and h
       f   char power[20];        l   b, c, f, and h
 Select one: 
 That is correct!
 You've got it on the 2nd try.
 You've got it finally!
 Sorry, try again.
 No, try one more time.
 Please review Topic 1:  The Structure Concept
    

FORGET1

   The correct choice is  l , distance may have fractions of a mile, the
   name is an array/string of characters, the engine maker's name is also
   an array of characters and the number of passengers is strictly an int.
  Which two structure initializations are identical?

  a   struct {
         float power; int max_speed; int seats; char maker[20];
      } car1 = { 165.0, 125, 4, "Dodge" };

  b   struct car {
         float power; int max_speed; int seats; char maker[20];
      } car2 = { 165.0, 124, 4, "Ford" };

  c   struct car car3 = { 165.0, 125, 4, "Dodge" };

  d   struct vehicle {
         float power; int max_speed; int seats; char maker[22];
      } car4 = { 165.0, 125, 4, "Ford" };

  e   a and c      f   b and c      g   c and d      h   a and d  
 Select one: 
 That is correct!
 You've got it on the 2nd try.
 You've got it finally!
 Sorry, try again.
 No, try one more time.
 Please review Topic 3:  Structure Initialization
   

FORGET2

   The correct choice is  e .  The variables car1, car2 and car3 are of
   identical type.  The element maker in car4 is different from that in car1-3.  
   Finally, the values in car2 are different from those in car1 and car3.
 Given the information below:

         typedef struct computer {
                     char cpu[12];
                     char maker[20];
                     char model[15];
                     int ports;
                 } system;

 Which two variables are identical ?

   a   system compu_dos;              e   a and b
   b   struct computer run_xenix;     f   c and d
   c   struct system new_unix;        g   a and d
   d   system struct incompat;        h   b and d

 Select one: 
 That is correct!
 You've got it on the 2nd try.
 Good, you understand the concept.
 Sorry, try again.
 No, try one more time.
 Please review Topic 7:  User Defined Types

FORGET3

   The correct choice is  e .  The structure definition above has 
   created two identical structure tags: system and struct computer.  
   Using either one for tagging creates variables of identical type.