js basics
Quiz
•
Computers
•
4th Grade - University
•
Medium
Amany Ibrahim
Used 42+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of the following symbols is used for JavaScript comments?
//
\\
*/ */
<!-- -->
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of variable is var typeOfApples="Fuji"
numeric
boolen
string
3.
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
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What surrounds an if/else statement?
Quotations " "
Curly Brackets { }
Parenthesis ( )
Square Brackets []
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What surrounds a string or words?
Quotations " "
Curly Brackets { }
Parenthesis ( )
Square Brackets []
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why do we use if/else statements in JavaScript?
To repeat something for a fixed number of times
To either do something if a condition is true or do something else
To break out of some block of code
To repeat something while a condition is true
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Indicates the beginning and the end of a JavaScript section.
<html> </html>
<style> </style>
<article> </article>
<script> </script>
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
DreamWeaver CS6
Quiz
•
University
15 questions
حاسب 2
Quiz
•
10th Grade
14 questions
Introduction to Networks
Quiz
•
6th - 8th Grade
20 questions
empowerment quiz2
Quiz
•
1st - 5th Grade
20 questions
ÔN TẬP HỌC KỲ 2 - TIN HỌC 8
Quiz
•
8th Grade
13 questions
CODING QUIZZ
Quiz
•
8th Grade
17 questions
ÔN TẬP CUỐI KỲ II TIN 8
Quiz
•
8th - 11th Grade
20 questions
C - Structures
Quiz
•
University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
