With this standard convention, you group words into one, the first word is lowercase, then every word that follows will have its first letter uppercased. Example: jeopardyIsFun
Camel Casing
This keyword signals that the variable can be reassigned a different value
let
What function do you need to call to ask the user of the program to enter text?
readLine
Events that occur when the mouse interacts with the program
Mouse Event
This is the birth-state of Taylor Swift and the home of the 76ers and Eagles
Pennsylvania
= is the ________ operator
Assignment
True or False. With var and let we can declare a value without assigning the variable a value.
True
The name of the function we would use to read integers from the user. (Example: age)
readInt
A function that is called by your program in response to an event
Callback function
This is the year that Propel was first created
2002
True or false. The variable jeopardyIsFun would reference the same memory location as jeopardyISfun
False. Variable names are case sensitive.
This is output of the code shown below.
17
In JavaScript, what is a string?
An ordered sequence of characters
If we’ve written a function drawCircle, how would we call that function every time the mouse is clicked.
mouseClickMethod(drawCircle);
This is the name that Javascript was originally called
Mocha.
True or False. "const" could be a legitimate variable name
False. Variable names cannot be the same as JavaScript keywords
This would be the output of running this code:
TypeError: Assignment to constant variable.
What are the three functions we've used to get user input?
readLine
readInt
readFloat
In the following code, what is the meaning of the x variable?
var x = 20;
var circle = new Circle(x);
add(circle);
The radius of the circle
This college in Arizona has a Jackrabbit for a mascot and the initials NAU
Northern Arizona University
True or false: You should use the keyword var when assigning a new value to an existing variable
False
If you try to declare a const variable without a value, you’ll get this type of error.
SyntaxError
On the AP exam, INPUT() is used to accept a value from the user and DISPLAY() is used to display a value. Values that are displayed are NOT started on a new line but do contain a space following the value printed.
Consider the code below:
DISPLAY ("What is your name?") name ← INPUT () DISPLAY ("Hello") DISPLAY (name)
What is displayed as a result if the user inputs “Karel” to the program?
What is your name? Karel
Hello Karel
What are the three steps we need to add graphics and adjust their properties?
This pixar movie about power and control has Kevin Spacey as the voice of "Hopper"
A Bug's Life