This keyword is used to declare a constant whose value cannot be changed once set.
What is let?
This data type is used for text and is always surrounded by quotation marks.
What is a String?
In a list (Array), the very first item is always at this number position.
What is zero (0)?
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?
This keyword is used to tell the computer, "Hey, I'm defining a new shortcut command!"
Answer: What is func?
This keyword is used to declare a variable that can be updated later in the code.
What is var?
This data type is for whole numbers only—no decimals allowed!
What is an Int?
These square symbols are used to create a list and surround the items inside.
What are brackets [ ]
: This symbol is used to check if two values are exactly equal to each other.
What is == (double equal sign)?
After a function name, you always see these two symbols where you can pass in extra information.
What are parentheses ( )?
$300: Swift uses this process to guess the data type of a variable based on the initial value provided.
What is Type Inference
his is the data type for an answer that can only be True or False
What is Bool
To add a brand new item to the end of your list, you use this "A" word.
What is .append
Use this loop if you want to repeat a block of code for every item in a list.
What is a for-in loop?
This is the common Swift command used to display text in the console for the programmer to see.
What is print()?
In Swift, we write variable names like myFavoriteFood. This style is named after what humped animal?
What is a Camel (camelCase)?
If you want to store a number with a decimal point, like $9.99$, you use this type.
What is a Double?
To get a specific item out of a list, you put its number inside brackets. This is called using an ____.
What is an index?
These curly symbols are used to "hug" the code that belongs inside an if statement or a loop.
What are braces { }?
When you want a function to give you a piece of data back, you use this keyword.
What is return?
This symbol is used to assign a value to a variable (e.g., var score _ 10).
What is the equal sign (=)?
This is the special word Swift uses when a variable has no value at all.
What is nil?
This command will delete every single item inside your list at once.
What is .removeAll()?
This operator, written as !=, means that two values are ____.
What is "Not Equal"?
To actually "run" or "use" a function you wrote, you have to do what is known as _____ the function.
What is "calling" the function