js basics
Quiz
•
Computers
•
4th Grade - University
•
Practice Problem
•
Medium
Amany Ibrahim
Used 42+ times
FREE Resource
Enhance your content in a minute
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
PH SIMKMDIG KD 3.1 Menerapkan Logika dan Algoritma Komputer
Quiz
•
1st - 10th Grade
20 questions
1ºDAM/DAW - Entornos de Desarrollo - UD1-6 - Prof. C. Boni
Quiz
•
University - Professi...
14 questions
BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ
Quiz
•
6th Grade - University
20 questions
basisdata1
Quiz
•
University
15 questions
Компютърно моделиране - 4 клас
Quiz
•
4th Grade
20 questions
HTML QUIZ # 3
Quiz
•
10th Grade
20 questions
С++ циклы
Quiz
•
10th Grade
14 questions
Archivos Digitales
Quiz
•
9th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Company Logos
Quiz
•
6th - 8th Grade
13 questions
PowerPoint Basics
Quiz
•
6th - 8th Grade
10 questions
App Creators Lesson 2.1-2.4
Quiz
•
8th Grade
10 questions
Exploring Computer Science Careers and Subfields
Interactive video
•
6th - 10th Grade
15 questions
AP CSP Unit 4
Quiz
•
10th - 12th Grade
45 questions
Cybersecurity Quiz
Quiz
•
12th Grade
23 questions
Prog 1 Python Q1 Practice
Quiz
•
9th - 12th Grade
