Exam 8: Arrays

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

When initializing an array, you must initialize all elements or none.

(True/False)
4.7/5
(87)

You can declare an array variable by placing curly brackets after the array name.

(True/False)
4.8/5
(80)

When you perform a ____, you compare a value to the endpoints of numerical ranges to find the category in which a value belongs.

(Multiple Choice)
4.8/5
(85)

A(n) ____ is an integer contained within square brackets that indicates one of an array's variables.

(Multiple Choice)
4.8/5
(88)

Match each term with the correct statement below. -Represent computer memory addresses

(Multiple Choice)
4.9/5
(67)

You use a ____ following the closing brace of an array initialization list.

(Multiple Choice)
4.8/5
(69)

Languages such as Visual Basic, BASIC, and COBOL use ____ to refer to individual array elements.

(Multiple Choice)
4.8/5
(75)

Which of the following statements correctly initializes an array with an initialization list?

(Multiple Choice)
4.7/5
(86)

How can you use the enhanced for loop?

(Essay)
4.8/5
(96)

When you declare an array name, no computer memory address is assigned to it. Instead, the array variable name has the special value ____, or Unicode value '\u0000'.

(Multiple Choice)
4.9/5
(76)

String[] countyNames = {"Clark", "Delaware", "Madison"}; Using the above statement, what will be the value of countyNames[0], countyNames[1], and countyNames[2]?

(Essay)
4.8/5
(72)

Comparing a variable to a list of values in an array is a process called ____ an array.

(Multiple Choice)
4.8/5
(89)

Match each term with the correct statement below. -A statement used to return an array from a method

(Multiple Choice)
5.0/5
(70)

When you want to determine whether a variable holds one of many valid values, one option is to use a do…while loop to compare the variable to a series of valid values.

(True/False)
4.8/5
(77)
Showing 61 - 74 of 74
close modal

Filters

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