CodeHS: Unit 6 - JavaScript Basics

CodeHS: Unit 6 - JavaScript Basics

9th Grade

15 Qs

quiz-placeholder

Similar activities

Conditions

Conditions

8th - 10th Grade

16 Qs

UH 1 Semester 2

UH 1 Semester 2

9th Grade

20 Qs

Internet Safety Quiz

Internet Safety Quiz

9th - 12th Grade

15 Qs

Scratch (28th March)

Scratch (28th March)

KG - University

10 Qs

Quiz #2 ETEC 486 | Spr. 16

Quiz #2 ETEC 486 | Spr. 16

KG - University

10 Qs

Initial Assessment - Cybersecurity Awareness

Initial Assessment - Cybersecurity Awareness

9th Grade - Professional Development

10 Qs

Input Device

Input Device

9th - 10th Grade

16 Qs

CodeHS: Unit 6 - JavaScript Basics

CodeHS: Unit 6 - JavaScript Basics

Assessment

Quiz

Computers

9th Grade

Practice Problem

Medium

Created by

Teri Miles

Used 31+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the proper function to call to print to the screen?

write

console.log

print

log

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What keyword do you need to use to define a variable in JavaScript?

variable

let

int

x

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function do you need to call to ask the user of the program to enter text?

readLine

readln

text

console.log

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following code print to the screen?

console.log(2 + 2);

2 + 2

4

22

Nothing

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol do you use to do division in JavaScript?

%

/

//

*

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol do you use to do multiplication in JavaScript?

x

X

*

#

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A store has 20 apples in its inventory. How can you store this information in a JavaScript variable?

let numApples == 20;

20 = numApples;

let numApples = 20;

let num apples = 20;

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?

Discover more resources for Computers