
Python operators and conditional statements
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Hard
Vimal Kumar
Used 8+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Pick out the correct output of the following python command:
Pick out the correct output of the following python command:
print(0 and 100)
100
True
0
False
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which one of the following is not a valid operator in python?
==
=!
**
//
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is not a valid operator in python?
<
or
is
=>
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the updated value of x if x = 9:
What will be the updated value of x if x = 9:
x //= 3
6
9
3
None of the above
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In python what is the default type of input data taken using input() function?
Integer
Object
Decimal
String
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Is there any limit of statements that can appear under an if block?
Yes, up to 10
No
Yes, up to 5
Can’t say
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What keyword would you use to add an alternative condition to an if statement?
elif
else if
elseif
None of the above
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
13 questions
Guess the Retro Computer 1
Quiz
•
KG - Professional Dev...
15 questions
Unit 1 lesson 1
Quiz
•
University - Professi...
10 questions
CodeMonkey Platform Management & Resources
Quiz
•
Professional Development
10 questions
Revisão LP 2023.1
Quiz
•
Professional Development
10 questions
INTO Artificial Intelligence
Quiz
•
University - Professi...
15 questions
Computer basics for beginners
Quiz
•
Professional Development
10 questions
GUESS THAT WORD IN CYBER!
Quiz
•
Professional Development
10 questions
Let's Play Together
Quiz
•
University - Professi...
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
Discover more resources for Computers
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
