Grade 10: 4th Quarter-Quiz No. 2
Quiz by Donnalyn Mercado
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
- Q1
What term refers to actions that are triggered either by mouse click, function calls, keyboard strokes or laoding of an image?
events
functions
pop up
variables
30s - Q2
What term refers to is a block of code designed to perform aparticular task?
events
functions
pop up
variables
30s - Q3
The values received by the function when it is invoked is called____________.
arguments
events
objects
parameters
30s - Q4
The code that are not added inside the<script> tags, but rather, inside the html tags, that execute JavaScriptwhen something happens is called _______________
arguments
events
eventHandlers
variables
30s - Q5
what is the eventHandler to be used when a keyboard key is pressed?
onfocus
onkeydown
onkeypress
onkeyup
30s - Q6
What is the eventHandler to be used when the mouse is moved off an element?
onmousedown
onmousemove
onmouseout
onmouseover
30s - Q7
Write the EventHandler attribute used to validate allfields in the form before submitting it.
Users enter free textType an Answer30s - Q8
This is usually used to connect you to another web page or to trigger an event call.
Users enter free textType an Answer30s - Q9
A pop up box that is used when you want to make sure that theuser reads your message such as warning or a greeting.
alert box
confirm box
hint box
prompt box
30s - Q10
Which type of pop-up box is often used if you want the user toverify or accept something?
alert box
confirm box
hint box
prompt box
30s - Q11
What pop-up box is often used if you want the user to input a value before entering a page?
alert box
confirm box
hint box
prompt box
30s - Q12
What is missing in the following syntax: window._________(“message","defaultText");
alert
confirm
hint
prompt
30s - Q13
JavaScript works just like Java. They arethe same.
falsetrueTrue or False30s - Q14
JavaScript was designed to add interactivity and functionality to a website.
truefalseTrue or False30s - Q15
What is the correct JavaScript syntax to write “Hello World”?
document.write(“Hello World”);
window.write:“Hello World”
window.write(“Hello World”)
response.write(Hello World”)
30s