Python - Operators and Conditional Statement

Quiz
•
Computers
•
3rd - 10th Grade
•
Hard
Aditya Sharma
Used 29+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Python basics

Quiz
•
6th - 8th Grade
12 questions
Python Print Statement

Quiz
•
6th - 10th Grade
15 questions
Intro to Java Loops

Quiz
•
9th - 12th Grade
15 questions
Python Quiz

Quiz
•
3rd - 4th Grade
12 questions
Python

Quiz
•
7th - 9th Grade
14 questions
9.1.2 - Starter Quiz

Quiz
•
7th - 11th Grade
10 questions
Python Statements

Quiz
•
5th - 7th Grade
12 questions
Ch-8 Iterative statements in Python

Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
12 questions
3-5 Digital Citizenship: Appropriate Use

Quiz
•
3rd - 5th Grade
10 questions
Keyboard Typing

Quiz
•
4th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade