Javascript in Khan 1116

Javascript in Khan 1116

10th Grade

20 Qs

quiz-placeholder

Similar activities

Logic Practice

Logic Practice

Characteristics of Quadratic Functions

Characteristics of Quadratic Functions

TEKS.MATH.9-12.III.A.3

TEKS.MATH.9-12.III.A.3

Integer Addition and Subtraction

Integer Addition and Subtraction

TEKS.MATH.9-12.III.A.3

TEKS.MATH.9-12.III.A.3

CCSS.Math.Content.8.G.A.5

CCSS.Math.Content.8.G.A.5

NGSS.MS-PS2-5

NGSS.MS-PS2-5

CCSS.Math.Content.3.OA.C.7

CCSS.Math.Content.3.OA.C.7

Javascript in Khan 1116

Javascript in Khan 1116

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Wayground Content

Used 51+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid variable name in JavaScript?

myVariable

123Variable

$variable

var

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How are strings represented in JavaScript?

like this "Alice"

Without quotes

Using special characters

Using numbers

All of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does initializing a variable mean?

Naming it

Assigning a value to it

Creating a box for it

Naming and assigning a value to it

Deleting it

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to assign a value to a variable in JavaScript?

x = 5;

5 = x;

x == 5;

x := 5;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct way to declare and initialize a variable to store the number 10?

int number = 10;

number = 10;

var number = 10;

float number = 10;

number 10;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol is most likely to appear in a JavaScript program?

; (semicolon)

= (equals)

" (quote)

, (comma)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of variable is used to hold true or false values?

String

Integer

Char

Float

Boolean

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

Already have an account?