JavaScript Basics & CodeHS Review

JavaScript Basics & CodeHS Review

10th Grade

18 Qs

quiz-placeholder

Similar activities

Accessing the Internet

Accessing the Internet

9th - 10th Grade

15 Qs

Data Manipulation IGCSE (Introduction to database) Grade 10

Data Manipulation IGCSE (Introduction to database) Grade 10

10th - 11th Grade

20 Qs

CHỦ ĐỀ A. MÁY TÍNH VÀ XÃ HỘI TRÍ THỨC P1

CHỦ ĐỀ A. MÁY TÍNH VÀ XÃ HỘI TRÍ THỨC P1

10th Grade

20 Qs

Yr 11 ICT quiz 1 Networks & Security

Yr 11 ICT quiz 1 Networks & Security

10th - 11th Grade

20 Qs

SHEET QUIZ

SHEET QUIZ

9th - 12th Grade

15 Qs

CIW

CIW

9th - 12th Grade

15 Qs

Microsoft Excel

Microsoft Excel

KG - Professional Development

20 Qs

CSS 10 - QUIZ

CSS 10 - QUIZ

10th Grade

20 Qs

JavaScript Basics & CodeHS Review

JavaScript Basics & CodeHS Review

Assessment

Quiz

Computers

10th Grade

Practice Problem

Easy

Created by

PATRICIA LAMMERT

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

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

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct function to print text to the screen in JavaScript?

write

console.log

print

log

console.print

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What keyword is used to define a variable in JavaScript?

variable

let

int

x

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a properly styled and valid JavaScript variable name?

user_age

UserAge

userAge

User age

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

2 + 2

4

22

Nothing

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol is used for multiplication in JavaScript?

x

*

#

X

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol is used for division in JavaScript?

%

/

//

*

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function asks the user for text input?

readLine

readln

text

console.log

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?

Discover more resources for Computers