
Javascript in Khan 1116
Flashcard
•
Computers
•
10th Grade
•
Practice Problem
•
Medium
Wayground Content
Used 3+ times
FREE Resource
Student preview

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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?