Search Header Logo

8.QZ - Fish Tank Starter Code Review

Authored by Jocelyn Hall

Computers

9th - 12th Grade

Used 6+ times

8.QZ - Fish Tank Starter Code Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?