Which keyword is used for function in Python language?
PYTHON-MCQ

Quiz
•
Mathematics
•
University
•
Medium
Senthil R
Used 4+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Function
Fun
Define
def
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a mutable data type in Python?
String
Integer
List
Tuple
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following functions is a built-in function in python?
factorial()
print()
seed()
sqrt()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python expression if x=56.236?
print("%.2f"%x)
56.236
56.23
56.00
56.24
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
len(["hello",2, 4, 6])
error
6
4
3
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code?
print("abc. DEF".capitalize())
Abc. def
abc. def
Abc. Def
ABC. DEF
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code?
>>>list1 = [1, 3]
>>>list2 = list1
>>>list1[0] = 4
>>>print(list2)
[1, 4]
[1, 3, 4]
[4, 3]
[1, 3]
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Solving Systems of Linear Inequality Word Problems

Quiz
•
9th Grade - University
20 questions
Systems of Linear Inequalities with Word Problems

Quiz
•
9th Grade - University
20 questions
Bertelsmann AI Track Quiz Initiative #3

Quiz
•
University - Professi...
15 questions
EOC Review Algebra Equations

Quiz
•
9th Grade - University
20 questions
Đại hội

Quiz
•
University
20 questions
Solving Inequalities and Systems of Inequalities

Quiz
•
9th Grade - University
18 questions
Fonctions de référence

Quiz
•
9th Grade - Professio...
15 questions
Solving Systems of Inequalities Word Problems

Quiz
•
9th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade