100% Verified Graded A+
1. data items that are entities themselves (ex. Name )
Answer: Data field
2. all data fields form a single field called this
Answer: Record
3. In C a record is referred to as this
Answer: Structure
4. consists of the symbolic names, data types, and arrangement of individual
data fields in the record
Answer: Structure's form
5. consist of the actual data stored in the symbolic names
Answer: Structure's contents
6. struct
{
,int month;
int day;
int year;
} birth;
Answer: Single Structure layout
7. Reserves storage for the individual data items listed in the structure
Answer: Single Structure definition
8. data items declared in the struct (ex. int month;)
Answer: Members of the structure
9. Assigning actual data values to the data items of a structure
Answer: Populating the structure
10. Spacing of a structure is not
Answer: Rigid
11. defined by user and first letter is capital (ex. struct Date)
Answer: Structure type name
12. Initialization of structures follows the same rules as for the initialization of
Answer: Arrays
13. Structure members can be of any data type
, Answer: True
14. Individual members can be arrays and structures, advantage that same
structure type can be used in a list many times
Answer: struct
{
char name[20];
struct Date birth;
} person;
Valid person.name[4];
15. Used to define an array of data
Answer: NUMRECS 5
16. Without explicit initializers, the numeric elements of both static and exter-
nal arrays or structures are initialized to
Answer: 0/nulls
17. are two or more arrays, where each array has the same number of elements
and the elements in each array are directly related by their position in the
arrays, rarely used anymore
Answer: Parallel arrays
, 18. Individual structure members may be passed to a function in the same
manner as any scalar variable
Answer: display(emp.idNum) ;
calcPay(emp.payRate,emp.hours);
19. On most compilers, complete copies of all members of a structure can also
be passed to a function by including the name of the structure as an argument
to the called function
Answer: calcPay(emp);
20. A structure can be passed by this ( ex. calcNet(&emp);
double calcNet(struct Employee *pt)
(*pt).idNum or *pt->idNum )
Answer: Reference
21. can be applied to structures (ex. ++pt->hours
(pt++)->hours
(++pt)->hours )
Answer: ++ and --
22. is a data type that reserves the same area in memory for two or more
variables, only one at a time though, reserves sufficient memory locations to
accommodate its largest member's data type