The Basics (Variables & Constants)
Data types
Lists (Arrays)
Making Choices
Functions
100

This keyword is used to declare a constant whose value cannot be changed once set.

What is let?

100

This data type is used for text and is always surrounded by quotation marks.


What is a String?

100

In a list (Array), the very first item is always at this number position.

What is zero (0)?

100

This "if" statement helps the computer decide between two paths. It usually ends with this "E" word if the first part is false.

What is else?

100

This keyword is used to tell the computer, "Hey, I'm defining a new shortcut command!"

Answer: What is func?

200

This keyword is used to declare a variable that can be updated later in the code.


What is var?

200

This data type is for whole numbers only—no decimals allowed!


What is an Int?

200

These square symbols are used to create a list and surround the items inside.


What are brackets [ ]

200

: This symbol is used to check if two values are exactly equal to each other.


What is == (double equal sign)?

200

After a function name, you always see these two symbols where you can pass in extra information.

What are parentheses ( )?

300

$300: Swift uses this process to guess the data type of a variable based on the initial value provided.

What is Type Inference

300

his is the data type for an answer that can only be True or False

What is Bool

300

To add a brand new item to the end of your list, you use this "A" word.

What is .append

300

 Use this loop if you want to repeat a block of code for every item in a list.

What is a for-in loop?

300

This is the common Swift command used to display text in the console for the programmer to see.

What is print()?

400

In Swift, we write variable names like myFavoriteFood. This style is named after what humped animal?


What is a Camel (camelCase)?

400

If you want to store a number with a decimal point, like $9.99$, you use this type.


What is a Double?

400

To get a specific item out of a list, you put its number inside brackets. This is called using an ____.

What is an index?

400

 These curly symbols are used to "hug" the code that belongs inside an if statement or a loop.

What are braces { }?

400

When you want a function to give you a piece of data back, you use this keyword.

What is return?

500

This symbol is used to assign a value to a variable (e.g., var score _ 10).


 What is the equal sign (=)?

500

This is the special word Swift uses when a variable has no value at all.


 What is nil?

500

This command will delete every single item inside your list at once.

What is .removeAll()?

500

This operator, written as !=, means that two values are ____.

What is "Not Equal"?

500

 To actually "run" or "use" a function you wrote, you have to do what is known as _____ the function.

What is "calling" the function