100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4,6 TrustPilot
logo-home
Examen

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

Puntuación
-
Vendido
-
Páginas
8
Grado
A+
Subido en
06-01-2021
Escrito 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 ____.

Mostrar más Leer menos
Institución
Grado









Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
Grado

Información del documento

Subido en
6 de enero de 2021
Número de páginas
8
Escrito en
2020/2021
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

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
$9.49
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
perfectgrade Walden University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
227
Miembro desde
5 año
Número de seguidores
216
Documentos
180
Última venta
1 año hace
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 reseñas

5
8
4
4
3
1
2
1
1
3

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes