
Javascript in Khan 1116
Authored by Wayground Content
Computers
10th Grade
Used 51+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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 Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
JAVA FUNDAMENTALS
Quiz
•
9th - 12th Grade
15 questions
APCSP Semester 1 Review
Quiz
•
10th Grade
15 questions
Algorithms
Quiz
•
7th - 10th Grade
15 questions
Conditionals Unit Quiz
Quiz
•
9th Grade - University
20 questions
Arrays in Java
Quiz
•
9th - 12th Grade
18 questions
Banana Tales Part 1 - For loop & Range
Quiz
•
9th - 10th Grade
15 questions
Начала программирования на языке Паскаль
Quiz
•
8th - 11th Grade
19 questions
Python Year 9 Quiz
Quiz
•
8th - 10th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade