
JavaScript Fundamentals

Quiz
•
Computers
•
8th Grade
•
Medium
Hana Morsi
Used 4+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Scratch

Quiz
•
5th - 9th Grade
15 questions
Computer Coding Quiz

Quiz
•
2nd - 8th Grade
20 questions
StVirgils Code Combat quiz

Quiz
•
8th Grade
16 questions
micro:bit

Quiz
•
7th - 9th Grade
16 questions
Scratch Coding Basic Vocabulary

Quiz
•
6th - 8th Grade
20 questions
Scratch Year 7 End of Unit Quiz

Quiz
•
7th - 8th Grade
15 questions
Exploring LEGO Spike Robotics Programming

Quiz
•
8th Grade - University
16 questions
Scratch Loops and patterns

Quiz
•
7th - 9th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade
25 questions
How to Email a Teacher- https://youtu.be/NioeNhfpVfI

Quiz
•
6th - 8th Grade
20 questions
Computer Hardware

Quiz
•
6th - 8th Grade
21 questions
Gear Ratio Practice

Quiz
•
6th - 8th Grade