FREE Web Programming Question and Answers
What will the test variable be after the following line has been executed if the count variable has a value of 1? Test variable = (count == 1)? "errors": "error";
Correct!
Wrong!
What Math object function can be utilized to get the biggest value returned from the data supplied to it?
Correct!
Wrong!
What occurs when a user chooses a new option from a select list?
Correct!
Wrong!
You can obtain a pointer to the Text node by using the firstChild attribute to show data in a span element. What Text node property can you use to set the value shown in the span element, then?
Correct!
Wrong!
What is returned by the prompt method if a dialog box is displayed, text is entered, and the OK button is clicked?
Correct!
Wrong!
Which of the following commands, given a Date object named due date, sets the month to February?
Correct!
Wrong!
Which of the subsequent operators DOES NOT do type coercion?
Correct!
Wrong!