
Python Jr Quiz
Authored by Sheema Begum
Computers
6th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in Python?
A type of Python snake
A reserved word that cannot be used for anything other than its pre-defined purpose
A name that is used to denote something or a value is called a variable
A tool used to control the flow of a program
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data type is the number 5 in Python?
int
float
str
bool
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to represent a Boolean value of True in Python?
"True"
1
True
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following operation: 3 *2?
6
9
5
8
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the == operator do in Python?
Assigns a value
Compares two values to see if they are equal
Adds two values together
Subtracts one value from another
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you start writing an if statement in Python?
if condition:
if (condition)
if [condition]
if condition do:
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code snippet? ```python x = 10 if x > 5: print("Hello") else: print("Goodbye") ```
Hello
Goodbye
SyntaxError
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
2018 Winter Olympics
Quiz
•
5th - 12th Grade
20 questions
SDA Chapter 1A VOCABULARY
Quiz
•
6th - 8th Grade
20 questions
Microsoft PPT. - Scavenger Hunt
Quiz
•
6th - 12th Grade
12 questions
Premiere Pro CC File Formats
Quiz
•
6th Grade - University
17 questions
Presentation Purpose
Quiz
•
6th - 8th Grade
15 questions
History of Computers
Quiz
•
6th - 12th Grade
16 questions
Python Basics
Quiz
•
KG - University
20 questions
7.5 MCQ Assessment
Quiz
•
6th 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