Coding Concepts: Variables, Loops and Functions

10 questions About 4 minMiddle SchoolFree
Play now

Tap an answer

One question at a time, no timer pressure.

See it instantly

Celebrate the right ones, learn from the misses.

Build a streak

Chain correct answers and beat your best score.

About this quiz

Middle School · Grades 6–8 · ages 11–13

Ten questions on ideas shared by most programming languages: what a variable, loop, function, string, list and Boolean are, how an if statement works, what a syntax error means, and what HTML is used for.

What you'll practice

  • Variables, strings, lists and Boolean values
  • Loops and if statements
  • Functions
  • Syntax errors
  • Telling programming languages from markup such as HTML

Sneak peek

A taste of what's inside. Play to find the answers.

  1. 1

    A variable is used to…

  2. 2

    A loop…

  3. 3

    An if statement runs code…

  4. + 7 more questions waiting for you

Play these next

Teachers

Host this quiz live with your class

Students join on their phones with a 6-digit code. A free teacher account hosts up to 5 games a month with up to 40 players. You can also write your own quizzes.