Quiz 3 - Functions
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
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
Already have an account?
Similar Resources on Wayground
21 questions
G.K Quiz
Quiz
•
1st Grade - Professio...
21 questions
The Video game quiz
Quiz
•
KG - University
22 questions
Input and Output Devices Recap
Quiz
•
8th - 11th Grade
25 questions
Excel Basic
Quiz
•
9th - 10th Grade
21 questions
Stepford County Railway Quiz
Quiz
•
1st Grade - University
21 questions
Databases and Spreadsheets
Quiz
•
3rd - 10th Grade
22 questions
Class 7 revision
Quiz
•
5th - 12th Grade
25 questions
VISUAL BASIC 6
Quiz
•
9th - 10th Grade
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Computers
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University
18 questions
Thanksgiving Trivia
Quiz
•
4th - 12th Grade
20 questions
Thanksgiving
Quiz
•
KG - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
10 questions
Thanksgiving Trivia Challenge: Test Your Knowledge!
Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
