
Python - Operators and Conditional Statement
Authored by Aditya Sharma
Computers
3rd - 10th Grade
Used 29+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the given expression find out the operator :
x - y
Arithmetic Operators
Bitwise Operators
Assignment Operators
Logical Operators
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what will be the output of the given code:
x = 400
if (X % 2 == 0):
print(" You are a good Programmer")
else :
print("You are Pro Level Programmer")
You are a good Programmer
You are Pro Level Programmer
Nothing will be Printed
Error Message
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To assign a value to a variable which operator is used ?
x = 5
Arithmetic
Logical
Assignment
Equality
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Find out the output of the given code :
a = 20
b = 15
c = 15.0
if( b == c ):
print("Equal")
else :
print("Not Equal")
Equal
Not Equal
Error
Nothing Will be printed
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Find out the output of the given code :
x = 20
y = 15
if (x != y):
print("False")
else :
print("True")
True
False
Error
Nothing Will be Printed
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Find Out the output of the given code :
a = 5
b = 3
if ( a > 4 and b > 2):
print(" Good Morning! ")
else :
print(" Good Evening!")
Error
Nothing will be printed
Good Evening!
Good Morning!
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
which type of data is this :
Odd = [ 1, 3, 5, 7, 9]
Int
Set
List
Tuple
Access all questions and much more by creating a free account
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
7 ICT Sem 2 Reviewer
Quiz
•
7th Grade
13 questions
Nhập môn HTML
Quiz
•
6th - 9th Grade
12 questions
Grade 4 - Keywords
Quiz
•
4th Grade
10 questions
Program Remedial Penilaian Harian 1 Genap 2023/2024
Quiz
•
7th Grade
10 questions
Browsers
Quiz
•
2nd - 3rd Grade
10 questions
💯 Quiz 1:Work with Fractions in Google Sheets
Quiz
•
8th Grade
15 questions
7ICT - Algorithms Revision Quiz
Quiz
•
7th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade