
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
57 questions
MTA Mobility and Devices
Quiz
•
9th - 12th Grade
50 questions
" LATIHAN SOAL US TIK "
Quiz
•
7th - 9th Grade
50 questions
TIK Kelas 9
Quiz
•
9th Grade
57 questions
Ulangkaji ASK T1 Bab 2.2 Ukuran Data
Quiz
•
1st - 12th Grade
50 questions
2학기 3-4단원
Quiz
•
7th Grade - University
50 questions
EXAM REVIEW: Computing Principles
Quiz
•
9th - 12th Grade
50 questions
Databases
Quiz
•
KG - 12th Grade
50 questions
CSS 9- Third Quarter Periodic Examination
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
