CodeHS: Unit 6 - JavaScript Basics

CodeHS: Unit 6 - JavaScript Basics

9th Grade

15 Qs

quiz-placeholder

Similar activities

Week 3 Summative

Week 3 Summative

7th - 10th Grade

15 Qs

Computing figures

Computing figures

4th - 12th Grade

14 Qs

Online Databases vs. Search Engines

Online Databases vs. Search Engines

6th - 10th Grade

10 Qs

Symbols & Num. Keypad

Symbols & Num. Keypad

1st - 12th Grade

10 Qs

Internet

Internet

7th - 10th Grade

10 Qs

S3 Web Technologies

S3 Web Technologies

9th Grade

10 Qs

Tech Trivia, Part III

Tech Trivia, Part III

7th - 12th Grade

20 Qs

Grade 9 Quiz # 1 Q2

Grade 9 Quiz # 1 Q2

9th Grade

20 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;

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?