JavaScript Quiz with answers – Part 4

Practical questions to test your knowledge of JavaScript programming – Part 4
What is the output of this line: String.fromCharCode(65)?
1
A
Error
False
Summary
Correct!
Wrong!
What event do you use to execute something after the page has finished loading?
onfinished
onload
onunload
oncomplete
Correct!
Wrong!
Which keyword should intercept all values except those specified?
all
any
default
otherwise
Correct!
Wrong!
Which of the following is not a property of the window object?
document
menu
navigator
history
Correct!
Wrong!
Which DOM is supported by Internet Explorer 4?
getElementById
layer
getElementsByTagName
All the answers are true
Correct!
Wrong!
The DOM ____?
is dedicated for JavaScript
is a Template engine
describes the structure of the HTML or XML document
cannot be manipulated by JavaScript
Correct!
Wrong!
What function does the reverse of split() have?
append()
unite()
join()
concat()
Correct!
Wrong!
Which statement provides the value of a function?
return
Cancel
Continue
valueOf
Correct!
Wrong!
Which property is object oriented?
a function
an if statement
a variable
a reserved word
Correct!
Wrong!
Which of the following is NOT a valid function call?
var x = display();
display;
x = display();
display();
Correct!
Wrong!
Share the quiz to show your results !
Subscribe to see your results
JavaScript Quiz – Part 4
I got %%score%% of %%total%% right
%%description%%
%%description%%
Loading...