Exam 9: Records Structs

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

A struct is a(n) ____________________, not a declaration.

(Short Answer)
4.8/5
(35)

The components of a struct are called the ____ of the struct.

(Multiple Choice)
4.9/5
(40)

A struct variable can be passed as a parameter ____.

(Multiple Choice)
4.8/5
(29)

Data in a struct variable must be read one member at a time.

(True/False)
4.8/5
(33)

An array name and index are separated using ____.

(Multiple Choice)
4.9/5
(43)

Consider the following statements:}; Consider the following statements:};   personalInfo person1, person2; CommonInfo person3, person4; Which of the following statements is valid in C++? personalInfo person1, person2; CommonInfo person3, person4; Which of the following statements is valid in C++?

(Multiple Choice)
4.8/5
(37)

The syntax for accessing a struct member is structVariableName____.

(Multiple Choice)
4.9/5
(36)

Aggregate input/output operations are allowed on a struct variable.

(True/False)
5.0/5
(41)

You can assign the value of one struct variable to another struct variable of ____ type.

(Multiple Choice)
4.7/5
(34)

A function can return a value of the type array.

(True/False)
4.8/5
(33)

Consider the following statements: Consider the following statements:   paintType paint; What is the data type of paint.supplier? paintType paint; What is the data type of paint.supplier?

(Multiple Choice)
4.7/5
(38)

Consider the following statements: Consider the following statements:   rectangleData bigRect; rectangleData smallRect; Which of the following statements is legal in C++? rectangleData bigRect; rectangleData smallRect; Which of the following statements is legal in C++?

(Multiple Choice)
4.8/5
(29)

Consider the following statements:rectangleData bigRect; Consider the following statements:rectangleData bigRect;   Which of the following statements correctly initializes the component length of bigRect? Which of the following statements correctly initializes the component length of bigRect?

(Multiple Choice)
4.8/5
(31)

A list has two items associated with it: ____.

(Multiple Choice)
4.8/5
(40)

Consider the following statements:struct studentType1 studentType2 student3, student4; Which of the following statements is valid in C++? Consider the following statements:struct studentType1 studentType2 student3, student4; Which of the following statements is valid in C++?

(Multiple Choice)
4.7/5
(34)

Relational operations can be used on struct variables.

(True/False)
4.9/5
(35)

In C++, the ____ symbol is an operator, called the member access operator.

(Multiple Choice)
4.8/5
(30)

Which of the following aggregate operations can be executed on array variables?

(Multiple Choice)
4.9/5
(39)

To access a structure member (component), you use the struct variable name together with the member name; these names are separated by a dot (period).

(True/False)
4.9/5
(38)

Consider the following statements: Consider the following statements:   applianceType applianceList[25]; Which of the following statements correctly initializes the cost of each appliance to 0? applianceType applianceList[25]; Which of the following statements correctly initializes the cost of each appliance to 0?

(Multiple Choice)
4.8/5
(38)
Showing 21 - 40 of 40
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)