Search Header Logo

September 22

Authored by Brenda McLachlin

Computers

3rd - 12th Grade

Used 10+ times

September 22
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How many parameters can the fill function take?

1

2

3

4

all of the above

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does the second() function do?

Returns how many seconds it has been since the last real-world minute

Marks a variable as number 2 in a list

Counts how many seconds have passed since it was called

Causes the draw function to pause for one second

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the symbol in Javascript for NOT?

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

How many circles will this code draw?


for (var i = 0; i < 100; i += 10 {

ellipse(random(400), random(400), 50, 50);

}

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What are the last two parameters of the arc function?

starting angle, ending angle

x position, y position

width, height

roundness, transparency

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is a proper function definition?

var myFunction = function() {

myFunction = function() {

myFunction();

var myFunction() {

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Assume a = 2 and b = 4. What will they be at the end of this code?


a = a + b;

b = a - b;

a = a - b

a = 2, b = 4

a = 6, b = -2

a = 4, b = 2

a = 0, b = 4

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?