Python Basics Review Quiz 5.1.5 - 5.1.11 CodeHS

Quiz
•
Computers
•
9th - 12th Grade
•
Easy
Michele Templeton Freeman
Used 1+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
How to display text on the screen in Python?
display
output
input
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is a sequence of characters in quotes called in Python?
integer
float
boolean
string
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What happens when you click Run in Python?
program ends
computer shuts down
console window closes
the interpreter executes the program
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is a Python program?
a conditional statement
a sequence of instructions
a mathematical equation
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which print statement will run first in a program with two print statements?
the second print statement
both print statements simultaneously
the first print statement
none of the print statements
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What type of quotes are used for printing inside parentheses?
brackets
double quotes
backticks
single quotes
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which Python code segment will display “Hello, world!” on the screen?
print("Hello, world!")
display "Hello, world!"
print "Hello, world!"
print(Hello, world!)
8.
FILL IN THE BLANK QUESTION
1 min • 2 pts
Type the code you would use to print the following to the screen:
I attend Riverside High School.
Similar Resources on Wayground
10 questions
Pensée computationnelle 2

Quiz
•
12th Grade
10 questions
1.2 Basic String Manipulation

Quiz
•
9th Grade
10 questions
CodeTigers Python 101

Quiz
•
KG - Professional Dev...
10 questions
Quiz1_HPB2021_2010t1

Quiz
•
1st - 12th Grade
9 questions
Basic Python Coding

Quiz
•
6th - 12th Grade
10 questions
CÙNG NHAU ÔN TẬP

Quiz
•
12th Grade
10 questions
Python Basics Quiz

Quiz
•
9th - 12th Grade
11 questions
Kuizi 1 - Python

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

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th 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
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
CTEA Computer Vocab Terms #1

Quiz
•
12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade