
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"
Create a free account and access millions of resources
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
TEST EXCEL
Quiz
•
9th - 12th Grade
50 questions
LATIHAN PAT INFORMATIKA KELAS X
Quiz
•
9th - 12th Grade
50 questions
Section 2.1 Input Devices and Their Uses
Quiz
•
9th Grade
50 questions
2nd QUARTERLY EXAM in ICT 9, CHS
Quiz
•
9th Grade
59 questions
Working with Files
Quiz
•
8th - 12th Grade
50 questions
HTML
Quiz
•
8th Grade - University
50 questions
SAINS KOMPUTER TINGKATAN 4 BAB 1
Quiz
•
3rd Grade - University
50 questions
Exam of the first computer CH 1 , 2
Quiz
•
9th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
