
Basic Python Concepts for Students

Quiz
•
Journalism
•
8th Grade
•
Hard
Keegan Aherne
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to declare a variable in Python?
let x = 10
x := 10
var x : int = 10
x = 10
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a list in Python?
You create a list in Python by using parentheses, e.g., my_list = (1, 2, 3).
You create a list in Python with the list() function, e.g., my_list = list(1, 2, 3).
You create a list in Python using square brackets, e.g., my_list = [1, 2, 3].
You create a list in Python using curly braces, e.g., my_list = {1, 2, 3}.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol is used for comments in Python?
#
;
//
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What function is used to print output to the console?
output()
log()
print()
display()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you define a function in Python?
function_name(parameters) =>
def function_name(parameters):
function function_name(parameters)
create function function_name(parameters)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of 5 + 3 in Python?
8
6
10
9
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a loop that runs 5 times in Python?
for i in range(10): pass
for i in range(5): pass
while i < 5: pass
for i in range(5, 10): pass
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Journalism Ethics

Quiz
•
6th - 8th Grade
11 questions
Aviation Industry and Entertainment Quiz

Quiz
•
8th Grade
15 questions
Aviation Industry and Entertainment Quiz

Quiz
•
8th Grade
16 questions
Estatuto do Idoso - Coesão textual

Quiz
•
8th Grade
18 questions
Journalism Jargon Review

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Journalism
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

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

Interactive video
•
6th - 10th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
4 questions
End-of-month reflection

Quiz
•
6th - 8th Grade
25 questions
SS8G1

Quiz
•
8th Grade