placeholder image to represent content

AP CSA: Unit 3 & 4

Quiz by Sayan Saha (Dunwoody High School)

Feel free to use or edit a copy

includes Teacher and Student dashboards

Measure skills
from any curriculum

Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.

With a free account, teachers can
  • edit the questions
  • save a copy for later
  • start a class game
  • automatically assign follow-up activities based on students’ scores
  • assign as homework
  • share a link with colleagues
  • print as a bubble sheet

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

Correct quiz answers unlock more play!

New Quizalize solo game modes
20 questions
Show answers
  • Q1
    This data type holds only one piece of information at a time?
    class
    primitive
    alphanumeric
    null
    20s
  • Q2
    Which of the following is not a consideration when choosing an algorithm?
    speed
    Find patterns
    memory use
    Find patterns
    30s
  • Q3
    We usually use this type of loop with arrays?
    for loop
    Boolean test
    while loop
    if statement
    30s
  • Q4
    Adding two Strings together is called?
    concatenation
    string addition
    multiplication
    parsing
    20s
  • Q5
    Which of the following is the correct way to find the length of the String in the first element of an array called words?
    words.length()[0]
    words[0].length()
    words.length[0]
    words.length
    30s
  • Q6
    What does the following algorithm do?
    Question Image
    Tests if the elements in the array are even or odd.
    Changes all the values in the array to even numbers.
    Doubles all the values in the array.
    Doubles every other value in the array
    30s
  • Q7
    We usually use a ______ with arrays?
    while loop
    if statement
    boolean test
    for loop
    30s
  • Q8
    Consider the following code:
    Question Image
    double char char double
    double char boolean algorithm
    algorithm boolean char double
    algorithm boolean boolean algorithm
    30s
  • Q9
    What is output by the following?
    Question Image
    Prints the first character in the String
    Nothing, there is an index out of bounds error.
    Prints the last character in the String
    None of the items listed.
    30s
  • Q10
    What is 55 in binary?
    0 0 1 1 0 1 0 1
    0 0 1 1 0 1 1 0
    0 0 1 1 0 1 1 1
    0 0 1 1 0 0 1 1
    30s
  • Q11
    When you pass an array to a method, the method receives ______?
    A copy of the array
    The length of the array
    The reference to the array
    None of the items listed
    30s
  • Q12
    When this type of variable is passed into a method, any changes made to it in the method are saved and the previous value of the variable is overwritten outside the method?
    method
    class
    primitive
    argument
    30s
  • Q13
    Consider the code: What is output by the following call? mystery(9);
    Question Image
    01234567
    123456789
    0012345678
    00123456
    30s
  • Q14
    What operator do you use to find the remainder?
    Math.pow
    /
    *
    %
    30s
  • Q15
    A recursive method must have a recursive call and a ______?
    null case
    base case
    stop case
    void case
    30s

Teachers give this quiz to your class