T-Level DPDD: Functions & Procedures Quiz

Quiz
•
Computers
•
11th Grade
•
Medium
Sara Burton
Used 5+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a type of function in Python?
Built-in functions
User-defined functions
Anonymous functions
Static functions
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword is used to define a function in Python?
func
def
function
create
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the example Python function call?
This is my simple function
This is a simple function
This is my function
This is a function
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an argument in the context of Python functions?
The name of the function
The value sent to the function when it is called
The keyword used to define the function
The output of the function
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements is true about methods and functions in Python?
All functions are methods, but not all methods are functions.
All methods are functions, but not all functions are methods.
Methods and functions are the same.
Methods cannot be called using an instance of a class.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following Python function call? my_simple_function("Saundra")
Saundra best friend
Saundra good friend
Saundra friend
Saundra best buddy
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, how do you separate multiple arguments in a function call?
With a semicolon
With a colon
With a comma
With a period
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
CS Academy Unit 3 Review

Quiz
•
9th - 11th Grade
12 questions
Functions With Return Values U1M2 Python

Quiz
•
9th - 12th Grade
15 questions
Programming python review

Quiz
•
9th - 12th Grade
15 questions
Python Built-in Functions

Quiz
•
11th - 12th Grade
10 questions
Python Variables

Quiz
•
7th - 12th Grade
15 questions
Grade 8 End of Unit Revision

Quiz
•
8th Grade - University
12 questions
Dictionary Class 11

Quiz
•
11th - 12th Grade
15 questions
Python Tuples Review

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade