U2L3 #3 [Functions Returning values]
Flashcard
•
Computers
•
University
•
Practice Problem
•
Easy
Harold Peaden
Used 1+ times
FREE Resource
Student preview

12 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Does the code correctly create a function that returns a value?
Back
This code correctly creates a function that returns a value.
2.
FLASHCARD QUESTION
Front
Does the code correctly create a function that returns a value?
Back
This code correctly creates a function that returns a value.
3.
FLASHCARD QUESTION
Front
Does the code correctly create a function that returns a value?
Back
There is an error in this code.
Answer explanation
This tries to return a value from a function that does not specify to expect a return type.
4.
FLASHCARD QUESTION
Front
Does the code correctly create a function that returns a value?
Back
There is an error in this code.
Answer explanation
This attempts to return a Boolean when it should return an integer.
5.
FLASHCARD QUESTION
Front
Does the code correctly create a function that returns a value?
Back
There is an error in this code.
Answer explanation
This does not return a value if color is not "tartan"
6.
FLASHCARD QUESTION
Front
Does the code correctly create a function that returns a value?
Back
This code correctly creates a function that returns a value.
7.
FLASHCARD QUESTION
Front
Does the code correctly create a function that returns a value?
Back
This code correctly creates a function that returns a value.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Relación e Importancia de la Epistemología con la Educación
Flashcard
•
University
10 questions
SUP E3 - PART 1
Flashcard
•
University
12 questions
Untitled Flashcards
Flashcard
•
University
12 questions
Present perfect Vs past tense
Flashcard
•
University
10 questions
TARJETAS DIDÁCTICAS DOCTRINA POLICIAL
Flashcard
•
12th Grade
10 questions
Python basics
Flashcard
•
University
5 questions
Elements of Argumentative Essay
Flashcard
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade