GoConqr has a new look! Let us know what you think.

Quiz

Arrays

Code Ramp 5 questions

Take the quiz

This quiz has question types that open in the usual player.

Questions in this quiz (5)

  1. 1What are data structures good for?
    1. AOrganizing our data
    2. BEfficiently scaling
    3. COptimizing for speed and/or memory
    4. DMaking sure our data is permanent
  2. 2Given the array of numbers below, which number is at index 3?

    var x = [2, 7, 36, 14, 6];
    1. A7
    2. B36
    3. C14
    4. D6
  3. 3Which is *not* true about arrays?
    1. AArrays are iterable (meaning you can loop through them)
    2. BAn array must be composed of elements of all the same data type
    3. CArrays are ordered
    4. DYou can find out how many items are in an array using the .length property
  4. 4Use the [blank_start]push[blank_end] method to add an item to the end of an array and the [blank_start]pop[blank_end] method to remove and return an item.
    1. Apush
    2. Bpop
  5. 5Which of the following methods does actually change the original array?
    1. Aslice
    2. Bsplice

Information

Description
Quiz on Arrays, created by Code Ramp on 24/04/2018.
Author
Code Ramp
Language
English
Views
309
Tags
toefl
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?