STAYxALIVE7007 STAYxALIVE7007
  • 18-07-2019
  • Computers and Technology
contestada

If every element of a list must beprocessed, a(n) __________is more efficient than a(n)______.

A.hash; array B.array;hash C.record;array D.has; record

Respuesta :

demimurray573
demimurray573 demimurray573
  • 28-07-2019

Answer:

B - array; hash

Explanation:

Arrays store elements of the same data type in a list. Every element in the array is assigned a unique integer (starting at 0). You are able to access/process an element by using its assigned integer. Hashes are similar in the fact that they also store data. The difference is that each element is assigned an object type (instead of an integer), making it a collection of key pairs, as such you would typically not use this to process elements efficiently.

Answer Link

Otras preguntas

how many cow and chickens if there are 9 heads and 18 legs
Why did the Great Britain raised taxes in 1763?
A chunk of silver has a heat capacity if 42.8 j/*c. If the silver has a mass of 181g, calculate the specific heat of sliver.
Which of the following patterns of inheritance describes interactions between multiple genes? A. Epistasis B. Sex linkage C. Codominance D. Simple dominance E.
Why are xylem and phloem bundled together?
The manual for your boat engine calls 91 octane gas. The gas stations by your house only sell 87 and 93 octane. If the boat's tank holds 30 gallons, how many ga
What happens to water that is not removed from land by evaporation?
An alarm clock draws 0.5 A of current when connected to a 120 volt circuit. Calculate its resistance.
What is the climate of ths western region of the us?
Can someone please help me with these two questions