U2L3 #1 [Writing Functions]
Flashcard
•
Computers
•
12th Grade
•
Practice Problem
•
Easy
Harold Peaden
Used 1+ times
FREE Resource
Student preview

12 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Does this code snippet correctly define and call the function?
Back
Yes, this code snippet correctly defines and calls the function.
2.
FLASHCARD QUESTION
Front
Does this code snippet correctly define a function?
Back
This code snippet has an error.
Answer explanation
You do not begin a function definition with the word function. You start the definition of a function with func.
3.
FLASHCARD QUESTION
Front
Does this code snippet correctly define a function?
Back
Yes, this code snippet correctly defines a function.
4.
FLASHCARD QUESTION
Front
Does this code snippet correctly define and call the function?
Back
Yes, this code snippet correctly defines and calls the function.
5.
FLASHCARD QUESTION
Front
Does this code snippet correctly define and call the function?
Back
This code snippet has an error.
Answer explanation
This attempts to pass parameters to a function that accepts no parameters.
6.
FLASHCARD QUESTION
Front
Does this code snippet correctly define and call the function?
Back
Yes, this code snippet correctly defines and calls the function.
7.
FLASHCARD QUESTION
Front
Does this code snippet correctly define and call the function?
Back
This code snippet has an error.
Answer explanation
This is invalid because id is not defined anywhere.
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
ReactJS Flashcards
Flashcard
•
KG
11 questions
Sketching Basics in Onshape
Flashcard
•
12th Grade
4 questions
BCEP and Communication Integral
Flashcard
•
University
15 questions
5.4 Costs Flashcards
Flashcard
•
12th Grade
8 questions
Compare and Contrast Flashcard
Flashcard
•
11th Grade
10 questions
Teorías Sociológicas de la Ciudad y el Derecho a la Ciudad
Flashcard
•
University
11 questions
Planeación de la capacidad práctica
Flashcard
•
University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade
18 questions
Success Strategies
Quiz
•
9th - 12th Grade
10 questions
Valentine's Day Trivia
Quiz
•
9th - 12th Grade