
Python quiz - 1
Authored by Tharun AmiReddy
Other
University
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python supports the creation of anonymous functions at runtime, using a construct called
pi
anonymous
lambda
None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following character is used to give single-line comments in Python?
//
#
!
/*
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the value of the following Python expression?
4 + 3 % 5
2
7
4
3
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of Programming does Python support?
object-oriented programming
structured programming
functional programming
all of the mentioned
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Who developed Python Programming Language?
Wick van Rossum
Rasmus Lerdorf
Guido van Rossum
Niene Stom
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code?
def foo():
try:
return 1
finally:
return 2
k = foo()
print(k)
error, there is more than one return statement in a single try-finally block
3
2
1
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python expression?
round(4.576)
4
4.6
5
4.5
Access all questions and much more by creating a free account
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
Prime Ministers of India
Quiz
•
1st Grade - University
10 questions
Latest Technology in Modern Hotel
Quiz
•
University
10 questions
Dragon Mania Ledgends Quiz
Quiz
•
1st Grade - Professio...
11 questions
Juego en Equipo
Quiz
•
University
10 questions
EPP QUIZ
Quiz
•
University
10 questions
Statistics for Psychology - Quiz 2
Quiz
•
University
15 questions
The Passion academy
Quiz
•
University
15 questions
Taxation - Introduction to Tax
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University