Python Functions

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

28 questions
Show all answers
1.
FLASHCARD QUESTION
Front
How do you correctly call this function? Options: def(1), x=square( ), defSquare(4), x=square(5)
Back
x=square(5)
2.
FLASHCARD QUESTION
Front
What will print? Options: nothing, sayHi(), an error message, hi there
Back
hi there
3.
FLASHCARD QUESTION
Front
What will print? Options: nothing, 5, 6, an error message
Back
nothing
4.
FLASHCARD QUESTION
Front
What will print? Options: nothing, 5, 6, an error message
Back
5
5.
FLASHCARD QUESTION
Front
Which of the following best describes the order in which these lines are processed in Python? Options: 4, 1, 2, 4, 2, 1, 1, 2, 3, 4, 3, 1, 2
Back
4, 1, 2
6.
FLASHCARD QUESTION
Front
Which statement is the function definition? Options: def square(x):, return a, a = pow(x,2)
Back
def square(x):
7.
FLASHCARD QUESTION
Front
Tells the interpreter that the code which follows is a function
Back
def
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Spreadsheet - Advanced Functions and Formulae

Flashcard
•
10th - 11th Grade
21 questions
AP CSP Unit 7 Review

Flashcard
•
11th Grade
20 questions
1.1-2 Key Features and Transformations of Functions

Flashcard
•
10th - 12th Grade
23 questions
AP CSP Unit 4 Test REVIEW

Flashcard
•
11th Grade
20 questions
FN43 - 3.02 Lipids

Flashcard
•
10th - 12th Grade
20 questions
Parent Functions CQ

Flashcard
•
9th - 12th Grade
20 questions
Int Prog: Lists and Functions

Flashcard
•
9th - 12th Grade
20 questions
Robotics and Python

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade