Javascript in Khan 1116

Javascript in Khan 1116

Assessment

Flashcard

Computers

10th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

21 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Which keyword is commonly used to declare a variable in JavaScript? Options: const, let, int, float, var

Back

var

2.

FLASHCARD QUESTION

Front

What does initializing a variable mean?

Back

Assigning a value to it

3.

FLASHCARD QUESTION

Front

Which of the following is the correct way to declare and initialize a variable to store the number 10? Options: int number = 10;, number = 10;, var number = 10;, float number = 10;, number 10;

Back

var number = 10;

4.

FLASHCARD QUESTION

Front

What is the output of the following code? `var value = 53; value = 75; console.log(value);`

Back

75

5.

FLASHCARD QUESTION

Front

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

Back

Boolean

6.

FLASHCARD QUESTION

Front

How are strings represented in JavaScript?

Back

like this "Alice"

7.

FLASHCARD QUESTION

Front

What type of value does the following variable hold? `var apple = "fruit";`

Back

String

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?