Quiz 3 - Functions
Quiz
•
Computers
•
10th Grade
•
Easy
Casey Devet
Used 1+ times
FREE Resource
Enhance your content in a minute
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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
21 questions
07 - BIM I - Word 7 - Newsletter
Quiz
•
9th - 10th Grade
22 questions
1.3.2 Network Topologies and Layers
Quiz
•
10th - 11th Grade
22 questions
Web Development
Quiz
•
9th - 12th Grade
21 questions
C programming syntax quiz
Quiz
•
10th Grade
21 questions
Safety
Quiz
•
9th - 12th Grade
21 questions
CLOUD COMPUTING CHAPTER 1
Quiz
•
9th - 12th Grade
23 questions
Cybersecurity Checkpoint 1
Quiz
•
10th - 12th Grade
22 questions
Web Design and Development Revision
Quiz
•
10th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
10 questions
Halloween Trivia Challenge
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
