
SkillDojo <> JavaScript Mondays
Authored by prakarsh pathak
Instructional Technology
Professional Development
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
22 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following can't be done with
client-side JavaScript?
Validating a form
Sending a form's contents by email
Storing the form's contents to a database file on
the server
None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the structure of an
if statement?
if (conditional expression is true)
thenexecute this codeend if
if (conditional expression is true)execute this
codeend if
if (conditional expression is true)
{then execute this code>->}
if (conditional expression is true) then {execute
this code}
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to create a Date object in JavaScript?
dateObjectName = new Date([parameters])
dateObjectName.new Date([parameters])
dateObjectName := new Date([parameters])
dateObjectName Date([parameters])
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The _______ method of an Array object adds and/or
removes elements from an array.
Reverse
Shift
Slice
Splice
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To set up the window to capture all Click events,
we use which of the following statement?
window.captureEvents(Event.CLICK);
window.handleEvents (Event.CLICK);
window.routeEvents(Event.CLICK );
window.raiseEvents(Event.CLICK );
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a reserved word in
JavaScript?
interface
throws
program
short
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To automatically open the console when a JavaScript
error occurs which of the following is added to prefs.js?
user_pref("
javascript.console.open_on_error", false);
user_pref("javascript.console.open_error");
user_pref("javascript.console.open_error
", false);
user_pref("javascript.console.open_on_error",
true);
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?