Python uses
Python Basics

Quiz
•
Computers
•
11th Grade
•
Hard
KK Singh
Used 170+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Blocks
Braces
Indentation
Parentheses
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Pyhton uses which of the following as translator?
Interpreter
Compiler
Both
Assembler
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
In which language is the Python programming created?
C
C++
Pyhton
All of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
When a string does not fit in single line, one can use the following quotes for multiple line string?
Single Quotes
Double Quotes
Triple Quotes
Quadruple
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
a=True; b=True; c=False
if a or b and c:
print('True')
else:
print('False')
False
True
False or True
No Output
Answer explanation
As per the precedence of operator the precedence of and is higher then or and therefore b and c will be evaluated first and gives False output and a is True and b and c is False so True or False will give True
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
The output -12%5 is
-3
-2
3
2
Answer explanation
R = N-Q*D
= -12-(-12//5*5)
=-12 + 15
= 3
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
a=500;b=300
print(a*bool(a//b) + b*bool(b//a))
will print?
b
a
500
300
Answer explanation
a*bool(a//b) + b*bool(b//a)
a=500 and b = 300
500*bool(500//300) + 300*bool(300//500)
500*bool(1) + 300 *bool(0)
500 + 0
So it print 500 as the greater value
Create a free account and access millions of resources
Similar Resources on Quizizz
11 questions
Python Boolean

Quiz
•
11th - 12th Grade
12 questions
Data visualization

Quiz
•
10th Grade - University
14 questions
Python Syntax

Quiz
•
6th - 12th Grade
15 questions
PYTHON PROGRAMMING FUNDAMENTALS

Quiz
•
11th Grade
10 questions
Data Representation - Character Sets

Quiz
•
2nd - 12th Grade
15 questions
Scope of Variables in Python

Quiz
•
1st Grade - Professio...
10 questions
Tes Sumatif Fase E

Quiz
•
9th - 12th Grade
8 questions
Python Basics Review Quiz 5.1.5 - 5.1.11 CodeHS

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Computers
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
10 questions
Right Triangles: Pythagorean Theorem and Trig

Quiz
•
11th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade
10 questions
GPA Lesson

Lesson
•
9th - 12th Grade
15 questions
SMART Goals

Quiz
•
8th - 12th Grade