
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
56 questions
Python Beginner Midterm

Quiz
•
9th Grade
50 questions
ECDL Python Lesson 7

Quiz
•
7th - 12th Grade
57 questions
Year 9 PA Test 1 and 2 Finals Sem 1 reviewer

Quiz
•
9th Grade
50 questions
TIK Kelas 9 Pemrograman

Quiz
•
9th Grade
60 questions
AQA GCSE Algorithms

Quiz
•
9th - 11th Grade
50 questions
VBA SET 1 G

Quiz
•
9th - 12th Grade
50 questions
OCR Computer Science Paper 2 Revision Quiz #2

Quiz
•
9th - 10th Grade
60 questions
Python Review

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade