Interactivity with JavaScript

Interactivity with JavaScript

University

15 Qs

quiz-placeholder

Similar activities

JavaScript

JavaScript

University

11 Qs

Lecture 3 - IT 1020SEF

Lecture 3 - IT 1020SEF

University

10 Qs

Web JavaScript

Web JavaScript

10th Grade - University

15 Qs

NoSQL

NoSQL

University

11 Qs

Comparing Python, Java, and JavaScript

Comparing Python, Java, and JavaScript

9th Grade - University

15 Qs

JavaScript

JavaScript

University

19 Qs

JavaScript Basics (2)

JavaScript Basics (2)

University

20 Qs

Interactivity with JavaScript

Interactivity with JavaScript

Assessment

Quiz

Computers

University

Hard

Created by

Sandugash Sauletbekkyzy

FREE Resource

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

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?