JavaScript MCQ Result
Back to Quizzes
Score
3
Question:
1/5
Score:
0
1. Javascript is an _______ language?
Object
Oriented
Object Based
Procedural
None of the above
Whoohoo, you are correct.
Question:
2/5
Score:
0
2. Which of the following keywords is used to define a variable in Javascript?
var
let
Both A And B
None of the above
Whoohoo, you are correct.
Question:
3/5
Score:
0
3. Which of the following methods is used to access HTML elements using Javascript?
Both B and C
getElementById()
getElementsByClassName()
None of the above
Whoohoo, you are correct.
Question:
4/5
Score:
0
4. Upon encountering empty statements, what does the Javascript Interpreter do?
Throws an error
Ignores the statements
Gives a warning
None of the above
Oops, you are wrong. No point for this one.
Question:
5/5
Score:
0
5. Which of the following methods can be used to display data in some form using Javascript?
document.write()
console.log()
window.alert()
All of the above
Oops, you are wrong. No point for this one.