
MEGAQUIZ 2
Authored by Brenda McLachlin
Computers
3rd - 12th Grade
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
60 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Select the proper way to create an object prototype:
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
Access all questions and much more by creating a free account
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?