Exam 6: Arrays

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

Array elements all have the same ____ in common.

(Multiple Choice)
4.7/5
(79)

A parallel array is an array that stores another array in each element.

(True/False)
4.9/5
(80)

One advantage to using a named constant is that the statement becomes ____.

(Multiple Choice)
4.7/5
(78)

Many newer programming languages such as C++,Java,and C# use subscript 1 to access the first element of the array.

(True/False)
4.7/5
(82)

Parallel arrays must contain the same data type.

(True/False)
4.9/5
(94)

Match each term with a statement below. -Can hold the size of an array

(Multiple Choice)
4.9/5
(82)

Why is it desirable to leave the loop as soon as a match is found?

(Essay)
4.9/5
(85)

Arrays cannot be used if you need to search for a range of values.

(True/False)
4.9/5
(75)

Match each term with a statement below. -A series of values in computer memory

(Multiple Choice)
4.8/5
(85)

Declaring a named constant makes code easier to modify and understand.

(True/False)
5.0/5
(87)

Parallel arrays are most useful when value pairs have a(n)____ relationship.

(Multiple Choice)
4.7/5
(74)

A ____ search starts looking in the middle of a sorted list,and then determines whether it should continue higher or lower.

(Multiple Choice)
4.8/5
(75)

A program contains an array that holds all the names of the days of the week.Which of the following is true?

(Multiple Choice)
5.0/5
(84)

Use a(n)____________________ to indicate the position of a particular item within an array.

(Short Answer)
4.7/5
(88)

You can improve the efficiency of a program by leaving a loop as soon as a match is found in the array.

(True/False)
4.9/5
(79)

When a subscript is not within the range of acceptable subscripts,it is said to be ____.

(Multiple Choice)
4.8/5
(88)

Named ____ hold values that do not change during a program's execution.

(Multiple Choice)
4.8/5
(70)

You use subscripts 1 through 10 to access the elements in a ten element array.

(True/False)
4.8/5
(73)

All array elements have the same group ____.

(Multiple Choice)
4.9/5
(81)

Which statement is true of arrays?

(Multiple Choice)
4.9/5
(79)
Showing 21 - 40 of 60
close modal

Filters

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