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
8 questions
INSIGNIAS Y DISTINTIVOS CEREMAR
Flashcard
•
University
10 questions
Evolve 2 Unit - 8 Flashcard - 1
Flashcard
•
University
10 questions
Rekod Tak Lengkap Kaedah Perbandingan
Flashcard
•
University
10 questions
Practica 1 mecanismos de defensa
Flashcard
•
University
8 questions
ADVF CCP1
Flashcard
•
Professional Development
13 questions
Ética Profissional para Desenvolvedores de Software
Flashcard
•
KG - University
5 questions
Twilight 3 part
Flashcard
•
12th Grade
15 questions
Flashcard - Unit Conversion and Practical Use
Flashcard
•
KG - University
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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