U2L3 #6 [Functions - Default Parameters]

U2L3 #6 [Functions - Default Parameters]

Assessment

Flashcard

Created by

Harold Peaden

Computers

University

Hard

Student preview

quiz-placeholder

7 questions

Show all answers

1.

FLASHCARD

Front

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

Back

2

2.

FLASHCARD

Front

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

Back

Internal reference

3.

FLASHCARD

Front

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

Back

"person" does not have a default value.

4.

FLASHCARD

Front

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

Back

"person" will have a default value of nil.

5.

FLASHCARD

Front

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

Back

"nicely" will have a default value of true.

6.

FLASHCARD

Front

Minimum number of parameter values needed when calling a function?

Back

1

7.

FLASHCARD

Front

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

Back

2