SAIL JS- Quiz

SAIL JS- Quiz

Professional Development

15 Qs

quiz-placeholder

Similar activities

Typescript Basics

Typescript Basics

Professional Development

20 Qs

Basic Web Development

Basic Web Development

Professional Development

12 Qs

Quiz on Angular JS

Quiz on Angular JS

Professional Development

10 Qs

Zendesk Dev

Zendesk Dev

Professional Development

12 Qs

Web Technology Series 2

Web Technology Series 2

Professional Development

20 Qs

HTML5

HTML5

Professional Development

12 Qs

Révision HTML, CSS et JavaScript

Révision HTML, CSS et JavaScript

Professional Development

20 Qs

JavaScript Dr LJK

JavaScript Dr LJK

Professional Development

18 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?