JavaScript and HTML review

JavaScript and HTML review

8th - 10th Grade

20 Qs

quiz-placeholder

Similar activities

Lesson 8: Working with HTML

Lesson 8: Working with HTML

9th Grade

20 Qs

Programming: Which Loop?

Programming: Which Loop?

9th - 12th Grade

20 Qs

Microsoft Access

Microsoft Access

9th Grade

20 Qs

Greenfoot

Greenfoot

10th - 12th Grade

17 Qs

QUIZ BAB 4: SISTEM OPERASI

QUIZ BAB 4: SISTEM OPERASI

8th Grade - University

20 Qs

Python

Python

8th - 9th Grade

15 Qs

UH Informatika Bab.VI

UH Informatika Bab.VI

8th Grade

20 Qs

LEDs on micro:bit

LEDs on micro:bit

8th Grade

15 Qs

JavaScript and HTML review

JavaScript and HTML review

Assessment

Quiz

Computers

8th - 10th Grade

Medium

Created by

Frances Good

Used 9+ 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

30 sec • 1 pt

In JavaScript, what symbol is used to indicate the end of a statement?

* asterisk symbol

# hash tag symbol

: colon symbol

; semicolon symbol

2.

MULTIPLE CHOICE QUESTION

30 sec • 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

JavaScript uses the _______ keyword to define variables.

vrb
var
vari
va

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable

Store values in containers so we can use them later.

Store values in containers so we can use them never.

Store values in containers so we can use them once.

Store values in containers so we can't use them later.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What best describes the function of a for loop?

it loops through a block of code for a finite amount of times
it looks for a loop in a block of code
it loops through code only within a function
it loops through a block of code forever

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following code will:
x++;

Add 1 to the previous value of x
Add 1 to the previous value of y
Subtract 1 from the previous value of x
Give an error message

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Repeat something 10 times

repeat 10

for (var i=0; i<10; i++)

repeat { } until 10;

while (i = 10)

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?