Lesson T2.2.1

T2.2.1 Lists, tables and arrays Quiz: KS3 Computing, Unit 2

20 questions

In partnership with Revision Ninja

Lesson T2.2.1, Lists, tables and arrays: 20 multiple choice questions for the KS3 Computing (National Curriculum), Unit 2: Programming, written with Revision Ninja.

Host it live on the board and students join with a game code on their own devices, or revise alone with Free Play. The answers are revealed in the game.

Host this setFree Play

The 20 questions

  1. What data structure stores multiple items under one name using indices?

    • An array
    • A constant
    • A boolean
    • A variable
  2. In Python, what is the index of the first item in a list?

    • -1
    • 0
    • 1
    • 10
  3. A list is [4, 9, 2]. What is list[1]?

    • 9
    • 4
    • 1
    • 2
  4. A table has 3 rows and 4 columns. How many cells does it have?

    • 16
    • 12
    • 7
    • 34
  5. Which structure is most suitable for storing the test scores of 30 pupils?

    • A single variable
    • A list
    • A function
    • A boolean
  6. What does the length of the list [3, 8, 1, 6] equal?

    • 6
    • 8
    • 3
    • 4
  7. Which Python method adds an item to the end of a list?

    • append
    • insert_front
    • remove_all
    • delete
  8. What is used to locate a single cell in a two-dimensional table?

    • Row and column
    • Index and length
    • Key and item
    • Name and value
  9. What programming feature works best with a list to process every item?

    • A constant
    • A variable
    • A condition
    • A loop
  10. A list is [10, 20, 30]. What is list[2]?

    • 30
    • 10
    • 20
    • 2
  11. What does each column in a data table hold?

    • A random value
    • One single row
    • All table records
    • One data field
  12. A list stores ['red', 'blue', 'green']. What is the value at index 0?

    • 0
    • blue
    • green
    • red
  13. Why choose a table instead of a simple list?

    • Faster text output
    • Only one value
    • Multiple data fields
    • No indices needed
  14. What built-in check tells a loop how many items are in a list?

    • The length
    • The maximum value
    • The first index
    • The total sum
  15. What error occurs when accessing an index outside a list?

    • IndexError
    • ValueError
    • TypeError
    • SyntaxError
  16. What structure holds related details like a name, age, and form together?

    • A single variable
    • A boolean value
    • A table row
    • A function call
  17. What number labels the first position in most programming lists?

    • Zero
    • One
    • Ten
    • Minus one
  18. A list stores quiz answers. Which Python expression gives the second answer?

    • answers[-2]
    • answers[2]
    • answers[0]
    • answers[1]
  19. What is the primary purpose of a list in programming?

    • Execute functions
    • Define classes
    • Store multiple items
    • Format output
  20. A list called scores holds 5 values. What is len(scores)?

    • 0
    • 5
    • 4
    • 6

All KS3 Computing quizzes