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
Similar Resources on Wayground
20 questions
prep2 lesson 1-2

Quiz
•
8th Grade
18 questions
SAINS KOMPUTER F5 BAB 3

Quiz
•
10th - 12th Grade
20 questions
HTML Assignment

Quiz
•
8th Grade
20 questions
IGCSE ICT Web Authoring M

Quiz
•
9th - 10th Grade
20 questions
HTML and CSS

Quiz
•
9th - 12th Grade
15 questions
SLO - FWPDD Test

Quiz
•
9th - 12th Grade
15 questions
Front-end

Quiz
•
University
20 questions
Web Vocab

Quiz
•
7th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
12 questions
3-5 Digital Citizenship: Appropriate Use

Quiz
•
3rd - 5th Grade
10 questions
Keyboard Typing

Quiz
•
4th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade