SAIL JS- Quiz

SAIL JS- Quiz

Professional Development

15 Qs

quiz-placeholder

Similar activities

Day 5 - Callbacks and Promises

Day 5 - Callbacks and Promises

Professional Development

20 Qs

Javascript Assessment

Javascript Assessment

Professional Development

20 Qs

Nodejs: Templating with EJS

Nodejs: Templating with EJS

Professional Development

10 Qs

[FSW] PRE-Test Chapter 7

[FSW] PRE-Test Chapter 7

12th Grade - Professional Development

15 Qs

Moringa JavaScript Arrays

Moringa JavaScript Arrays

5th Grade - Professional Development

10 Qs

Day 3 - Dom Manipulation

Day 3 - Dom Manipulation

Professional Development

20 Qs

Day 4 - Advanced Topics

Day 4 - Advanced Topics

Professional Development

20 Qs

Adv Java Quiz TalentNext

Adv Java Quiz TalentNext

Professional Development

10 Qs

SAIL JS- Quiz

SAIL JS- Quiz

Assessment

Quiz

Professional Development

Professional Development

Medium

Created by

Adebayo Tolorunleke

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When a user views a page containing a JS program, which machine actually executes the script?

The user's machine running a Web browser

The web server

A central machine deep within Netscape's corporate offices

None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following can't be done with client-side JS?

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

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid JS variable name?

2names

_first_and_last_names

FirstAndLast

none of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_ tag is an extension to HTML that can enclose any number of JS statements.

<SCRIPT>

<BODY>

<HEAD>

<TITLE>

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct way to write a JS array?

var txt = new Array(1:"tim",2:"kim",3:"Jim")

var txt = new Array:1=("Tim")2=("Kim")3=("Jim")

var txt = new Array("tim","kim","Jim")

var txt = new Array = "tim","kim","Jim"

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If para1 is the DOM object for a paragraph, what is the correct syntax to change the text within the paragraph

"New Text"?

para1.value="New Text";

para1.firstChild.nodeValue= "Next Text";

para1.nodeValue="New Text";

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best describes JS?

a low-level programming language

a script language precompiled in the browser

a compiled scripting language

an object-oriented scripting language

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?