JavaScript in HTML Test 1 Review

JavaScript in HTML Test 1 Review

12th Grade

45 Qs

quiz-placeholder

Similar activities

C Programming Midterm Review

C Programming Midterm Review

11th - 12th Grade

40 Qs

TryOut Ujian Sekolah Pengetahuan - TIK SMP N 1 JEPARA

TryOut Ujian Sekolah Pengetahuan - TIK SMP N 1 JEPARA

12th Grade

45 Qs

Computer Apps Final Exam Review

Computer Apps Final Exam Review

9th - 12th Grade

40 Qs

Movies

Movies

2nd Grade - Professional Development

44 Qs

Information Technology

Information Technology

12th Grade

50 Qs

Emptech Summative Exam L-3-4-5

Emptech Summative Exam L-3-4-5

12th Grade

40 Qs

Exam revision

Exam revision

1st - 12th Grade

47 Qs

Algoritmika 1.

Algoritmika 1.

10th Grade - University

50 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

Create a free account and access millions of resources

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?