placeholder image to represent content

Java Arrays

Quiz by Courtney Yatteau

Our brand new solo games combine with your quiz, on the same screen

Correct quiz answers unlock more play!

New Quizalize solo game modes
41 questions
Show answers
  • Q1
    -type of data structure constructed in memory.
    An array is a
    30s
  • Q2
    See image
    -named set of contiguous memory cells .
    30s
  • Q3
    - primitive data types such as ints and doubles.
    An array can store...
    30s
  • Q4
    See image
    - object data types such as Strings.
    30s
  • Q5
    No.
    Can data types be mixed in an array?
    30s
  • Q6
    See image
    Data type must be primitive or object.
    30s
  • Q7
    - the square brackets [ ].
    The operator we use in creating an array is...
    30s
  • Q8
    See image
    - also called the *ARRAY INDEX OPERATOR*.
    30s
  • Q9
    datatype [ ] arrayName;
    Array Syntax:
    30s
  • Q10
    See image
    - can also be datatype arrayName [ ];
    30s
  • Q11
    int [ ] myIntArray = new int [10];
    To create an array to hold ten values of type int:
    30s
  • Q12
    No.
    Can you change the number of elements in an array after it has been created?
    30s
  • Q13
    See image
    Once created, the array size is fixed, or immutable
    30s
  • Q14
    arrayName [index number]
    Each element of an array is identified and can be referenced using this syntax:
    30s
  • Q15
    The number of elements - 1.
    The last element of any array will have an index number equal to...
    30s

Teachers give this quiz to your class