Functions

Functions

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Java by Mr Sam

Java by Mr Sam

10th Grade

16 Qs

Excel - basic

Excel - basic

9th Grade

15 Qs

Cyber Security Homework 1

Cyber Security Homework 1

7th - 9th Grade

15 Qs

Arduino_Quiz

Arduino_Quiz

12th Grade

20 Qs

Ethical and Social Issues in ICT

Ethical and Social Issues in ICT

10th Grade

15 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

Python Syntax II

Python Syntax II

10th Grade

16 Qs

Quiz Informatika Bab 3 & 4

Quiz Informatika Bab 3 & 4

10th Grade

20 Qs

Functions

Functions

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Casondra Simons

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?