U2L3 #6 [Functions - Default Parameters]

Flashcard
•
Computers
•
University
•
Easy
Wayground Content
Used 1+ times
FREE Resource
Student preview

8 questions
Show all answers
1.
FLASHCARD QUESTION
Front
In this first section of code, how many parameters does this function require?
Back
2
2.
FLASHCARD QUESTION
Front
In this first section of code, "person" is being used as the external or internal reference?
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?
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"?
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"?
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?
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
Back
2
8.
FLASHCARD QUESTION
Front
Which call to calculateArea is valid?
Back
Answer explanation
This function has three parameters. You must call the function in this way:
You must name the first parameter “length” and give it a Double value.
You must not name the second parameter, but you must give it a Double value.
You must name the third parameter “unit” and give it a String value.
Similar Resources on Wayground
8 questions
Norme de présentation d'untravail écrit

Flashcard
•
KG - University
7 questions
Python dictionary

Flashcard
•
University
12 questions
Python Functions and Docstrings Flashcard

Flashcard
•
University
11 questions
Computer Programming

Flashcard
•
University
6 questions
Google Certification Level 1

Flashcard
•
Professional Development
7 questions
Legal Terms Flashcards

Flashcard
•
University
5 questions
Three Hints Challenge

Flashcard
•
University
9 questions
Java OOP

Flashcard
•
Professional Development
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Computers
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
34 questions
WH - Unit 2 Exam Review -B

Quiz
•
10th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
10 questions
Transition Words

Quiz
•
University
5 questions
Theme

Interactive video
•
4th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
10 questions
Spanish Greetings and Goodbyes!

Lesson
•
6th Grade - University