Free Web development courses with real-time projects Start Now!!
Till now, you have gained the complete knowledge of JavaScript. So, be ready to test your knowledge with this JavaScript quiz.
Also, do not miss to attempt the other part of JavaScript Quiz as well once you are done with this part:
Quiz Summary
0 of 10 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
0 of 10 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- Current
- Review / Skip
- Answered
- Correct
- Incorrect
-
Question 1 of 10
1. Question
Predict the result:
var bar = 1,
fun = {};
fun: {
bar:2;
x: ++bar;
};
fun.x + fun.bar + bar;CorrectIncorrect -
Question 2 of 10
2. Question
Determine the result – String(“Hello”) === “Hello”;
CorrectIncorrect -
Question 3 of 10
3. Question
What is the correct JavaScript syntax to print “DataFlair” in the console?
CorrectIncorrect -
Question 4 of 10
4. Question
Which of the following print content on the browser window?
CorrectIncorrect -
Question 5 of 10
5. Question
Which method will you use to round the number 24.76 to the nearest integer?
CorrectIncorrect -
Question 6 of 10
6. Question
Which of the following statements will show a message as well as ask for user input in a popup?
CorrectIncorrect -
Question 7 of 10
7. Question
Which of the following is an event listener in JavaScript?
CorrectIncorrect -
Question 8 of 10
8. Question
You are a web designer in your company and need to create a JavaScript project for form validation. What are the advantages that JavaScript provides for forms?
CorrectIncorrect -
Question 9 of 10
9. Question
What is the syntax of a “for” statement in JavaScript?
CorrectIncorrect -
Question 10 of 10
10. Question
Which of the given options is an incorrect variable name?
CorrectIncorrect
Hope, you liked the set of questions in this JavaScript Quiz.
If you have any queries and suggestions, post them in the comment box.