Javascript Basics

Quiz
•
Computers
•
9th - 10th Grade
•
Medium
Stefanos Zisidis
Used 93+ times
FREE Resource
Student preview

25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do I declare a new variable?
var newVariable = 5
Variable int = new Variable()
var 5 = myVariable
int var = 5
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What type of variable is
var typeOfApples="Fuji"
Boolean
Number
String
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What character do we use for multiplication?
#
x
*
/
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which one of the following symbols is used for JavaScript comments?
\\
^
?
//
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which message will the user see?
"Hello user"
No message
"Goodbye user"
"message + user"
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What surrounds an if/else statement?
Quotations " "
Curly Brackets { }
Parenthesis ( )
Square Brackets [ ]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What surrounds a string or words?
Quotations / Citations " "
Curly Brackets / Accolades { }
Parenthesis / Parenthèse
Square Brackets / Crochets [ ]
Create a free account and access millions of resources
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade