CNIT 315 Exam 2 Questions and Answers (latest version verified for accura
cy) | 2026\2027 Latest!! (Verified Answers) Study Guide
1. Data field data items that are entities themselves (ex. Name: __________)
2. Record all data fields form a single field called this
3. Structure In C a record is referred to as this
4. Structure's form consists of the symbolic names, data types, and arrangement of
individual data fields in the record
5. Structure's contents consist of the actual data stored in the symbolic names
6. Single Structure layout struct
{
int month;
int day;
int year;
} birth;
7. Single Structure definition Reserves storage for the individual data items listed in the struc-
ture
8. Members of the structure data items declared in the struct (ex. int month;)
9. Populating the structure Assigning actual data values to the data items of a structure
10. Rigid Spacing of a structure is not ________
11. Structure type name defined by user and first letter is capital (ex. struct Date)
12. Arrays Initialization of structures follows the same rules as for the initial-
ization of ___________
13. True Structure members can be of any data type
1/8
, CNIT 315 Exam 2 Questions and Answers (latest version verified for accura
cy) | 2026\2027 Latest!! (Verified Answers) Study Guide
14. struct Individual members can be arrays and structures, advantage that
{ same structure type can be used in a list many times
char name[20];
struct Date birth;
} person;
Valid: person.name[4];
15. NUMRECS 5 Used to define an array of data
16. 0/nulls Without explicit initializers, the numeric elements of both
static and external arrays or structures are initialized to
______________
17. Parallel arrays 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
18. display(emp.idNum) ; Individual structure members may be passed to a function in the
calc- same manner as any scalar variable
Pay(emp.payRate,emp.hours);
19. calcPay(emp); On most compilers, complete copies of all members of a struc-
ture can also be passed to a function by including the name of
the structure as an argument to the called function
20. Reference A structure can be passed by this ( ex. calcNet(&emp);
double calcNet(struct Employee *pt)
(*pt).idNum or *pt->idNum )
21. ++ and -- can be applied to structures (ex. ++pt->hours
(pt++)->hours
(++pt)->hours )
2/8
cy) | 2026\2027 Latest!! (Verified Answers) Study Guide
1. Data field data items that are entities themselves (ex. Name: __________)
2. Record all data fields form a single field called this
3. Structure In C a record is referred to as this
4. Structure's form consists of the symbolic names, data types, and arrangement of
individual data fields in the record
5. Structure's contents consist of the actual data stored in the symbolic names
6. Single Structure layout struct
{
int month;
int day;
int year;
} birth;
7. Single Structure definition Reserves storage for the individual data items listed in the struc-
ture
8. Members of the structure data items declared in the struct (ex. int month;)
9. Populating the structure Assigning actual data values to the data items of a structure
10. Rigid Spacing of a structure is not ________
11. Structure type name defined by user and first letter is capital (ex. struct Date)
12. Arrays Initialization of structures follows the same rules as for the initial-
ization of ___________
13. True Structure members can be of any data type
1/8
, CNIT 315 Exam 2 Questions and Answers (latest version verified for accura
cy) | 2026\2027 Latest!! (Verified Answers) Study Guide
14. struct Individual members can be arrays and structures, advantage that
{ same structure type can be used in a list many times
char name[20];
struct Date birth;
} person;
Valid: person.name[4];
15. NUMRECS 5 Used to define an array of data
16. 0/nulls Without explicit initializers, the numeric elements of both
static and external arrays or structures are initialized to
______________
17. Parallel arrays 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
18. display(emp.idNum) ; Individual structure members may be passed to a function in the
calc- same manner as any scalar variable
Pay(emp.payRate,emp.hours);
19. calcPay(emp); On most compilers, complete copies of all members of a struc-
ture can also be passed to a function by including the name of
the structure as an argument to the called function
20. Reference A structure can be passed by this ( ex. calcNet(&emp);
double calcNet(struct Employee *pt)
(*pt).idNum or *pt->idNum )
21. ++ and -- can be applied to structures (ex. ++pt->hours
(pt++)->hours
(++pt)->hours )
2/8