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
How many Stored Procedures are in this code?
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 Wayground
10 questions
Avaliação 1T - JavaScript

Quiz
•
9th - 12th Grade
17 questions
Year 7 - SketchUp - L2

Quiz
•
7th - 9th Grade
20 questions
3rd Qtr QUIZ4 ANIMATION-LINE OF ACTION-3-13-2023

Quiz
•
11th Grade
11 questions
Библиотека PyGame

Quiz
•
10th Grade
16 questions
OnShape Sketching Basics

Quiz
•
8th - 10th Grade
10 questions
Technical Terms - Internet (A-Z) - T1

Quiz
•
12th Grade
16 questions
App Creator 1.1/1.2 Review

Quiz
•
6th - 9th Grade
12 questions
9.1.6 - Starter Quiz

Quiz
•
8th - 9th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade