Python Built-in Functions

Quiz
•
Computers
•
11th - 12th Grade
•
Hard
rakhi pillai
Used 65+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
17 questions
GCSE Computer Science - Python Programming Concepts

Quiz
•
9th - 11th Grade
10 questions
RL Python Basics Quiz 1

Quiz
•
9th - 12th Grade
10 questions
Error Finding

Quiz
•
12th Grade
11 questions
Python Library-1

Quiz
•
12th Grade
20 questions
Python - lists,loops,basics

Quiz
•
9th - 11th Grade
20 questions
Unit 3 Python TEST

Quiz
•
11th - 12th Grade
10 questions
PCEP Section 4B: the function and its environment

Quiz
•
12th Grade
19 questions
Computer Science Quiz 02

Quiz
•
10th Grade - University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade