Python Functions Overview
Flashcard
•
Computers
•
12th Grade
•
Practice Problem
•
Medium
VIJITHA M
Used 2+ times
FREE Resource
Student preview

26 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is a function in programming?
Back
A function is a programming block of codes used to perform a single, related, specific task.
2.
FLASHCARD QUESTION
Front
What are parameters in a function?
Back
Parameters are data passed into a function.
3.
FLASHCARD QUESTION
Front
What does it mean that Python treats functions as first-class members?
Back
It means functions in Python can be assigned to variables, stored in collections, or passed as arguments.
4.
FLASHCARD QUESTION
Front
List some advantages of using functions.
Back
1. Reducing duplication of code 2. Decomposing complex problems into simpler pieces 3. Improving clarity of the code 4. Reuse of code 5. Information hiding
5.
FLASHCARD QUESTION
Front
What are the three categories of functions in Python?
Back
1. Built-in functions 2. Functions defined in modules 3. User-defined functions
6.
FLASHCARD QUESTION
Front
What are built-in functions in Python?
Back
Functions whose functionality is predefined in Python, such as len(), type(), int(), input().
7.
FLASHCARD QUESTION
Front
What are user-defined functions?
Back
Functions that allow users to write unique logic defined by the user.
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
15 questions
Earth's Crusty Forces 11.1 :)
Flashcard
•
11th Grade - University
26 questions
English Questions on Numbers and Verbs
Flashcard
•
KG - University
20 questions
Explorando el Pasado Simple
Flashcard
•
12th Grade
20 questions
Mr Sun
Flashcard
•
KG
16 questions
Hand Rules
Flashcard
•
12th Grade
15 questions
5.4 Costs Flashcards
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
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