CodeHS: Unit 6 - JavaScript Basics

CodeHS: Unit 6 - JavaScript Basics

9th Grade

15 Qs

quiz-placeholder

Similar activities

Keyboard Quiz

Keyboard Quiz

9th Grade

20 Qs

Database Basics v2 N5

Database Basics v2 N5

1st - 12th Grade

20 Qs

Computer Organization - Part 1

Computer Organization - Part 1

9th Grade

20 Qs

Disk Management and Boot Sequence Vocab

Disk Management and Boot Sequence Vocab

9th - 12th Grade

15 Qs

Quiz 9 (15.09.2021)

Quiz 9 (15.09.2021)

1st - 12th Grade

10 Qs

Cascading Style Sheets

Cascading Style Sheets

8th - 12th Grade

11 Qs

Python Year 9 Quiz

Python Year 9 Quiz

8th - 10th Grade

19 Qs

Istilah-istilah Internet

Istilah-istilah Internet

9th Grade

10 Qs

CodeHS: Unit 6 - JavaScript Basics

CodeHS: Unit 6 - JavaScript Basics

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Teri Miles

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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?