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. Which of the following is a client-side Java Script object?

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

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

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

#5. Is JavaScript case-sensitive?




#6. Which is the correct way to write a JavaScript array?

#7. What is negative infinity in Java script?

#8. JavaScript ignores extra spaces

#9. Which event occurs when the user clicks on an HTML element?

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




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

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

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

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

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




#16. Which of the following is the tainted property of a window object in Java Script?

#17. JavaScript ignores extra spaces

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

#19. How does a FOR loop start?

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




Previous
Finish