JAVASCRIPT QUIZ TEST

 

Results

%3Cspan%20style%3D%22color%3A%20%23339966%22%3E%3Cstrong%3ECongratulations%3C%2Fstrong%3E%3C%2Fspan%3E

%3Cspan%20style%3D%22color%3A%20%23ff0000%22%3E%3Cstrong%3EFail%3C%2Fstrong%3E%3C%2Fspan%3E%2C%20Try%20Again

#1. What language defines the behavior of a web page?

#2. JavaScript is the same as Java.

#3. Where is the correct place to insert a JavaScript?

#4. How can you detect the client’s browser name?

#5. Why so Java and JavaScript have similar name?




#6. JavaScript ignores extra spaces

#7. How do you call a function named “myFunction”?

#8. Which of the following is used to capture all click events in a window?

#9. How to write an IF statement for executing some code if “i” is NOT equal to 5?

#10. JavaScript ignores extra spaces




#11. How to write an IF statement in JavaScript?

#12. How does a FOR loop start?

#13. File is a server-side JavaScript object?

#14. What is the correct JavaScript syntax for opening a new window called “w2” ?

#15. Which of the following is correct to write “Hello World” on the web page?




#16. How do you round the number 7.25, to the nearest integer?

#17. How to append a value to an array of Java Script?

#18. How does Java Script store dates in objects of Date type?

#19. What will the following code return: Boolean(10 > 9)

#20. What is negative infinity in Java script?




Previous
Finish