8.QZ - Fish Tank Starter Code Review

8.QZ - Fish Tank Starter Code Review

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Cmu Cs Academy Unit Two Variables

Cmu Cs Academy Unit Two Variables

9th Grade

11 Qs

Cmu Cs Academy Unit 2

Cmu Cs Academy Unit 2

9th Grade

11 Qs

G8_Graphics Window_Drawing Lines

G8_Graphics Window_Drawing Lines

7th - 9th Grade

15 Qs

Basic Python

Basic Python

10th - 12th Grade

20 Qs

Java If/else/ switch

Java If/else/ switch

9th - 12th Grade

20 Qs

p5.js Week1 PREtest

p5.js Week1 PREtest

7th - 12th Grade

14 Qs

Small Basic

Small Basic

7th - 9th Grade

17 Qs

matplotlib

matplotlib

10th Grade

10 Qs

8.QZ - Fish Tank Starter Code Review

8.QZ - Fish Tank Starter Code Review

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Jocelyn Hall

Used 6+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many Stored Procedures are in this code?

1

2

3

4

Answer explanation

Media Image

A Stored Procedure never needs to be called in the program.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many Custom Functions are in this code?

1

2

3

4

Answer explanation

Media Image

A Custom Function needs to be called.

The only Custom Function in this program is drawFish.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is an example of a function call?

Line 6

Line 1

Line 21 - 25

Line 20

Answer explanation

Media Image

There are two function calls in this code.

Line 6 & Line 7

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is an example of a function definition?

Line 6

Line 1

Line 21 - 25

Line 20

Answer explanation

Media Image

The function definition contains what will happen when the function is called.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is an example of a Stored Procedure in this code?

setup

drawFish

size()

fishColor

Answer explanation

Media Image

A Stored Procedure never needs to be called.


There are three Stored Procedures in this code:

setup

draw

mouseClicked

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many parameters does drawFish have?

0

1

2

3

Answer explanation

Media Image

The Custom Function drawFish has three parameters

fishX

fishY

fishColor

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many times is drawFish called?

0

1

2

3

Answer explanation

Media Image

The Custom Function drawFish is called two times on:

Line 6

Line 7

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?