Search Header Logo

APCSA Recursion

Authored by Allison Stout

Computers

9th - 12th Grade

11 Questions

Used 1+ times

APCSA Recursion
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

1.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

define recursion

when a method calls itself

when a subclass has the same method as the superclass

when you call a method twice in the main class

when a method calls a method thats in the same class

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

define base case

a way to stop the recursion process

a lowercase number in ASCII

an uppercase number in ASCII

a way to start the recursion process

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

what kind of recursion is this

pre

post

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

where does a post-recursion call happen?

before the print statement, in the main method

before the print statement, in the method you call

after the print statement, in the main method

after the print statement, in the method you call

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

where does a pre-recursion call happen?

before the print statement, in the main method

before the print statement, in the method you call

after the print statement, in the main method

after the print statement, in the method you call

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

what kind of recursion is this

pre

post

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

Given this recursive summation table, what goes in the blank?

2+sum2(2)

2+sum2(1)

1+sum2(2)

1+sum2(1)

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?