
Python quiz - 1

Quiz
•
Other
•
University
•
Hard
Tharun AmiReddy
Used 9+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Rizal's Experiences

Quiz
•
University
15 questions
RB_Quiz_HNP_GPT

Quiz
•
University
10 questions
Capital Budgeting

Quiz
•
University
12 questions
Brainy Bites: Python

Quiz
•
University
15 questions
Tech quiz Round 1

Quiz
•
University
10 questions
Introduction to C Programming

Quiz
•
University
10 questions
Python set 3

Quiz
•
University
10 questions
Lección 3 - Lenguaje de programación: Python

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University