Mad Lib 1

Mad Lib 1

3rd - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Processing 1

Processing 1

7th Grade

10 Qs

IP Addressing

IP Addressing

10th Grade - Professional Development

15 Qs

VLAN

VLAN

11th Grade

10 Qs

Representation 2

Representation 2

8th - 9th Grade

20 Qs

JavaScript

JavaScript

7th - 8th Grade

15 Qs

Khan Academy Javascript

Khan Academy Javascript

5th Grade

11 Qs

Administrasi Sistem jaringan KD1

Administrasi Sistem jaringan KD1

1st - 10th Grade

20 Qs

Subnetting

Subnetting

10th Grade - Professional Development

15 Qs

Mad Lib 1

Mad Lib 1

Assessment

Quiz

Computers

3rd - 12th Grade

Easy

Created by

Brenda McLachlin

Used 2+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

What should you add to your code to make it constantly refresh?

draw function

for loop

mousePressed

mouseX or mouseY

2.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

Select the line of code that will make a black background:

fill(255)

fill(0, 0, 0)

background(0)

background(255, 255, 255)

stroke(100)

3.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

Select the line of code that will colour shapes white:

fill(255)

fill(0, 0, 0)

background(0)

background(255, 255, 255)

stroke(100)

4.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

Which line of code will make a tall rectangle with rounded corners?

rect(125, 30, 150, 350, 80);

rect(125, 30, 350, 150, 80);

rect(30, 125, 150, 350);

rect(30, 125, 350, 150);

5.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

Put these three lines of code in order so the circle will be black and everything after it will be white:


A. ellipse(200, 200, 50, 50) B. fill(0); C. fill(255);

A, B, C

C, A, B

B, A, C

C, B, A

6.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

Which coordinates can I put ellipses at to make a good set of eyes?

(170, 100), (230, 100)

(200, 320), (200, 80)

(150, 30), (152, 32)

(100, 100), (200, 200)

7.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

I want my for loop to start at 0 and repeat 4 times. Which for loop will do that?

for (var i = 0; i <= 4; i++) {

for (var i = 0; i < 4; i+=4) {

for (var i = 0; i > 4; i++) {

for (var i = 0; i < 4; i++) {

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?