September 22

September 22

3rd - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Quarter 3 Final Exam: Functions and Parameters

Quarter 3 Final Exam: Functions and Parameters

9th - 12th Grade

20 Qs

Cumulative Test Practice Units 1, 3, 4, 5, & 7

Cumulative Test Practice Units 1, 3, 4, 5, & 7

9th - 12th Grade

17 Qs

JavaScript Game Development Newton

JavaScript Game Development Newton

9th Grade - University

20 Qs

CodeHS Concepts of Programming JavaScript

CodeHS Concepts of Programming JavaScript

9th - 12th Grade

15 Qs

CPA Practice 9-21-2021

CPA Practice 9-21-2021

9th - 12th Grade

18 Qs

More JavaScript Basics

More JavaScript Basics

9th - 12th Grade

15 Qs

P5.js Exam 1

P5.js Exam 1

9th - 12th Grade

21 Qs

September 22

September 22

Assessment

Quiz

Computers

3rd - 12th Grade

Medium

Created by

Brenda McLachlin

Used 10+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?