Search Header Logo

Khan Academy JS2

Authored by Riley Neave

Computers

Professional Development

Used 2+ times

Khan Academy JS2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The body of a function definition is contained within a set of ______________.

parentheses

curly braces

rectangle brackets

angle brackets

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In JavaScript, you should include a semi-colon at the end of each statement.

yes
no

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Perform the operation on operands of different data types given that a = 4 , b = happy , c= people, d = 9 , e = memories


Solve: b + c

happy people

people happy

happy memories

happy plus

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What surrounds a string?

Quotations
Curly Brackets
Parenthesis
Square Brackets

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the data type of the following variable?

streetNumber = "56"

String

Number

Integer

Character

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Determine what result each expression yields if it is True or False. Given that x= 8 and y= 16.


!(x=8)

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command colors the background of your canvas?

background 
endShape
var = color
fill

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?