How many Stored Procedures are in this code?
8.QZ - Fish Tank Starter Code Review

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Jocelyn Hall
Used 6+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1
2
3
4
Answer explanation
A Stored Procedure never needs to be called in the program.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many Custom Functions are in this code?
1
2
3
4
Answer explanation
A Custom Function needs to be called.
The only Custom Function in this program is drawFish.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an example of a function call?
Line 6
Line 1
Line 21 - 25
Line 20
Answer explanation
There are two function calls in this code.
Line 6 & Line 7
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an example of a function definition?
Line 6
Line 1
Line 21 - 25
Line 20
Answer explanation
The function definition contains what will happen when the function is called.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an example of a Stored Procedure in this code?
setup
drawFish
size()
fishColor
Answer explanation
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
How many parameters does drawFish have?
0
1
2
3
Answer explanation
The Custom Function drawFish has three parameters
fishX
fishY
fishColor
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times is drawFish called?
0
1
2
3
Answer explanation
The Custom Function drawFish is called two times on:
Line 6
Line 7
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Semester Final Part 2

Quiz
•
10th Grade - University
20 questions
Procedures and Functions

Quiz
•
10th Grade
20 questions
Code.org CSD Unit 3 Lessons 1-12

Quiz
•
3rd - 12th Grade
12 questions
Small Basic Quiz

Quiz
•
7th - 9th Grade
14 questions
p5.js Week1 PREtest

Quiz
•
7th - 12th Grade
20 questions
OCR Computer Science Paper 2 Revision Quiz #1

Quiz
•
9th - 10th Grade
10 questions
matplotlib

Quiz
•
10th Grade
11 questions
8.3 Intro to JS Variables

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University