PYTHON CONTEST 2
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
SivaBharath.K.S SivaBharath.K.S
Used 9+ times
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
All keywords in Python are in _________
Capitalized
lower case
UPPER CASE
None of the mentioned
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the value of the following Python expression?
4 + 3 % 5
7
2
4
1
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following Python code?
i = 1
while True:
if i%3 == 0:
break
print(i)
i + = 1
123
error
12
none of the mentioned
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What are the values of the following Python expressions?
2**(3**2)
(2**3)**2
2**3**2
512, 64, 512
512, 512, 512
64, 512, 64
64, 64, 64
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following Python code?
l=[1, 0, 2, 0, 'hello', '', []]
list(filter(bool, l))
[1, 0, 2, ‘hello’, ”, []]
Error
[1, 2, ‘hello’]
[1, 2, ‘hello’]
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following functions is a built-in function in python?
factorial()
print()
seed()
sqrt()
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The following python program can work with ____ parameters.
def f(x):
def f1(*args, **kwargs):
print("Sanfoundry")
return x(*args, **kwargs)
return f1
any number of
0
1
2
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
20 questions
Business Intelligence - Review before Mid Exam
Quiz
•
University
20 questions
Sains Komputer Tingkatan 5 - 1.3.1 Menerangkan get logik
Quiz
•
1st Grade - Professio...
20 questions
Software Engineering Quiz 1
Quiz
•
University
20 questions
QUIZ BAB 4: SISTEM OPERASI
Quiz
•
8th Grade - University
20 questions
INTERNET
Quiz
•
University
20 questions
Round 1 ( RHA Learner Contest )
Quiz
•
University
20 questions
Network topologies
Quiz
•
8th Grade - University
20 questions
WML & WAP
Quiz
•
University
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...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University
