Which one of the following symbols is used for JavaScript comments?
js basics

Quiz
•
Computers
•
4th Grade - University
•
Medium
Amany Ibrahim
Used 40+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
//
\\
*/ */
<!-- -->
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
Similar Resources on Quizizz
15 questions
Grade 6- Module 1(HTML, CSS and JS)

Quiz
•
6th Grade
15 questions
HTML

Quiz
•
9th - 12th Grade
20 questions
HTML

Quiz
•
KG - University
20 questions
HTML5 Basics

Quiz
•
6th - 12th Grade
15 questions
HTML and CSS

Quiz
•
7th - 8th Grade
20 questions
EXAMEN DAND-JS 2P

Quiz
•
University
20 questions
HTML Tags

Quiz
•
6th - 8th Grade
18 questions
Intro to HTML

Quiz
•
7th - 8th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
12 questions
Dividing Fractions

Quiz
•
6th Grade
9 questions
1. Types of Energy

Quiz
•
6th Grade