JavaScript_G9_Quiz

Quiz
•
Other
•
9th Grade
•
Hard
Athasia Bie
Used 5+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
It's a complex programming language that creates dynamic programming.
HTML
Python
JavaScript
CSS
Answer explanation
JavaScript is a complex programming language specifically designed for creating dynamic content on websites, making it the correct choice. HTML and CSS are markup and styling languages, while Python is a general-purpose programming language.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a data type in JavaScript that represents a value that cannot be altered?
Mutable
Reference
Primitive
Composite
Answer explanation
In JavaScript, 'primitive' data types (like numbers, strings, and booleans) are immutable, meaning their values cannot be changed once created. This distinguishes them from 'non-primitive' types, such as objects, which can be modified.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used in JavaScript to declare a variable that cannot be reassigned?
const
let
var
final
Answer explanation
In JavaScript, 'let' is used to declare variables that can be reassigned. Unlike 'const', which is for constants, and 'var', which has function scope, 'let' provides block scope and allows for reassignment.
4.
FILL IN THE BLANK QUESTION
20 sec • 1 pt
const greeting= "good morning";
What could be the mistakes in the code if it shows error in the result?
Answer explanation
Excessive spacing
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
keywords such as if, switch, and for, spaces are usually added before and after the__________?
Ex. if 10<8
Indention
Whietspace
semi colon
Parentheses
Answer explanation
In programming, keywords like 'if', 'switch', and 'for' typically have spaces added before and after their parentheses. This improves readability and helps distinguish the condition from the keyword itself.
6.
FILL IN THE BLANK QUESTION
20 sec • 1 pt
A fundamental data type that can hold one of two possible values: true or false.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
During a group project, Charlotte noticed that one of the team members was not contributing anything to the discussion. When asked about their input, they simply stated that they had nothing to add. What does this indicate about their involvement?
Undefined
Error
None
Create a free account and access millions of resources
Similar Resources on Wayground
21 questions
UAE Switch Gathering

Quiz
•
1st Grade - Professio...
22 questions
LOGOS

Quiz
•
KG - 12th Grade
15 questions
Broadcast Basics Quiz

Quiz
•
6th Grade - University
20 questions
Intro to JavaScript

Quiz
•
9th - 12th Grade
16 questions
FFA Basics

Quiz
•
6th - 12th Grade
20 questions
UH Teknologi Layanan jaringan Kelas 12 smt 2

Quiz
•
1st Grade - University
16 questions
Google Classroom

Quiz
•
9th - 12th Grade
20 questions
Employability Skills

Quiz
•
9th - 12th 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 Other
10 questions
Video Games

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

Interactive video
•
6th - 10th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
20 questions
Biomolecules

Quiz
•
9th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade