JavaScript and HTML review

JavaScript and HTML review

8th - 10th Grade

20 Qs

quiz-placeholder

Similar activities

Excel-lent Quiz

Excel-lent Quiz

10th Grade

15 Qs

Programming

Programming

10th Grade

15 Qs

Linux-2 Quiz 2 -- LAMP

Linux-2 Quiz 2 -- LAMP

1st - 12th Grade

15 Qs

End of year quiz: Spreadsheet Modelling

End of year quiz: Spreadsheet Modelling

8th Grade

20 Qs

Excel

Excel

10th - 12th Grade

15 Qs

LA1.C1: Introduction to Small Basic

LA1.C1: Introduction to Small Basic

9th Grade

15 Qs

Unit 8 Practice Test For CSP

Unit 8 Practice Test For CSP

9th Grade

16 Qs

AI Checkpoint 1 Revision

AI Checkpoint 1 Revision

9th - 12th Grade

16 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)

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?