Week 6 - Quiz (Graded)

Week 6 - Quiz (Graded) - 1. (TCO 7) All of the elements in...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
1. Question: (TCO 7) All of the elements in an array have the same ____. Your Answer: subscript data type CORRECT memory location value Instructor Explanation: See Chapter 8 and the Lecture Points Received: 2 of 2 Comments: 2. Question: (TCO 7) If a zero-based array catalogNumber has 3 elements, then the statement catalogNumber[3] is ____. Your Answer:
Background image of page 4
See Chapter 8 and the Lecture Points Received: 2 of 2 Comments: 3. Question: (TCO 7) The third element in a zero-based array named Price can be referenced by: Your Answer: Instructor Explanation: See Chapter 8 and the Lecture Points Received: 2 of 2 Comments: 4. Question: (TCO 7) If the array, MyArray, has been initialized with the values: MyArray[0] = 1 MyArray[1] = 2 MyArray[2] = 3 MyArray[3] = 0 Then what is the value of the following expression? MyArray[0] times MyArray[1] times MyArray[2] Your Answer: Instructor Explanation: See Chapter 8 and the Lecture Points Received: 2 of 2 Comments: 5. Question:
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 8

Week 6 - Quiz (Graded) - 1. (TCO 7) All of the elements in...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online