Select the proper way to create an object prototype:

MEGAQUIZ 2

Quiz
•
Computers
•
3rd - 12th Grade
•
Medium
Brenda McLachlin
Used 8+ times
FREE Resource
60 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
var obj = function() {
var obj = {
var obj {
var obj = new Object();
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these colours is light purple?
color(28, 248, 36)
color(215, 175, 250)
color(13, 21, 255)
color(13, 21, 255)
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these rectangles will appear at the bottom of the screen?
rect(0, 330, 410, 80)
rect(410, 330, 0, 80);
rect(80, 410, 330, 0)
rect(330, 80, 0, 410);
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these ellipses should be placed first so we can see both of them?
a. ellipse(250, 250 ,140, 120);
b. ellipse(250, 250, 150, 150);
a
b
It doesn't matter
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these rects should be placed first so we can see both of them?
a. rect(125, 150, 150, 200, 30);
b. rect(135, 160, 130, 20, 150);
a
b
It doesn't matter
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What should I use to make a change to every object in an array?
For loop
Switch case
If statement
Random function
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do I access position i in an array?
array[i]
array.i
array(i)
array === i
Create a free account and access millions of resources
Similar Resources on Quizizz
63 questions
AQA Computer Science [AS Level]

Quiz
•
12th Grade
62 questions
Data Structures Revision

Quiz
•
12th Grade
55 questions
UTS ASJ SEMESTER GANJIL 2023/2024

Quiz
•
12th Grade
63 questions
SmallBasic and flowcharts

Quiz
•
9th - 12th Grade
55 questions
tin 11 ôn giữa kì 2

Quiz
•
11th Grade
62 questions
Computer Science - Programming PLC

Quiz
•
11th Grade
60 questions
สรุปบทเรียน การเขียนโปรแกรมเชิงวัตถุเบื้องต้น 1

Quiz
•
12th Grade
55 questions
2024 Final Exam Review PFGT

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade