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
22 questions
Transformations of Functions

Flashcard
•
9th - 12th Grade
20 questions
Domain and Range

Flashcard
•
9th - 12th Grade
20 questions
Cell Structure and Function

Flashcard
•
9th - 12th Grade
21 questions
parent functions

Flashcard
•
9th - 12th Grade
20 questions
Functions

Flashcard
•
9th - 12th Grade
23 questions
Six Parent Functions

Flashcard
•
9th - 12th Grade
20 questions
Function or Not/Linear or Not

Flashcard
•
9th - 12th Grade
20 questions
Piecewise Functions

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th 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
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade