U2L3 #6 [Functions - Default Parameters]

U2L3 #6 [Functions - Default Parameters]

Assessment

Flashcard

Computers

University

Practice Problem

Hard

Created by

Harold Peaden

FREE Resource

Student preview

quiz-placeholder

7 questions

Show all answers

1.

FLASHCARD QUESTION

Front

In this first section of code, how many parameters does this function require?

Media Image

Back

2

2.

FLASHCARD QUESTION

Front

In this first section of code, "person" is being used as the external or internal reference?

Media Image

Back

Internal reference

3.

FLASHCARD QUESTION

Front

Does "person" have a default value in the first section of code?

Media Image

Back

"person" does not have a default value.

4.

FLASHCARD QUESTION

Front

What is the default value of "person" in the first section of code?

Media Image

Back

"person" will have a default value of nil.

5.

FLASHCARD QUESTION

Front

In this first section of code, what is the default value of "nicely"?

Media Image

Back

"nicely" will have a default value of true.

6.

FLASHCARD QUESTION

Front

Minimum number of parameter values needed when calling a function?

Media Image

Back

1

7.

FLASHCARD QUESTION

Front

In this first section of code, what is the maximum number of parameter values that can be given when this function is called?

Media Image

Back

2

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?