WHAT key word we declare for user define function
Python function output based KVRDSO lucknow

Quiz
•
Computers
•
11th - 12th Grade
•
Medium
Rajkumar Yadav
Used 63+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
def
DEF
BOT A AND B
NONE
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is output of python code?
a=10
def disp():
print("Hello india")
print("global",a)
b=200
print("local",b)
disp()
hello india
global 10
local 200
Hello india
global 10
local 200
hello india
global 200
local 10
Eroor
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is output of given python code?
a=100
def disp():
b=200
print("Local",b)
disp()
a=10
sum= a+a
print(sum)
Local 200
20
local 200
120
local 10
200
None
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
which type of loop we use in python program?
for only
while and for
do-while and for
both a and b
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is output of python code?
def disp():
print("Hello \n WELCOME \n python")
disp()
None
Error
Hello
WELCOME
Python
Program
Hello
WELCOME
python
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Read python code carefully and choose the option
def add(i):
if(i*3%2==0):
i*=i
else:
i*=4
return i
a=add(10)
print(a)
100
40
10
4000
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Find output
import math
def area(r):
return math.pi*r*r
a=int(area(10))
print(a)
3.140
314
31400
31.4
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Functions and Exceptions

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

Quiz
•
12th Grade
10 questions
J277 - 2.2 - Functions in Python

Quiz
•
10th Grade - University
15 questions
Python Programming 1: print, strings, variables, casting

Quiz
•
9th Grade - University
15 questions
Python revision

Quiz
•
10th Grade - University
10 questions
Analisis Data

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

Quiz
•
9th - 12th Grade
15 questions
Введение в программирование Python

Quiz
•
11th Grade
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
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

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

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University