CSE 111: Lab 6
Multiple Choice Quiz:
Which of the following is NOT a part of a function declaration?
What should always follow a function name?
Operators like + and * are called what?
makes the right value equal to the left
compares the two values
makes the left value equal to the right
exchanges two values
Which of these is NOT a comparison operator>
What comes after an if statement if the outcome is false?
How do you write "Hello World" in an alert box?
var colors = 1 = ("red"), 2 = ("green"), 3 = ("blue")
var colors = ["red", "green", "blue"]
var colors = (1:"red", 2:"green", 3:"blue")
var colors = "red", "green", "blue"
function = myFunction()
function : myFunction()
function + myFunction()
Which event occurs when the user clicks on an HTML element?
How does a FOR loop start?
for (i = 0; i <= 5)
for (i <= 5; i++)
for (i = 0; i <= 5; i++)
for i = 1 to 5