U2L3 #6 [Functions - Default Parameters]

U2L3 #6 [Functions - Default Parameters]

Assessment

Flashcard

Computers

University

Practice Problem

Easy

Created by

Wayground Content

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

8 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

In this code, "person" is being used as the internal reference.

3.

FLASHCARD QUESTION

Front

In this first section of code, does "person" have a default value?

Media Image

Back

"person" does not have a default value.

4.

FLASHCARD QUESTION

Front

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

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

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

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? Options: 1, 2, 3, 4

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?