
Python Basics Quiz

Quiz
•
Computers
•
9th Grade
•
Medium

Zubaida Al-Soudi
Used 4+ times
FREE Resource
55 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line of code prints Hello world! as one line of output?
print(Hello world!)
print("Hello", "world", "!")
print("Hello world!")
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line of code correctly obtains and stores user input?
input()
today_is = input
today_is = input()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is displayed by print("You entered:", name) if Sophia enters her name?
You entered:
You entered: Sophia
You entered: Sophia!
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which can be used as a variable name?
median
class
import
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is 2nd_input not a valid variable name?
it is a keyword
it starts with a digit
it is too long
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which would be a good name for a variable storing a zip code?
z
var_2
zip_code
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a string?
Hello!
29
"7 days"
Create a free account and access millions of resources
Similar Resources on Wayground
50 questions
G9 - Python - Quiz

Quiz
•
9th Grade
50 questions
Databases

Quiz
•
KG - 12th Grade
50 questions
Try Out OMBN Informarika V

Quiz
•
9th Grade
50 questions
Summer Quiz for Senior Class - Quiz Three

Quiz
•
9th - 12th Grade
50 questions
Kuis Pemrograman Python

Quiz
•
9th Grade
50 questions
RUTS Technology

Quiz
•
9th Grade - Professio...
50 questions
EXAM REVIEW: Computing Principles

Quiz
•
9th - 12th Grade
50 questions
Perform Computer Operations

Quiz
•
9th - 12th 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
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade