Python Functions Review Flashcard

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

26 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is a return in a function?
Back
Keyword that tells the function what value to send back
2.
FLASHCARD QUESTION
Front
WHAT IS THE DIFFERENCE BETWEEN A PARAMETER AND A FUNCTION?
Back
Parameters input values to a function. Functions operate on those parameter values.
3.
FLASHCARD QUESTION
Front
What will be printed? Options: nothing, 5, 6, "3 + 2"
Back
nothing
Answer explanation
No print function is written. You need to print or save the function call.
4.
FLASHCARD QUESTION
Front
What will be printed? Options: nothing, 5, 6, "3 + 2"
Back
5
5.
FLASHCARD QUESTION
Front
What will be printed? Options: nothing, 7, z, 12
Back
12
Answer explanation
9 is returned from the function call with 4 &5. Then 9 is passed with the 3 to the function again with 12 as the return value.
6.
FLASHCARD QUESTION
Front
How many times will Boo print?
Back
4
Answer explanation
range(1,4) starts at 1 and goes to one less than 5. So it runs for 1, 2, 3 & 4. 4 times
7.
FLASHCARD QUESTION
Front
What will print? Options: 1 2, 1, 3, 5
Back
5
Answer explanation
Remember PEMDAS
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Python Functions and Exceptions Review

Flashcard
•
9th - 12th Grade
19 questions
ELC END OF YEAR HOLIDAY ASSIGNMENT

Flashcard
•
KG
20 questions
Scratch Test - New

Flashcard
•
9th - 12th Grade
20 questions
Angle Basics, Angle Addition Postulate, and Bisector Flashcard

Flashcard
•
9th - 12th Grade
21 questions
Unit 4 Review (AP CSP)

Flashcard
•
9th - 12th Grade
20 questions
Midterm YWLA AP CSP

Flashcard
•
9th - 12th Grade
21 questions
AP CSP Unit 2 CMU Review Flashcardizz

Flashcard
•
11th Grade
23 questions
CSP Exam Review extended time

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Introduction to Desktop Computer Systems

Quiz
•
9th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Computer Hardware and Input/Output Devices

Interactive video
•
6th - 10th Grade