Garantie de satisfaction à 100% Disponible immédiatement après paiement En ligne et en PDF Tu n'es attaché à rien 4,6 TrustPilot
logo-home
Examen

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

Note
-
Vendu
-
Pages
8
Grade
A+
Publié le
06-01-2021
Écrit en
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 ____.

Montrer plus Lire moins
Établissement
Cours









Oups ! Impossible de charger votre document. Réessayez ou contactez le support.

École, étude et sujet

Établissement
Cours

Infos sur le Document

Publié le
6 janvier 2021
Nombre de pages
8
Écrit en
2020/2021
Type
Examen
Contient
Questions et réponses

Sujets

Aperçu du contenu

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
€8,40
Accéder à l'intégralité du document:

Garantie de satisfaction à 100%
Disponible immédiatement après paiement
En ligne et en PDF
Tu n'es attaché à rien

Faites connaissance avec le vendeur

Seller avatar
Les scores de réputation sont basés sur le nombre de documents qu'un vendeur a vendus contre paiement ainsi que sur les avis qu'il a reçu pour ces documents. Il y a trois niveaux: Bronze, Argent et Or. Plus la réputation est bonne, plus vous pouvez faire confiance sur la qualité du travail des vendeurs.
perfectgrade Walden University
S'abonner Vous devez être connecté afin de suivre les étudiants ou les cours
Vendu
227
Membre depuis
5 année
Nombre de followers
216
Documents
180
Dernière vente
1 année de cela
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 revues

5
8
4
4
3
1
2
1
1
3

Récemment consulté par vous

Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Foire aux questions