
Quiz 3 - Functions
Authored by Casey Devet
Computers
10th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
26 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which type of function is provided by the Python language?
Anonymous Functions
User-defined Functions
Object Functions
Built-in functions
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is NOT a valid function invocation?
print("Bla")
max(3; 4)
pow(5, 6)
input()
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is NOT a valid function invocation?
print "Bla"
max(3, 4)
len("ABC123")
print()
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
True or False:
When a function returns a value, we can use it as an argument to another function, like this:
max(1, pow(2, n))
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or False:
Methods need to be called in reference to an object, like this:
leonardo.move_forward(10)
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the correct way to invoke the "title" method on the string stored in variable "name".
name(title())
title.name()
name.title()
title(name())
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which module provides functions for generating random values?
random
randint
rand
math
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
22 questions
representing numbers (lesson 1 plenary)
Quiz
•
6th Grade - University
25 questions
Visual Programming
Quiz
•
5th - 12th Grade
25 questions
Common Algorithms
Quiz
•
9th - 12th Grade
21 questions
Computer 10
Quiz
•
10th Grade
25 questions
Introduction to IT
Quiz
•
5th - 10th Grade
22 questions
Managing Edits and Document Layouts
Quiz
•
9th - 12th Grade
22 questions
Python Data Types Quiz
Quiz
•
10th Grade
24 questions
2.1.1 & 2.1.2 Cyber CIA and Passive Analysis
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
14 questions
[AP CSP] JavaScript Programming Quiz
Quiz
•
9th - 12th Grade
10 questions
Understanding Computers and Computer Engineering
Interactive video
•
7th - 12th Grade
37 questions
Python - Tuples, Lists, and List Methods
Quiz
•
9th - 12th Grade