CodeHS: Unit 6 - JavaScript Basics

CodeHS: Unit 6 - JavaScript Basics

9th Grade

15 Qs

quiz-placeholder

Similar activities

JavaScript Bootcamp

JavaScript Bootcamp

9th - 12th Grade

15 Qs

Code HS JavaScript Graphics

Code HS JavaScript Graphics

9th - 12th Grade

15 Qs

Quiz Javascript Basic Pertemuan 3

Quiz Javascript Basic Pertemuan 3

9th - 12th Grade

10 Qs

JavaScript Programming

JavaScript Programming

9th - 12th Grade

12 Qs

JavaScript and Graphics

JavaScript and Graphics

9th - 12th Grade

15 Qs

Basic JavaScript Review

Basic JavaScript Review

9th - 12th Grade

20 Qs

Javascript Basics

Javascript Basics

9th - 12th Grade

16 Qs

JavaScript

JavaScript

9th - 12th Grade

15 Qs

CodeHS: Unit 6 - JavaScript Basics

CodeHS: Unit 6 - JavaScript Basics

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Teri Miles

Used 27+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?