PYTHON CONTEST 2
Quiz
•
Computers
•
University
•
Hard
SivaBharath.K.S SivaBharath.K.S
Used 9+ times
FREE Resource
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
IT Essential UIUX Chapter 03 (Typography)
Quiz
•
University
20 questions
Skill Competition Quiz 2024
Quiz
•
10th Grade - University
20 questions
Quiz 1: Steps in Problem Solving
Quiz
•
University
20 questions
2. Ayo Main Quiz Lagi
Quiz
•
University - Professi...
20 questions
SOFTWARE 7I
Quiz
•
7th Grade - University
20 questions
Spreadsheet Fundamentals - Quiz2
Quiz
•
University
20 questions
Algoritma Remedial RPL
Quiz
•
University
20 questions
Processing- The CPU Quiz
Quiz
•
10th Grade - University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
12 questions
Halloween
Quiz
•
3rd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
History of Halloween: Pagan or Christian?
Interactive video
•
11th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
