Languages - Javascript and Node

Quiz
•
Computers
•
1st - 12th Grade
•
Medium
Aka People
Used 5+ times
FREE Resource
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Apart from recently added Symbol and Big Int, Javascript primitive data types are:
string, number, undefined, null, boolean
string, number, boolean, object, array
string, number, boolean, object
string, number, null, boolean
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Variable assignment can be done with "let", "const" and "var".
You should use "var" instead of "let" or "const" when (mark all the options you consider to be true):
You want to ensure your code works on an old browser.
Never. We should never use "var".
You want to make sure a down-level scope of your code has access to its value.
You want to make sure you are able to change the variable value after the first assignment.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Refer to code on the image. On the console, it will appear:
true
false
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Refer to code on the image. On the console, it will appear:
true
false
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Refer to the code. Mark the correct answer.
This code will cause an error.
No error will occur because we are using "optional chaining" operator.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Refer to the code in the image. We are using "spread" operator to create "myCopy". Choose what will be the equivalent object as the result of the assignment of "myCopy".
7.
OPEN ENDED QUESTION
3 mins • 1 pt
We need to print to the console all integers from 0 to 10. Write here the code to it. Hint: using a "for loop" is an option.
Evaluate responses using AI:
OFF
Create a free account and access millions of resources
Similar Resources on Wayground
26 questions
AP CSP Unit 7: Parameters, Returns, and Libraries

Quiz
•
9th - 12th Grade
20 questions
JavaScript Level 1

Quiz
•
5th - 9th Grade
20 questions
AP CSA Midterm Concept Review 1

Quiz
•
12th Grade
16 questions
Python L1 Knowledge Check

Quiz
•
3rd Grade
20 questions
Conditionals Quiz

Quiz
•
9th - 12th Grade
24 questions
AGAD: UNIT 4_C# & UNITY

Quiz
•
9th - 12th Grade
19 questions
Programming Recap

Quiz
•
9th - 10th Grade
21 questions
Javascript Debugging Review

Quiz
•
9th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade