

Basic Python Part 1 Review
Presentation
•
Computers
•
12th Grade
•
Practice Problem
•
Easy
Catherine L Hulcher
Used 3+ times
FREE Resource
31 Slides • 28 Questions
1
2
3
4
Labelling
Label the command
command to display text
Text must be enclosed by quotes
anything displayed in parentheses
5
Multiple Choice
Which Python code segment will display “Hello, world!” on the screen?
display Hello, world!
print "Hello, world!"
"Hello, world!"
print("Hello, world!")
6
Multiple Choice
What does the following Python code display?
7
8
Dropdown
9
10
11
12
Dropdown
13
14
15
Dropdown
16
17
Dropdown
18
19
20
Dropdown
21
22
Labelling
Label the statement
variable name
value
assignment operator
23
24
Multiple Choice
What will this code print?
<class 'str'>
str
greeting
Hello world
25
26
Multiple Choice
What will this print?
<class 'int'>
int
50
my_number
27
28
Match
Match definitions with statements
variable = value
type(element)
print(“text”)
Assigns a value to a variable name
Determines the type of an element
Prints entered text
Assigns a value to a variable name
Determines the type of an element
Prints entered text
29
Multiple Choice
What type is the following variable?
x = "Hi there"
float
integer
boolean
string
30
Multiple Choice
What does the following Python program print?
I am 6 feet tall
I am6feet tall
I am
6
feet tall
x
y
z
31
32
33
Labelling
Label the statement
variable name
function to receive input from user
The prompt
34
Dropdown
35
36
Multiple Choice
What will this statement print?
Age: 22
22
<class 'str'>
Age:
22
text
37
38
Multiple Choice
How to correct this?
number = int(input("Number: "))
print(number + 1)
number = print(number + 1)
print(number + 1)
39
40
41
42
Multiple Choice
On which line will this program call an error in the console?
1
2
3
4
43
44
Multiple Choice
Suppose you run the following Python program:
x = input("Enter some text: ") print(x)
While the program is running, after the prompt has been printed, the user types the following and presses Enter:
Delaware ratified the U.S. Constitution in 1787.
What does the program print?
Delaware ratified the U.S. Constitution in 1787.
Delaware ratified the U.S. Constitution in
Delaware
(The program does not print anything.)
45
46
47
Multiple Choice
What does the following Python program print?
x = 12 % 4
print(x)
0
1
3
4
48
Multiple Choice
What does the following Python program print?
x = 9 + 6 / 3 * 2 - 1
print(x)
9
15
21
12
49
50
51
Dropdown
52
53
Multiple Choice
How do you correct this?
print("a" + str(3))
print("a" + 3))
str(3))
54
55
Multiple Choice
Which of the following Python programs will not run?
56
Multiple Choice
Which of the following is NOT a program that will produce the following output?
hellohellohello
57
58
Multiple Choice
Which of the following is NOT a valid type of comment in Python?
%% This is a comment
# This is a comment
" " "
This is a comment
" " "
59
Multiple Choice
Which of the following best describes the main purpose of comments?
Comments create better spacing in programs.
Comments describe your program so other people can read it more easily.
Comments warn the people running the program about potential problems with the program.
Show answer
Auto Play
Slide 1 / 59
SLIDE
Similar Resources on Wayground
55 questions
Ch 1 Observation Skills
Presentation
•
12th Grade
54 questions
Digital & Communication Systems
Presentation
•
12th Grade
50 questions
Ujian Microsoft Word 2025
Presentation
•
University
52 questions
Chem A Unit 3
Presentation
•
12th Grade
54 questions
In Norway, Global Seed Vault guards genetic resources
Presentation
•
12th Grade
54 questions
Unit 2 Anatomy: Skeletal Muscle
Presentation
•
12th Grade
53 questions
AMH1 (AB Tech), Ch. 19: American Empire
Presentation
•
12th Grade
52 questions
Structura socială
Presentation
•
11th - 12th Grade
Popular Resources on Wayground
20 questions
STAAR Review Quiz #3
Quiz
•
8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
6 questions
Marshmallow Farm Quiz
Quiz
•
2nd - 5th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
20 questions
Inferences
Quiz
•
4th Grade
19 questions
Classifying Quadrilaterals
Quiz
•
3rd Grade
12 questions
What makes Nebraska's government unique?
Quiz
•
4th - 5th Grade
Discover more resources for Computers
20 questions
Grammar
Quiz
•
9th - 12th Grade
31 questions
Easter Trivia
Quiz
•
KG - 12th Grade
16 questions
Circles - Equations, Central & Inscribed Angles
Quiz
•
9th - 12th Grade
46 questions
Unit 4 Geosphere Test Review
Quiz
•
9th - 12th Grade
30 questions
TSI Writing/Revising and Editing Practice Test
Quiz
•
12th Grade
10 questions
Climate Change and Its Impact
Interactive video
•
9th - 12th Grade
35 questions
Venn Diagrams, Theoretical, & Experimental Review
Quiz
•
9th - 12th Grade
20 questions
Food Chains and Food Webs
Quiz
•
7th - 12th Grade