Functions

Functions

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Programming Round 1

Programming Round 1

12th Grade - University

21 Qs

FCS Fall Collective review

FCS Fall Collective review

9th - 10th Grade

21 Qs

Python Functions

Python Functions

12th Grade

15 Qs

JavaScript and Graphics

JavaScript and Graphics

9th - 12th Grade

15 Qs

Arrays in Java

Arrays in Java

9th - 12th Grade

20 Qs

OOP - Java Classes

OOP - Java Classes

12th Grade - University

15 Qs

Ch 3 Java Review-Strings and Math

Ch 3 Java Review-Strings and Math

9th - 12th Grade

21 Qs

CodeHS Python Unit 3 Quiz Review

CodeHS Python Unit 3 Quiz Review

9th - 12th Grade

20 Qs

Functions

Functions

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

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

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?