Python Baseline Quiz for Y11 Students

Quiz
•
Computers
•
10th Grade
•
Hard
Paul Shaddick
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is the correct way to declare a variable called `age` and assign it the value 15 in Python?
age == 15
age = 15
int age = 15
15 = age
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What data type will the variable `name` have after the following code is executed? name = "Alice"
int
float
string
bool
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is NOT a simple data type in Python?
int
float
string
list
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following code? print(7.5)
7,5
"7.5"
7.5
75
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you get input from a user and store it in a variable called `user_input`?
user_input = input()
input(user_input)
user_input == input()
user_input = get.input()
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code? print("Hello, World!")
Hello, World!
"Hello, World!"
print("Hello, World!")
Hello World
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is the correct way to use a for loop to print numbers from 1 to 10 (inclusive)?
for i in range(1, 11): print(i)
for i in range(1, 10): print(i)
for i in range(0, 10): print(i)
for i in range(1, 12): print(i)
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Python End of Topic Quiz

Quiz
•
8th Grade - University
15 questions
Просвещения Web-программирование №10 Тест 2024

Quiz
•
9th - 12th Grade
16 questions
Python Unit 3 Codehs

Quiz
•
9th - 12th Grade
21 questions
Basic Python Console Operations

Quiz
•
10th Grade - University
15 questions
Ôn tập KTGK. Bài 18. Các lệnh vào ra đơn giản

Quiz
•
10th Grade
20 questions
Grade 7 Python Programming Quiz

Quiz
•
7th Grade - University
20 questions
Python Basics Review (TSK)

Quiz
•
9th - 12th Grade
20 questions
Python Basics (CodeHS)

Quiz
•
7th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade