GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

Ohne Titel

Alex Keat 3 Fragen Aktualisiert am 5 Sep 2018

Quiz starten

Fragen in diesem Quiz (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

Informationen

Beschreibung
Data Structures (Core Data Structures) Quiz am Ohne Titel, erstellt von Alex Keat am 03/09/2018.
Sprache
English
Aufrufe
0
Verlauf
Erstellt am 3 Sep 2018 · aktualisiert am 5 Sep 2018
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck