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. JavaScript is the same as Java.

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

#3. How do you create a function in JavaScript?

#4. How do you write “Hello World” in an alert box?

#5. What is the correct way to write a JavaScript array?




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

#7. JavaScript ignores extra spaces

#8. Java script can be used for Storing the form’s contents to a database file on the server

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

#10. Which of the ways below is incorrect of instantiating a date?




#11. How does a FOR loop start?

#12. How do you find the number with the highest value of x and y?

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

#14. Which attribute needs to be changed to make elements invisible?

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




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

#17. JavaScript ignores extra spaces

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

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

#20. Which of the following is a server-side Java Script object?




Previous
Finish