Edit Game
Web 102 Mid-Semester Review
 Delete

Use commas to add multiple tags

 Private  Unlisted  Public




Delimiter between question and answer:

Tips:

  • No column headers.
  • Each line maps to a question.
  • If the delimiter is used in a question, the question should be surrounded by double quotes: "My, question","My, answer"
  • The first answer in the multiple choice question must be the correct answer.






 Save   20  Close
Which symbols go around the body of a function definition?
{ and }
When setting a variable, what symbol goes between the variable name and variable value?
=
Which keyword is used to create new variables?
let
Which HTML element can include JavaScript code on a webpage?
<script>
Which attribute will run JavaScript code when an HTML button is pressed?
onclick
What message will be displayed when this code runs?
You are a minor
How could you call this function named runCode?
runCode()
When defining a function, what comes after the function keyword?
function name
In a function definition, the code between the { and } is called...
the body (of the function)
What is the first keyword needed to define a function?
function
What will be displayed when this code runs?
You will eat Tuesday on Pizza.
What will be displayed when this code runs?
141
What will be displayed when this code runs?
Nothing
What is the data type of the mood variable?
String
What's the data type of the value within the if statement?
Boolean
What's the data type of the nickname variable??
String
What's the data type?
Boolean
What's the data type?
Number
What's the data type?
String
Comments in JavaScript start with...
// or /*