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
Graphing Inequalities on a Number Line

Quiz
•
9th Grade - University
20 questions
Mixed Exponent Rules of Quotient, Raised to a Power and Multiplying

Quiz
•
8th Grade - University
20 questions
Compare Greater Than Less Than Word Problems

Quiz
•
2nd Grade - University
15 questions
Polynomial Domain Range

Quiz
•
11th Grade - University
15 questions
Multiplying 3 Digit by 1 Digit

Quiz
•
4th Grade - University
20 questions
Introducción Estadística para ciencia de datos

Quiz
•
University
15 questions
Properties of Rational Exponents and Simplifying Radicals

Quiz
•
10th Grade - University
15 questions
Simple Operations With Integers

Quiz
•
7th Grade - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade