Text in quotes are considered to be ____.
Strings
What is a Boolean expression?
True or False:
Name the following comparison operators:
==
!=
>=
<=
Equal to ==
Not Equal to !=
Greater than or equal to >=
Less than or equal to <=
What is a counter pattern?
The counter pattern is a fundamental programming concept used to keep track of a count or a running total in dode. Usually starts at 0.
Who released the album SOUR in 2021?
Olivia Rodrigo
The \n character is ______ and will make a string print across ______________
("new line character")
Multiple Lines
What is a string?
A series of characters within quotations.
Which U.S. president is known for the Gettysburg Address?
Abraham Lincoln
Which boy band sang “What Makes You Beautiful”?
One Direction
List 4 different arithmetic operators used to write expressions.
(+ - / *) Plus, Minus, Divide, Multiply
How is a variable created?
A variable is created on the line where it is first declared with its name, usually using an assignment operator (=), and is considered "assigned" on the same line where it receives its initial value
Explain when you would use the below options.
var = x
x = __
Declare/define variables --> var = x
Assigned/Call variables --> x = __
What purchase doubled the size of the United States in 1803?
The Louisiana Purchase
In Iron Man, what is Tony Stark’s company called?
Stark Industries
What is a watcher?
A debugging tool that, as its name implies, watches your variables while the program runs, making it easier to see what they are doing.
Functions can help remove _________ from a program
Repeated Code
Define these comparison operators
&&
||
&& and
|| or
Who was the third president of the United States?
Thomas Jefferson
In Guardians of the Galaxy, what is the name of the raccoon character?
Rocket
What does the "Math.round" block do?
In Code.org, "Math.round" functions exactly like it does in most programming languages - it takes a given number and rounds it to the nearest whole integer, following the standard rounding rules where numbers ending in .5 are rounded up; essentially, it returns the closest integer value to the input number, whether that be rounding up or down.
What is concatenation used for?
Concatenation is used to combine a string with another string or number. Those strings or numbers can even be stored in variables!
How do you add or subtract if-else statements in code.org?
You use the plus or minus sign on the bottom of the control block.
What event is remembered on December 7, 1941?
The attack on Pearl Harbor
In Inside Out, which emotion is voiced by Amy Poehler?
JOY