JavaScript Basics Review

JavaScript Basics Review

7th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

UH 1 Teknologi wan

UH 1 Teknologi wan

12th Grade

20 Qs

Cyber Security Asessment

Cyber Security Asessment

8th Grade

15 Qs

Html - язык гипертекстовой разметки

Html - язык гипертекстовой разметки

10th Grade

20 Qs

HTML Quiz

HTML Quiz

11th Grade - University

15 Qs

Year 8 Lists

Year 8 Lists

8th Grade

20 Qs

User Interface Design - Topic 1

User Interface Design - Topic 1

12th Grade

15 Qs

PTS PWPB Kelas 11 Sem 1

PTS PWPB Kelas 11 Sem 1

11th Grade

21 Qs

Ulangan DDPPLG

Ulangan DDPPLG

10th Grade

20 Qs

JavaScript Basics Review

JavaScript Basics Review

Assessment

Quiz

Computers

7th - 12th Grade

Practice Problem

Hard

Created by

Joseph Maxwell

Used 85+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Where does JavaScript code go in an HTML document?

<script> tag

<html> tag

<style> tag

<button> tag

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How can a developer show a pop-up message to the user?

alert

prompt

console.log

<p> tag

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following will successfully display a message to the user?

Alert(Hello, user);

alert("Hello, " user);

Alert("Hello, user");

alert("Hello, user");

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following will successfully display a message to the user?

alert("hello, " + "user");

Alert("hello, " + user);

alert("hello", + "user");

alert("Hello, " + user";

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does this line of code do?

Declares AND sets a variable

Declares a variable

Sets a variable

Adds a value to a variable

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is NOT necessary when setting a variable?

variable name

equals sign

value to set the variable to

"var" keyword

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Which message will the user see?

"I think you want a Sword I think"

Depends what they answer

"you want a Sword I think"

"thinkingMessage + messageToShow + thinkingMessage"

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?