
Python Built-in Functions
Authored by rakhi pillai
Computers
11th - 12th Grade
Used 66+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
1. Which of the following functions is a built-in function in python?
a) seed()
b) sqrt()
c) factorial()
d) print()
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
2. Which keyword is used for function?
a) define
b) fun
c) def
d) function
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
3. What will be the output of the following Python expression?
round(4.576)
a) 4.5
b) 5
c) 4
d) 4.6
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
4. The function pow(x,y,z) is evaluated as:
a) (x**y)**z
b) (x**y) / z
c) (x**y) % z
d) (x**y)*z
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
5. What will be the output of the following Python function?
all([2,4,0,6])
a) Error
b) True
c) False
d) 0
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
6. What will be the output of the following Python expression?
round(4.5676,2)?
a) 4.5
b) 4.6
c) 4.57
d) 4.56
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
7. What will be the output of the following Python function?
any([2>8, 4>2, 1>2])
a) Error
b) True
c) False
d) 4 > 2
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
13 questions
Introduction à l'informatique
Quiz
•
9th - 11th Grade
15 questions
Ôn tập kỳ 2 tin 6
Quiz
•
1st - 12th Grade
15 questions
Начала программирования на языке Паскаль
Quiz
•
8th - 11th Grade
13 questions
RAM&HDD/SSD
Quiz
•
10th - 12th Grade
10 questions
EMPTECH L4 Q2
Quiz
•
12th Grade
20 questions
ASPEK LEGAL TIK XII
Quiz
•
12th Grade
15 questions
11° Evaluación bimestral de informática
Quiz
•
11th Grade
20 questions
Ինֆորմատիկա 10 II կիսամյակի ամփոփիչ աշխատանք
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade