CodeHS: Unit6 - JavaScript Basics

CodeHS: Unit6 - JavaScript Basics

Assessment

Flashcard

Computers

9th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

14 questions

Show all answers

1.

FLASHCARD QUESTION

Front

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

Back

console.log

2.

FLASHCARD QUESTION

Front

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

Back

let

3.

FLASHCARD QUESTION

Front

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

Back

readLine

4.

FLASHCARD QUESTION

Front

To ask the user of the program for a number, which function should you use? Options: readLine, readInt, readFloat, Both readInt and readFloat are for numbers.

Back

Both readInt and readFloat are for numbers.

5.

FLASHCARD QUESTION

Front

What will the following code print to the screen?
console.log(2 + 2);

Back

4

6.

FLASHCARD QUESTION

Front

What symbol do you use to do division in JavaScript?

Back

/

7.

FLASHCARD QUESTION

Front

What symbol do you use to do multiplication in JavaScript?

Back

*

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?