
Python OOP Lesson 1 Part 2
Presentation
•
Computers
•
University
•
Hard
Karen Ahmed
Used 14+ times
FREE Resource
4 Slides • 5 Questions
1
Object-Oriented Programming Lesson 1
Procedural Python
2
Python Basics
print() outputs text to the screen.
input() accepts user input.
Variables need to be assigned a value before they can be used.
Selection is made using if-else or if-elif-else statement blocks.
Python uses indentation for selection, iteration and functions.
Functions are defined with the keyword def.
Strings need to be surrounded with quotes
3

QuickCalculator2 - Replit
You can open this webpage in a new tab.
4
Multiple Choice
Which function outputs text to the terminal?
output()
write()
print()
type()
5
Multiple Choice
What is the Python syntax for creating a variable and assigning the number 10 to it?
variable_name == 10
variable_name = 10
def variable_name = 10
new variable_name = 10
6
Multiple Choice
What is the output of this code?
cool_number
210
42
7
Multiple Choice
Which character is used for a comment in Python?
#
*
"
/
8
Multiple Choice
What happens if we run this code in Python?
"message" is printed
"What a cool message!" is printed
Python throws a syntax error
9

GuessTheNumberGame - Replit
You can open this webpage in a new tab.
Object-Oriented Programming Lesson 1
Procedural Python
Show answer
Auto Play
Slide 1 / 9
SLIDE
Similar Resources on Wayground
6 questions
Lección nomenclatura
Presentation
•
12th Grade
9 questions
CHRISTMAS TRIVIA GAME
Presentation
•
Professional Development
9 questions
Resumen
Presentation
•
University
6 questions
Sintesis
Presentation
•
University
6 questions
INTRODUCING YOURSELF
Presentation
•
University
6 questions
Making a Budget: Managing Money
Presentation
•
University
9 questions
Database Normalization
Presentation
•
12th Grade - University
8 questions
8- Licencia y salario vacacional
Presentation
•
University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations
Quiz
•
6th - 8th Grade
10 questions
HCS SCI 03 Summer School Assessment 2
Quiz
•
3rd Grade
11 questions
Home Scope
Quiz
•
7th - 8th Grade
12 questions
2026 TAP Technology in the Classroom
Presentation
•
Professional Development
15 questions
HCS SCI 05 Summer School Assessment 2 Review
Quiz
•
5th Grade
15 questions
HCS SCI 04 Summer School Review 2
Quiz
•
4th Grade
59 questions
Geometry Unit 3 Review
Quiz
•
9th - 12th Grade
14 questions
FAST ELA READING SMAPLE TEST MATERIALS
Passage
•
3rd Grade