Python Jr Quiz

Quiz
•
Computers
•
6th Grade
•
Hard
Sheema Begum
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
PowerPoint Techniques

Quiz
•
6th - 8th Grade
20 questions
Code.org Discoveries Conditional Blocks

Quiz
•
6th - 9th Grade
20 questions
chatbot python

Quiz
•
6th Grade
15 questions
Code.org Express Course Quiz 2

Quiz
•
6th - 8th Grade
18 questions
Computer Programming Vocabulary

Quiz
•
5th - 7th Grade
16 questions
Python programming

Quiz
•
6th - 12th Grade
20 questions
Class 8A Unit 9.1 Python Basic

Quiz
•
6th - 8th Grade
15 questions
Python Basics

Quiz
•
6th - 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
Appointment Passes Review

Quiz
•
6th - 8th 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
20 questions
Grammar Review

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

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

Quiz
•
6th Grade
18 questions
Company Logos

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

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

Quiz
•
6th - 8th Grade
10 questions
Networking Devices and Their Functions

Interactive video
•
5th - 8th Grade
20 questions
Binary Numbers Quiz

Quiz
•
6th - 8th Grade