
Python Basics Quiz
Quiz
•
Computers
•
9th Grade
•
Practice Problem
•
Medium
Zubaida Al-Soudi
Used 4+ times
FREE Resource
Enhance your content in a minute
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"
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
50 questions
Excel - Hàm
Quiz
•
9th Grade - University
54 questions
Programming Concepts
Quiz
•
9th - 12th Grade
50 questions
SOAL LATIHAN PERSIAPAN PAS GANJIL 9
Quiz
•
9th Grade
60 questions
แนวข้อสอบ 2567
Quiz
•
6th Grade - University
50 questions
Asas Sains Komputer Tingkatan 3
Quiz
•
9th - 12th Grade
50 questions
KISI-KISI PAS KELAS 8 SEM GANJIL 2024-2025
Quiz
•
8th Grade - University
50 questions
CUỘC CHIẾN KHỞI ĐẦU 12345
Quiz
•
9th - 12th Grade
55 questions
ESTILOS EN WORD
Quiz
•
9th 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
