Programming > EXAM REVIEW > MIS 505 Final Exam Review Chapter 6: Arrays|latest answered fall 2020/2021. (All)
MIS 505 Final Exam Review Chapter 6: Arrays 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 su... bscripts 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]
Last updated: 1 year ago
Preview 1 out of 8 pages
Connected school, study & course
About the document
Uploaded On
Dec 09, 2020
Number of pages
8
Written in
This document has been written for:
Uploaded
Dec 09, 2020
Downloads
0
Views
97
In Browsegrades, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Browsegrades · High quality services·