Python function output based KVRDSO lucknow
Quiz
•
Computers
•
11th - 12th Grade
•
Practice Problem
•
Medium
Rajkumar Yadav
Used 63+ times
FREE Resource
Enhance your content in a minute
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
WHAT key word we declare for user define function
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
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
10 questions
Java: repetition control structure for & while
Quiz
•
10th - 12th Grade
11 questions
College Football
Quiz
•
5th - 12th Grade
12 questions
Data Representation - Keywords
Quiz
•
9th - 11th Grade
11 questions
Python Function
Quiz
•
11th - 12th Grade
15 questions
Pemrograman
Quiz
•
9th - 12th Grade
10 questions
Computer Languages
Quiz
•
6th - 12th Grade
10 questions
python quiz
Quiz
•
6th Grade - Professio...
10 questions
Scratch
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
55 questions
CHS Holiday Trivia
Quiz
•
12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
