Week 3.2

Week 3.2

Professional Development

10 Qs

quiz-placeholder

Similar activities

Inheritance

Inheritance

Professional Development

10 Qs

JS

JS

Professional Development

15 Qs

Hour of Code

Hour of Code

4th Grade - Professional Development

13 Qs

DOT NET-SET1

DOT NET-SET1

Professional Development

15 Qs

coding

coding

KG - Professional Development

15 Qs

Java Chapter 1 Review Questions

Java Chapter 1 Review Questions

Professional Development

13 Qs

Review multiple choice Quiz

Review multiple choice Quiz

KG - Professional Development

10 Qs

Android Application

Android Application

Professional Development

10 Qs

Week 3.2

Week 3.2

Assessment

Quiz

Computers

Professional Development

Easy

Created by

Poul Nichols

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Document Object Model (DOM)?

A way of representing the structure and content of a web document using objects

A web browser

A programming language

A database

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What programming language are we using in class to manipulate the DOM?

Python

Ruby

JavaScript

PHP

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does a programmer turn pseudocode into a working program?

By copying and pasting the pseudocode into a text editor

By translating each pseudocode instruction into JavaScript code

By running the pseudocode through a compiler

By using a pseudocode-to-code conversion tool

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol is used for logical equality in JavaScript?

=

==

!=

/=

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between "=" and "==" in JavaScript?

"=" is an assignment operator, while "==" is a comparison operator.

"=" is a comparison operator, while "==" is an assignment operator.

Both "=" and "==" are comparison operators.

Both "=" and "==" are assignment operators.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax for an "if" statement in JavaScript?

if {condition} then {code to execute}

if (condition) {code to execute}

if [condition] {code to execute}

if {code to execute} (condition)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following code snippets contains an error in the "if" statement logic test?

if (x > 5) {alert("x is greater than 5");}

if (x < 5) {alert("x is less than 5");}

if (x = 5) {alert("x is equal to 5");}

if (x == 5) {alert("x is equal to 5");}

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?