
Python PRIMM L3
Authored by Matthew Kelsall
Computers
6th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in Python?
A type of fruit
A container for storing data values
A type of Python snake
A mathematical operation
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a data type in Python?
Elephant
String
Bicycle
Mountain
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What function is used to get input from a user in Python?
print()
input()
output()
enter()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you want to store the number 42 in a variable called `age`, which of the following is the correct way to do it in Python?
age = "42"
age = 42
42 = age
"age" = 42
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you convert a user's input into an integer in Python?
int(input())
str(input())
float(input())
bool(input())
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of getting a user's name as input in Python?
name = input("Enter your name: ")
name = int("Enter your name: ")
name = str("Enter your name: ")
name = bool("Enter your name: ")
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of getting a user's age as an integer input in Python?
age = input("Enter your age: ")
age = int(input("Enter your age: "))
age = str(input("Enter your age: "))
age = float(input("Enter your age: "))
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
8 questions
TRẮC NGHIỆM POWER OPTIONS
Quiz
•
3rd - 6th Grade
10 questions
Python
Quiz
•
3rd - 10th Grade
10 questions
Photography project
Quiz
•
3rd - 6th Grade
11 questions
What is a computer
Quiz
•
KG - University
10 questions
Scratch - part 1
Quiz
•
6th Grade
10 questions
Internet services-Venesha
Quiz
•
3rd - 6th Grade
9 questions
Introduction To Python
Quiz
•
6th - 8th Grade
10 questions
Computer Devices and its Operating System
Quiz
•
4th - 8th 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