
JavaScript Fundamentals
Authored by Hana Morsi
Computers
8th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword is used to declare a variable in JavaScript?
var
const
let
function
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the primitive data types in JavaScript?
string, number, boolean, null, undefined, symbol
integer
array
object
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the operator used for assigning a value to a variable in JavaScript?
=
+
*
/
4.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
How do you define a function in JavaScript?
function functionName(parameters) { // function body }
function functionName(parameters) { // code here }
function functionName(parameters) { // implementation }
function functionName(parameters) { // function body }
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword is used for creating conditional statements in JavaScript?
if
switch
else
for
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which loop is used when you want to execute a block of code a specific number of times in JavaScript?
for
switch
while
if
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the different data structures available in JavaScript?
trees
graphs
arrays, objects, sets, maps, stacks, queues, linked lists
heaps
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
20 questions
LATIHAN SOAL PRAKARYA 9
Quiz
•
1st - 12th Grade
20 questions
運算思維2016/2015
Quiz
•
7th - 9th Grade
15 questions
Programming - What Do I Know?
Quiz
•
7th - 9th Grade
15 questions
LEDs on micro:bit
Quiz
•
8th Grade
17 questions
PHP MySQL
Quiz
•
7th Grade - Professio...
18 questions
Roblox. 1 модуль. Итоговый тест
Quiz
•
3rd - 10th Grade
16 questions
algorithms and programming
Quiz
•
8th - 10th Grade
20 questions
CSD Unit 3 - Week 1 (L1-L5)
Quiz
•
7th - 8th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade