Python PRIMM L3

Quiz
•
Computers
•
6th Grade
•
Hard

Matthew Kelsall
Used 2+ times
FREE Resource
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: "))
Similar Resources on Wayground
7 questions
Preguntas de Intro. a la programación con python

Quiz
•
6th - 8th Grade
10 questions
Strings & Integers

Quiz
•
6th - 9th Grade
10 questions
Python Variables

Quiz
•
6th Grade
10 questions
Ввод вывод данных

Quiz
•
6th Grade - University
10 questions
Python Quiz-01

Quiz
•
6th - 10th Grade
10 questions
Maths in Python (EduBlocks)

Quiz
•
6th - 9th Grade
10 questions
Python L2 Input & Variable

Quiz
•
6th - 8th Grade
6 questions
Basic Geometry and Python Functions Quiz

Quiz
•
6th 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
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
21 questions
Input Output Storage Device

Quiz
•
5th - 8th Grade