Search Header Logo

Interactivity with JavaScript

Authored by Sandugash Sauletbekkyzy

Computers

University

Interactivity with JavaScript
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. Every valid web page can be represented as a tree. This tree is referred to as the

DOM

JavaScript

API

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. JavaScript uses what kind of interface to access the DOM structure?

an API

CSS3

HTML5

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. Which of the following is not a valid method for generating output to the screen?

alert

prompt

print

document.write

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4. Variables allow you to save data.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. What does mnemonic mean?

That variable names should help describe the value being stored.

That variable names should be as short as possible, preferably with no more than two or three characters.

That variable names should start with lowercase letters and use uppercase letters if the variable has multiple parts, e.g. firstName.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6. Boolean variables store either true or false.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7. When a function returns a node from the DOM, it is of type

Object

String

Boolean

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers