Search Header Logo

Javascript basics

Authored by Kathy Jones

Computers, Professional Development

Professional Development

Used 43+ times

Javascript basics
AI

AI Actions

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 type of variable is expressed as true/false?

String

Boolean

Number

Conditional

2.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

A variable can be declared with keyword (a)  

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What operator can be used with both strings and numbers?

"-"

"/"

"+"

"*"

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 12 % 512\ \%\ 5  ?

2

17

60

7

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of these is NOT a valid string?

Hello

"work4$"

"Hello, world!"

"dude'

6.

OPEN ENDED QUESTION

3 mins • Ungraded

What is the difference between loose equality (==) and strict equality (===)?

Evaluate responses using AI:

OFF

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be logged to the console here? --

var concatted = 5 + 7 + "hello" + 5 + 12

57hello512

12hello17

12hello512

57hello17

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

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

Already have an account?