Makini High School
Enter your details please
First Name*
Second Name*
Enter
Answer all the questions
Q1. Which of the following is a server-side JavaScript object? (1 mark)
A. Date
B. FileUpload
C. File
D. Function
Q2. What are the different types of errors in JavaScript? (1 mark)
A. Load time errors
B. Run time errors
C. Logical errors
D. All of the above
Q3. What are the different types of Pop up boxes available in JavaScript? (1 mark)
A. Alert
B. Prompt
C. Confirm
D. All of the above
Q4. Which of the following JavaScript operator is used to assign a value to a variable based on some condition? (1 mark)
A. Assignment operator
B. Bitwise operator
C. Conditional operator
D. Logical operator
Q5. What was the original name of JavaScript when it discovered?(1 mark)
A. Livescript
B. Escript
C. Jscript
D. Mocha
Q6. Which of these is NOT a JavaScript function?
alert()
confirm()
prompt()
boolean
Q7. Which one of the following is not a keyword: (1 mark)
A. if
B. with
C. use strict
D. debugger
Q8. Which of these is a JavaScript library?
A. HTML
B. jQuery
C. CSS
D. Sass
Q9. JavaScript is the programming language of the?
A. Desktop
B. Mobile
C. Web
D. Server
Q10. Which one of the following is not a example of closures?(1 mark)
A. Graphics
B. Variables
C. Functions
D. Objects
Submit
Your score is: