Coding Vocab
Loops
Conditional
Variables
Trivia
100

What is a “program”?

A set of instructions a computer follows.

100

What does a loop do?

Repeats a set of instructions.

100

What does “if” do in coding?

Checks if something is true before running code.

100

What is a variable?

A place to store information.

100

Who is known as the first computer programmer?

Ada Lovelace.

200

What is a “bug”?

A mistake in the code.

200

What kind of loop runs a set number of times?

A “for” loop.

200

What does “else” mean?

It runs when the “if” condition isn’t true.

200

Give an example of a variable.

var Score = 10

200

What does a robot need to follow commands?

A program.  

300

What does it mean to “debug”?

To find and fix errors in your code.

300

What kind of loop runs until something happens?

A “while” loop.

300

What’s an example of a condition?

“If the score > 10” or “if button is pressed”.

300

What happens when you change a variable’s value?

The stored information changes.

300

What is “Swift Playground”?

Swift Playgrounds is a free app from Apple for iPad and Mac that teaches you how to code using the Swift programming language through interactive lessons and puzzles.  

400

What is an “algorithm”?

A list of steps to solve a problem.

400

What happens if you forget to stop a loop?  

It becomes an infinite loop!

400

What does “if…else if…else” mean?

It checks multiple possibilities in order.  

400

What type of info can a variable hold?

Numbers, text, or other data.

400

What is the main goal of coding?

To make computers do tasks or solve problems.

500

What is “syntax”?

The rules for how code must be written.

500

Why do programmers use loops?

To save time and avoid repeating code.

500

Why do we use conditionals?

To make programs make decisions.

500

Why are variables important?

They let programs remember and use information.

500

What language do websites use for structure?

HTML.

M
e
n
u