Functions

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Casondra Simons
Used 4+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is it called when a function is called to go to work?
a polite request
invoking
getting older
parameter
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What does a function need to be recursive? Choose 2!
Invoke itself
base case
a return type
an argument
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where can you find a base case?
in an if statement
in a for loop
in a while loop
in an iterative structure
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why do recursive functions need a base case?
To make them stop
for fun
to loop
to annoy you
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why do recursive functions need to invoke themselves?
To make them stop
for fun
to loop
to annoy you
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In program 1, what is the return type of earlyRelease()?
String
int
void = nothing
boolean
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In program 4, what is the return type of funDay()?
String
int
void = nothing
boolean
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
002_Java Methods

Quiz
•
12th Grade - University
18 questions
Python functions

Quiz
•
11th Grade
15 questions
Array

Quiz
•
10th - 12th Grade
16 questions
Visual basic for beginners

Quiz
•
9th Grade
16 questions
Basic C# Programming Quiz

Quiz
•
9th Grade
17 questions
"switch" Java Statement - 1

Quiz
•
9th - 10th Grade
16 questions
Arithmetic Types Declare Initialize Relation Logical Ops

Quiz
•
9th Grade - University
22 questions
CodeHS AP CSP Unit 3 Review

Quiz
•
11th - 12th 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