
Python Basics Quiz
Quiz
•
Other
•
Professional Development
•
Practice Problem
•
Hard
geet s
Used 3+ times
FREE Resource
Enhance your content in a minute
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the value of the following Python expression? 4 + 3 % 5
7
1
2
4
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to define a block of code in Python language?
Brackets
All of the mentioned
Indentation
Key
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code snippet? print(3 ** 2)
8
5
6
9
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What arithmetic operators cannot be used with strings in Python?
–
*
+
All of the mentioned
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code? print(5 // 2)
None of the mentioned
2
3
2.5
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you insert COMMENTS in Python code?
{This is comment}
#This is comment
/*This is comment*/
//This is comment
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to output the type of a variable or object in Python?
print(type(x))
print(typeof(x))
print(type x)
print(typeof x)
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
10 questions
All About MS Teams
Quiz
•
Professional Development
10 questions
Первая помощь при ранах
Quiz
•
Professional Development
10 questions
QIW2 Chapter 2
Quiz
•
Professional Development
10 questions
SSO Briefing Day 2024
Quiz
•
Professional Development
15 questions
Rapat Evaluasi Badan Adhoc
Quiz
•
Professional Development
10 questions
Anime Quiz
Quiz
•
KG - Professional Dev...
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
10 questions
Refreshment materi Credit Limit
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
