
PYTHON BASICS QUIZ-2
Quiz
•
Professional Development
•
Professional Development
•
Practice Problem
•
Hard
Mrs KEERTHIKA
Used 1+ times
FREE Resource
Enhance your content in a minute
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the value of the following Python expression?
4 + 3 % 5
7
2
4
1
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is used to define a block of code in Python language?
Indentation
Key
Brackets
All of the mentioned
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used for function in Python language?
Function
def
fun
Define
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following character is used to give single-line comments in Python?
//
#
!
/*
5.
MULTIPLE CHOICE QUESTION
1 min • 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
1 2 3
Error
1 2
None of the mentioned
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following functions can help us to find the version of python that we are currently working on?
sys.version(1)
sys.version(0)
sys.version()
sys.version
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Python supports the creation of anonymous functions at runtime, using a construct called __________
pi
anonymous
lambda
none of the mentioned
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
18 questions
Infallible Vedas (DYS 2)
Quiz
•
Professional Development
15 questions
Nursing Leadership & Management
Quiz
•
University - Professi...
15 questions
REVISED CODE OF CONDUCT QUIZ BEE
Quiz
•
Professional Development
14 questions
Post Test Materi Cari_aman 2025
Quiz
•
Professional Development
20 questions
Negotiable Instruments
Quiz
•
Professional Development
20 questions
LPO - Trace e SIGA
Quiz
•
Professional Development
22 questions
TS5015FP_C4&5_Provide Guest Services & Attend to Guest's Lug
Quiz
•
Professional Development
15 questions
Universal Design for Learning
Quiz
•
Professional Development
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd 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
