
Week 8.1
Quiz
•
Computers
•
Professional Development
•
Medium
Poul Nichols
Used 1+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you declare an empty array in JavaScript?
var snacks = "";
var snacks = {};
var snacks = [];
var snacks = null;
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which index number is assigned to the first element of an array?
0
1
-1
+1
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the result of the following code snippet?
var snacks = ["chips", "soda", "dip"];
document.write(snacks[1]);
chips
soda
dip
4.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which method can be used to display all the elements of an array with commas between them?
Choose 2
toString()
join()
display()
print()
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What keyword is used to instantiate an object based on a constructor?
new
create
instance
make
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In the given example, what are the parameters of the Cat constructor?
function Cat(name, weight, paidYet) {
this.name = name;
this.weight = weight;
this.isLicensed = paidYet; }
this.name, this.weight, this.isLicensed
catName,
catWeight,
catPaidYet
Catname,
Catweight,
Catpaidyet
name,
weight,
paidYet
7.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which of the following is a valid way to create an object in JavaScript?
Choose 3
var object1 = Object.create(obj);
var object = {key : value}
var object = new Object();
function Object(name, age)
{ this.name = name;
this.age = age; }
Create a free account and access millions of resources
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
10 questions
2. Operator, Standard input
Quiz
•
Professional Development
10 questions
Introduction to AI - Healthcare & Business
Quiz
•
University - Professi...
15 questions
SEC+ Ch.8 Review Test
Quiz
•
Professional Development
12 questions
Flutter Basics
Quiz
•
Professional Development
7 questions
Review Class 11
Quiz
•
Professional Development
10 questions
CEH Pre Assessment
Quiz
•
Professional Development
8 questions
Windows Updates
Quiz
•
9th Grade - Professio...
10 questions
PDS - 04225 Pointers & Dynamic Arrays - Chapter 8
Quiz
•
University - Professi...
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
25 questions
Christmas Movies
Quiz
•
Professional Development
20 questions
Christmas Trivia
Quiz
•
Professional Development
15 questions
Fun Holiday Trivia
Quiz
•
Professional Development
25 questions
Name That Tune - Christmas
Quiz
•
Professional Development
29 questions
Christmas Song Emoji Pictionary
Quiz
•
Professional Development
9 questions
Holiday Movie Trivia
Lesson
•
Professional Development
34 questions
Winter Trivia
Quiz
•
Professional Development
