Genius

MIS505 MIS/505 MIS 505 Programming-Final-Exam-Review PART 9

MIS 505 Programming-Final-Exam-Review PART 9

1.
Many newer programming languages such as C++, Java, and C# use subscript 1 to access the first element of the array.
A) True
B) False
Points Earned:
1.0/1.0


2.
You use subscripts 1 through 10 to access the elements in a ten element array.
A) True
B) False
Points Earned:
1.0/1.0


3.
Many newer programming languages such as C++, Java, and C# use the bracket notation for arrays.
A) True
B) False
Points Earned:
1.0/1.0


4.
Declaring a named constant makes code easier to modify and understand.
A) True
B) False
Points Earned:
1.0/1.0


5.
A parallel array is an array that stores another array in each element.
A) True
B) False
Points Earned:
1.0/1.0


6.
Parallel arrays must contain the same data type.
A) True
B) False
Points Earned:
1.0/1.0


7.
You can improve the efficiency of a program by leaving a loop as soon as a match is found in the array.
A) True
B) False
Points Earned:
1.0/1.0


8.
Arrays cannot be used if you need to search for a range of values.
A) True
B) False
Points Earned:
1.0/1.0


9.
When you have a five element array and use subscript 8, your subscript is said to be out of bounds.
A) True
B) False
Points Earned:
1.0/1.0


10.
The for loop is a good tool when working with arrays because you frequently need to process every element of an array from beginning to end.
A) True
B) False
Points Earned:
1.0/1.0


11.
An array is a(n) ____ of values in computer memory.
A) list
B) accumulation
C) set
D) record
Points Earned:
1.0/1.0


12.
A(n) ____ is another name for a subscript.
A) pointer
B) sequence
C) index
D) place holder
Points Earned:
1.0/1.0


13.
The number of elements in an array is called the ____ of the array.
A) width
B) size
C) height
D) depth
Points Earned:
1.0/1.0


14.
All array elements have the same group ____.
A) subscript
B) name
C) memory location
D) value
Points Earned:
1.0/1.0


15.
Array elements all have the same ____ in common.
A) pointer
B) memory location
C) value
D) data type
Points Earned:
1.0/1.0


16.
Array subscripts are always a sequence of ____.
A) large numbers
B) characters
C) negative values
D) integers
Points Earned:
1.0/1.0


17.
In all languages, subscript values must be sequential ____.
A) characters
B) fractions
C) real numbers
D) integers
Points Earned:
1.0/1.0


18.
A program contains an array that holds all the names of the days of the week. Which of the following is true?
A) The highest subscript is 6.
B) The highest subscript is 7.
C) The lowest subscript is 1.
D) The highest subscript is 12.
Points Earned:
1.0/1.0


19.
Providing array values is sometimes called ____.
A) creating the array
B) declaring the array
C) accumulating the array
D) populating the array
Points Earned:
1.0/1.0


20.
An array can be used to replace ____.
A) records
B) methods
C) nested decisions
D) loops
Points Earned:
1.0/1.0
Answered
Other / Other
15 Oct 2016

Answers (1)

  1. Genius

    MIS505 MIS/505 MIS 505 Programming-Final-Exam-Review PART 9

    1. Many newer programming languages such as C++, Java, and C# ****** ******
    To see full answer buy this answer.
    Answer Attachments

    1 attachments —

    • img
      part_9442926.docx

Report As Dispute

Share Your Feedback

Give Review : A+ A B C D F