100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

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

Beoordeling
-
Verkocht
-
Pagina's
8
Cijfer
A+
Geüpload op
06-01-2021
Geschreven 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 ____.

Meer zien Lees minder
Instelling
Vak









Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
6 januari 2021
Aantal pagina's
8
Geschreven in
2020/2021
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Voorbeeld van de inhoud

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

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
perfectgrade Walden University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
227
Lid sinds
5 jaar
Aantal volgers
216
Documenten
180
Laatst verkocht
1 jaar geleden
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 beoordelingen

5
8
4
4
3
1
2
1
1
3

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via Bancontact, iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo eenvoudig kan het zijn.”

Alisha Student

Veelgestelde vragen