JavaScript Test:
Instruction:
Total number of questions : 30.
Time allotted : 60 minutes.
Each question carry 1 mark, no negative marks.
DO NOT refresh the page.
All the best :-).
JavaScript Online Test
Quiz-summary
0 of 8 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
Information
JavaScript Online Test
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 have to finish following quiz, to start this quiz:
Results
0 of 8 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- Answered
- Review
-
Question 1 of 8
1. Question
Inside which HTML element use for JavaScript code?
Correct
Incorrect
-
Question 2 of 8
2. Question
Choose the correct JavaScript syntax for the change the content of the HTML element below?
<p id=”demo”>Hello world</p>
Correct
Incorrect
-
Question 3 of 8
3. Question
Where is the correct place to insert a JavaScript?
Correct
Incorrect
-
Question 4 of 8
4. Question
The external JavaScript file must contain the <script> tag.
Correct
Incorrect
-
Question 5 of 8
5. Question
How do you write “Hello World” in an alert box?
Correct
Incorrect
-
Question 6 of 8
6. Question
How do you create a function in JavaScript?
Correct
Incorrect
-
Question 7 of 8
7. Question
How do you call a function named “myFunction”?
Correct
Incorrect
-
Question 8 of 8
8. Question
How to write an IF statement in JavaScript?
Correct
Incorrect