Quiz Summary
0 of 36 Questions completed
Questions:
Information
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
Results
Results
Your time:
Time has elapsed
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- Current
- Review
- Answered
- Correct
- Incorrect
-
Question 1 of 36
1. Question
Which of the following is true about variable naming conventions in JavaScript?
-
Question 2 of 36
2. Question
Which of the following is the correct syntax to create a cookie using JavaScript?
-
Question 3 of 36
3. Question
Which of the following is correct about callbacks?
-
Question 4 of 36
4. Question
Which built-in method reverses the order of the elements of an array?
-
Question 5 of 36
5. Question
Which of the following function of String object combines the text of two strings and returns a new string?
-
Question 6 of 36
6. Question
Which of the following function of String object returns the index within the calling String object of the last occurrence of the specified value?
-
Question 7 of 36
7. Question
Which of the following function of String object returns the calling string value converted to lower case?
-
Question 8 of 36
8. Question
Which of the following function of String object causes a string to be displayed in the specified size as if it were in a <font size = ‘size’> tag?
-
Question 9 of 36
9. Question
Which of the following function of Array object calls a function for each element in the array?
-
Question 10 of 36
10. Question
Which of the following function of Array object sorts the elements of an array?
-
Question 11 of 36
11. Question
What can we attach to DOM elements in order to respond to events in the system?
-
Question 12 of 36
12. Question
What method do we use to create an event listener?
-
Question 13 of 36
13. Question
The following example uses what type of function to handle an event?
element.addEventListener(‘click’, function(event){}); -
Question 14 of 36
14. Question
What property on the event object contains the DOM object that invoked the event?
-
Question 15 of 36
15. Question
Why is the event.preventDefault() command used?
-
Question 16 of 36
16. Question
Which event trigger indicates the DOM has finished loading and processing?
-
Question 17 of 36
17. Question
How many buttons are there in an alert box?
-
Question 18 of 36
18. Question
Which of the following is not a mouse event?
-
Question 19 of 36
19. Question
Which of the following is not an event that can trigger a Javascript?
-
Question 20 of 36
20. Question
Which event is triggered if the browser window is resized ?
-
Question 21 of 36
21. Question
Which event is triggered when a field loses the focus ?
-
Question 22 of 36
22. Question
You define a method using ?
-
Question 23 of 36
23. Question
Which of these statements is true ?
-
Question 24 of 36
24. Question
Which of the following is NOT a valid Alert call?
-
Question 25 of 36
25. Question
When can you not trigger Javascript from an event handler ?
-
Question 26 of 36
26. Question
Which event tests if a form field has changed?
-
Question 27 of 36
27. Question
Which of these contains an executable statement?
-
Question 28 of 36
28. Question
Assume that a function myfunction is defined at some place . Which of the following is NOT a valid function call?
-
Question 29 of 36
29. Question
Assume that value of A is 10 and value of B is 15. Which of the following returns a true value in if statement.
-
Question 30 of 36
30. Question
Which of the following is not a builtin Javascript object?
-
Question 31 of 36
31. Question
What command skips the rest of a case statement?
-
Question 32 of 36
32. Question
How many parameters can be passed to one function?
-
Question 33 of 36
33. Question
Consider the following code for switch loop
case 10:case 12:
What will run next if the value is 10? -
Question 34 of 36
34. Question
What does ++ do?
-
Question 35 of 36
35. Question
What is correct about a method
-
Question 36 of 36
36. Question
var a= ‘Z’; var b = 32; a = b; Variable ‘a’ now contains?