U2L3 #6 [Functions - Default Parameters]
Flashcard
•
Computers
•
University
•
Practice Problem
•
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
10 questions
Evolve 2 Unit - 8 Flashcard - 1
Flashcard
•
University
2 questions
5.3 Forecasting and Managing Cashflows Flashcards
Flashcard
•
12th Grade
10 questions
ReactJS Flashcards
Flashcard
•
KG
8 questions
Vocabulary Flashcards
Flashcard
•
University
4 questions
Untitled Flashcards
Flashcard
•
University
5 questions
SEB Mentis
Flashcard
•
KG - University
9 questions
Travel Vocabulary
Flashcard
•
University
10 questions
Accidents and Their Effects
Flashcard
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University