¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

Sin título

Alex Keat 3 preguntas Actualizado el 5 sep 2018

Hacer el test

Preguntas del test (3)

  1. 1Which of the following is not a limitation of an array?
    1. AChecking whether an element is contained in the array can be time consuming
    2. BReplacing an element at a specified index of the array can be time consuming
    3. CWe need to specify the size of the array ahead of time
    4. DAdding an element to the front of an array can be time consuming
  2. 2which of these operations would NOT take relatively long amount of time?
    1. AReplacing a specific element in the array given its value but not its index
    2. BRe-sizing the array
    3. CAccessing the element at a given index in the array
    4. DRemoving an element from the array
  3. 3Suppose we used an int array arr of size N+1 to keep track of the frequency with which we have seen a given number in the interval [0 … N]. That is, arr[i] = x if we have seen number i a total of x times so far. What limitation of arrays should we still be concerned about in this specific context?
    1. AWe cannot easily insert an element in front of others.
    2. BChecking whether an array contains a number can be time consuming
    3. CThe array may be too large (wasted space)
    4. DAll of the above

Información

Descripción
(Core Data Structures) Data Structures Test sobre Sin título, creado por Alex Keat el 03/09/2018.
Idioma
English
Visitas
0
Historial
Creado el 3 sep 2018 · actualizado el 5 sep 2018
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?