JavaScript in HTML Test 1 Review

JavaScript in HTML Test 1 Review

12th Grade

45 Qs

quiz-placeholder

Similar activities

Networking - Practice Test #1

Networking - Practice Test #1

9th Grade - University

47 Qs

functions in python class 12  vaishali

functions in python class 12 vaishali

11th - 12th Grade

50 Qs

Basic Java with CodeHS

Basic Java with CodeHS

9th - 12th Grade

50 Qs

Intro to Mobile Apps:  Unit 1 Review

Intro to Mobile Apps: Unit 1 Review

9th - 12th Grade

40 Qs

Computer Science Pre-Assessment Quiz

Computer Science Pre-Assessment Quiz

9th - 12th Grade

40 Qs

Comptia Network+ chapter 1-3 exam

Comptia Network+ chapter 1-3 exam

11th Grade - University

45 Qs

Computer Fundamentals  - Study Quiz

Computer Fundamentals - Study Quiz

8th - 12th Grade

44 Qs

M4ออกแบบเทอม 2

M4ออกแบบเทอม 2

9th - 12th Grade

40 Qs

JavaScript in HTML Test 1 Review

JavaScript in HTML Test 1 Review

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Cynthia Harrison

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

45 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Imagine you're developing a website and you encounter an unexpected behavior. You decide to use the console. What would be the purpose of using the console?

A function that allows programmers to input values into a pop-up window.

A tag that allows programmers to write JavaScript code in HTML files.

A debugging tool created by Web Browsers.

A function that allows programmers to create a pop-up message.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You are a webpage developer and you are using the console.log() function. What does it do?

allows programmers to create a pop-up message.

allows programmers to input values into a pop-up window.

allows programmers to write JavaScript code in HTML files.

allows programmers to output messages to the console.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Define alert()?

A function that allows programmers to output messages to the console.

A function that allows programmers to input values into a pop-up window.

A debugging tool created by Web Browsers.

A function that allows programmers to create a pop-up message.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the prompt() function do?

A function that allows programmers to create a pop-up message.

A function that allows programmers to output messages to the console.

A debugging tool created by Web Browsers.

A function that allows programmers to input values into a pop-up window.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Document Object Model (DOM)?

A type of web browser

A programming interface that makes HTML files mutable by other programming languages

A database system

A web server

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'document' represent in the DOM?

A text file

A CSS stylesheet

Any web page loaded in the browser

A JavaScript function

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a 'Node' represent in the DOM tree?

A connection between web pages

A programming language

An attribute like text and style

An element with attributes like text and style

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?