
Python operators

Quiz
•
Computers
•
Professional Development
•
Hard
Aruna Rao
Used 16+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of print(2%6)
ValueError
0.33
2
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code
x = 100
y = 50
print(x and y)
True
100
False
50
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the expression print(-18 // 4)
-4
4
-5
5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of the following Python Expression
print(36 / 4)
9.0
9
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following assignment operator
y = 10
x = y += 2
print(x)
12
10
syntax error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of print(10 - 4 * 2)
2
12
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following Python code
x = 10
y = 50
if (x ** 2 > 100 and y < 100):
print(x, y)
100 500
10 50
None
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
04 - Python - Lists

Quiz
•
University - Professi...
20 questions
Ch.8 - Introducing Python

Quiz
•
6th Grade - Professio...
20 questions
Module 1 Exercise (Python)

Quiz
•
Professional Development
10 questions
Flutter_Q5

Quiz
•
Professional Development
10 questions
Computer components

Quiz
•
Professional Development
12 questions
JavaScript

Quiz
•
Professional Development
20 questions
Python Programming Fundamental

Quiz
•
Professional Development
10 questions
C++Quiz#1

Quiz
•
Professional Development
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade