JavaScript in HTML Test 1 Review

JavaScript in HTML Test 1 Review

12th Grade

45 Qs

quiz-placeholder

Similar activities

Chapter 2 – Hardware

Chapter 2 – Hardware

12th Grade

40 Qs

MS office 2016

MS office 2016

1st Grade - Professional Development

40 Qs

Computer Network

Computer Network

12th Grade - University

40 Qs

ICT in society

ICT in society

5th Grade - University

50 Qs

Software Design Models: Waterfall and Iterative

Software Design Models: Waterfall and Iterative

8th Grade - University

44 Qs

L3 Digital Technology (entry test)

L3 Digital Technology (entry test)

11th - 12th Grade

45 Qs

Unit 2 Creating Systems to Manage Information Quiz

Unit 2 Creating Systems to Manage Information Quiz

12th Grade

41 Qs

RPL Basisdata

RPL Basisdata

12th Grade

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

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?