Functions

Functions

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Ulangan C++ Class XI TKJ

Ulangan C++ Class XI TKJ

11th Grade

20 Qs

Java Basics (Data Types and Variables)

Java Basics (Data Types and Variables)

6th - 10th Grade

16 Qs

Java Script Quiz

Java Script Quiz

9th - 12th Grade

15 Qs

Java switch/for/while

Java switch/for/while

9th - 12th Grade

15 Qs

JavaScript and Graphics

JavaScript and Graphics

9th - 12th Grade

15 Qs

Python - Iteration (For Loops)

Python - Iteration (For Loops)

10th Grade

20 Qs

C Programming Quiz

C Programming Quiz

12th Grade - University

20 Qs

M6_Visual Basic_Final Quiz1

M6_Visual Basic_Final Quiz1

10th - 12th Grade

23 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?