100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

MIS 505 Final Exam Review Chapter 6: Arrays|latest answered fall 2020/2021.

Rating
-
Sold
-
Pages
8
Grade
A+
Uploaded on
06-01-2021
Written in
2020/2021

Questions: Review 5 1. Many newer programming languages such as C++, Java, and C# use subscript 1 to access the first element of the array. 2. You use subscripts 1 through 10 to access the elements in a ten element array. 3. Many newer programming languages such as C++, Java, and C# use the bracket notation for arrays. 4. Declaring a named constant makes code easier to modify and understand. 5. A parallel array is an array that stores another array in each element. 6. Parallel arrays must contain the same data type. 7. You can improve the efficiency of a program by leaving a loop as soon as a match is found in the array. 8. Arrays cannot … used if you need to search for a range of values. 9. When you have a five element array and use subscript 8, your subscript is said to … out of bounds. 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. 11. An array is a(n) ____ of values in computer memory. 12. A(n) ____ is another name for a subscript. 13. The number of elements in an array is ____ of the array. 14. All array elements have the same group ____. 15. Array elements all have the same ____ in common. 16. Array subscripts are always a sequence of ____. 17. In all languages, subscript values must … sequential ____. 18. A program contains an array that holds all the names of the days of the week. Which of the following is true? 19. Providing array values is sometimes ____. 20. An array can … used to replace ____. 21. The true benefit of using an array lies in your ability to use a ____ as a subscript to the array. 22. Named ____ hold values that do not change during a program’s execution. 23. Besides making your code easier to modify, using a ____ makes the code easier to understand. 24. One advantage to using a named constant is that the statement becomes ____. 25. When you search through a list from one end to the other, you are performing a ____. 26. If you declare a variable to … Boolean, you can set its value to ____. 27. Which statement is true of arrays? 28. A ____ relates parallel arrays. 29. Parallel arrays are most useful when value pairs have a(n) ____ relationship. 30. A ____ search starts looking in the middle of a sorted list, and then determines whether it should continue higher or lower. 31. To search an array for a(n) ____ match, you can store either the highest or lowest value of each range for comparison. 32. Every array has a(n) ____ size. 33. The number of bytes in an array is always a multiple of the number of ____ in an array. 34. In every programming language, when you access data stored in an array, it is important to use a ____ containing a value that accesses memory occupied by the array. 35. When a subscript is not within the range of acceptable subscripts, it is said to ____.

Show more Read less
Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Course

Document information

Uploaded on
January 6, 2021
Number of pages
8
Written in
2020/2021
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

MIS 505 Final Exam Review Chapter 6: Arrays
TRUE/FALSE

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

ANS: F PTS: 1 REF: 214

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

ANS: F PTS: 1 REF: 214

3. Many newer programming languages such as C++, Java, and C# use the bracket notation for arrays.

ANS: T PTS: 1 REF: 214

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

ANS: T PTS: 1 REF: 224

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

ANS: F PTS: 1 REF: 230

6. Parallel arrays must contain the same data type.

ANS: F PTS: 1 REF: 230

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

ANS: T PTS: 1 REF: 234

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

ANS: F PTS: 1 REF: 237

9. When you have a five element array and use subscript 8, your subscript is said to be out of bounds.

ANS: T PTS: 1 REF: 243

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.

ANS: T PTS: 1 REF: 244


MULTIPLE CHOICE

1. An array is a(n) ____ of values in computer memory.
a. list c. set
b. accumulation d. record

, ANS: A PTS: 1 REF: 214

2. A(n) ____ is another name for a subscript.
a. pointer c. index
b. sequence d. place holder
ANS: C PTS: 1 REF: 214

3. The number of elements in an array is called the ____ of the array.
a. width c. height
b. size d. depth
ANS: B PTS: 1 REF: 214

4. All array elements have the same group ____.
a. subscript c. memory location
b. name d. value
ANS: B PTS: 1 REF: 214

5. Array elements all have the same ____ in common.
a. pointer c. value
b. memory location d. data type
ANS: D PTS: 1 REF: 214

6. Array subscripts are always a sequence of ____.
a. large numbers c. negative values
b. characters d. integers
ANS: D PTS: 1 REF: 214

7. In all languages, subscript values must be sequential ____.
a. characters c. real numbers
b. fractions d. integers
ANS: D PTS: 1 REF: 214

8. 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. c. The lowest subscript is 1.
b. The highest subscript is 7. d. The highest subscript is 12.
ANS: A PTS: 1 REF: 214

9. Providing array values is sometimes called ____.
a. creating the array c. accumulating the array
b. declaring the array d. populating the array
ANS: D PTS: 1 REF: 215

10. An array can be used to replace ____.
a. records c. nested decisions
b. methods d. loops
ANS: C PTS: 1 REF: 216

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
perfectgrade Walden University
Follow You need to be logged in order to follow users or courses
Sold
227
Member since
5 year
Number of followers
216
Documents
180
Last sold
1 year ago
BEST HOMEWORK HELP AND TUTORING ,ALL KIND OF QUIZ or EXAM WITH GUARANTEE OF A.

Ive specialised in Nursing it being my career and profession,able to help in any exam or problem in this particular course

3.8

17 reviews

5
8
4
4
3
1
2
1
1
3

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions