

Python Applied Stream
Presentation
•
Computers, Education
•
•
Practice Problem
•
Medium
Ormac Designs
Used 2+ times
FREE Resource
24 Slides • 19 Questions
1
Week 1: Lesson 1

2
Introducing the concept of coding programs
Understanding the programming language
Discuss the purpose of programming and its usage
Perform a coding activity
Define Basic Elements of programming languages
Evaluate your new knowledge of coding
3
We are surrounded by computer programs. Many of these devices and gadgets that we use everyday are controlled by computer programs.
These machines all follow step-by-step instructions written by computer programmers.
4
5
Is a term used for computer programming.
Coding is often referred to as a piece of command given to a computer or a device to perform a specific action.
6
A computer language is often called a "programming language".
A programming language is a type of written language that tells computers what to do in order to work.
It used to make all the computer programs and computer software.
7
A programming language is like a set of instructions that the computer follows to do something.
8
A min-robot programmed to move by it's own, but following certain instructions, which is following black line.
9
10
Fill in the Blanks
What programming languages do we have? Give one language name
Type answer...
11
12
Open Ended
Discussion: What is the Purpose of Programming?
13
14
Code or Program: is a set of instructions to tell the computer what to do
Bug: is an error in a code or program
Debug: is the process of fixing the error
Execute a program: is the process of running the set of instructions
programming language: a language to communicate with computers
Programmer: a person who writes a program
15
Choose a language
Use a code editor or software to program
On a piece of paper, write the steps you want your device to do
Code the instructions to be performed
Compile and debug your program
Run and Execute the program
16
Coding a calculator to add 2 numbers.
17
A Blue Bot wants your help in making a cake. Write the steps for cake recipe that Blue Bot needs to follow to make a cake.
18
Multiple Select
Objectives Covered
Introducing the concept of coding programs
Understanding the programming language
Discuss the importance of programming and it's usage
Perform a coding activity
Define Basic Elements of programming languages
19
Input Data
Arithmetic Operations
Conditional Statements
Looping Statements
Output Data
20
Basic Elements of Programming Languages and
Introducing C++ programming Language
so I want you to research some basic elements of C++
21
Multiple Choice
What is programming?
a set of related activities
a recipe
giving the computer a set of commands
someone who knows how to program
22
Multiple Choice
What is a "bug" in programming?
an error in a code
a scratch on the screen
something is wrong with the computer
none of the above
23
Poll
What is the purpose of a programming Language?
To understand English
To help people communicate with computers and electronic devices
To be a computer translator
To stop air pollution
24
Multiple Choice
What is "debugging" in programming?
the process of finding and fixing errors in programming
a programming language of the web
giving the computer a set of commands
an error in a code
25
Poll
Which of the following is not a programming language?
Java
C++
Python
Android
26
Multiple Choice
print("Hello world!")
27
Multiple Choice
28
Multiple Choice
What is the Python built-in function used to display numbers and text on the screen?
input
output
command
29
Multiple Choice
30
Data types and arithmetic
Introduction to Python
Arithmetic operators
Arithmetic
Operator
Example
Output
Addition
+
2 + 10
12
Subtraction
-
9 – 6
3
Multiplication
*
5 * 4
20
Division
/
5 / 2
2.5
Floor division
//
7 // 2
3
Remainder
%
7 % 3
1
31
Multiple Choice
Which of these is the symbol for divide in python?
÷
/
>
32
Data types and arithmetic
Introduction to Python
Sleep calculator
• Create a program to calculate how many hours per
week you sleep
• Try this code and find the problem!
hourspernight =input("How many hours per night do
you sleep? ")
hoursperweek = hourspernight * 7
print ("You sleep",hoursperweek,"hours per week")
33
Data types and arithmetic
Introduction to Python
Sleep calculator
• Extend the problem to find the total number of hours
spent sleeping in a month
• Assume an average of 4.35 weeks per month
hourspernight = input("How many hours per night do
you sleep? ")
hoursperweek =float(hourspernight) * 7
print ("You sleep",hoursperweek,"hours per week")
hourspermonth =hoursperweek * 4.35
print("You sleep",hourspermonth,"hours per month")
34
Data types and arithmetic
Introduction to Python
Sleep calculator
• Now find the equivalent number of days per month
you sleep for!
35
Data types and arithmetic
Introduction to Python
Rounding
hourspermonth = 228.37499999999997
round(hourspermonth) = 228
round(hourspermonth,2) = 228.37
hourspernight = input("How many hours per night do you sleep? ")
hoursperweek = float(hourspernight) * 7
print ("You sleep",hoursperweek,"hours per week")
hourspermonth = hoursperweek * 4.35
hourspermonth = round(hourspermonth)
print (“\nYou sleep",hourspermonth,"hours per month")
36
Data types and arithmetic
Introduction to Python
Choosing data types
Data
Example
Data Type
Code
Age
14
Integer
int(age)
Shoe Size
6.5
Float
Price
14.99
Postcode
Height
Quantity in Stock
Telephone Number
37
Data types and arithmetic
Introduction to Python
Defining variable data types
• Python automatically assigns a data type to a
variable
• You can override this to manually define or change
the data type using:
•str()
str(age)
•int()
int(goals_scored)
•float() float(share_price)
• This is called Casting
38
Multiple Choice
name = 'Dave'
greeting = "Good morning" + name
print (greeting)
39
Multiple Choice
What do you get when you CLICK ENTER AFTER YOU type the following code:
print(Hi Python!)
SyntaxError
HI PYTHON!
"HI PYTHON!"
print(HI PYTHON!)
None of the above
40
Multiple Choice
What do you get when you CLICK ENTER AFTER YOU type the following code:
print("Hi Python!")
SyntaxError
HI PYTHON!
"HI PYTHON!"
print(HI PYTHON!)
None of the above
41
Multiple Choice
#What is the output?
1,2,3,4,5
0,1,2,3,4
1,2,3,4
5,4,3,2,1
42
Multiple Choice
#What is the output?
a, b, c, d, e
a, a, a, a, a
0,1,2,3,4
e, d, c, b, a
43
Multiple Choice
for number in range(6):
print(number)
Week 1: Lesson 1

Show answer
Auto Play
Slide 1 / 43
SLIDE
Similar Resources on Wayground
36 questions
Network & the Internet
Presentation
•
5th - 7th Grade
35 questions
Bài 3 - Máy tính những người bạn mới
Presentation
•
3rd Grade
38 questions
1st Nine Weeks Review
Presentation
•
6th Grade
40 questions
Ôn tập Tin 8 giữa kỳ 1, 23-24
Presentation
•
1st Grade
36 questions
String Manipulation & Methods
Presentation
•
9th - 10th Grade
38 questions
מושגים
Presentation
•
10th Grade - University
40 questions
Input, output and keyboard
Presentation
•
2nd Grade
37 questions
1-arduino
Presentation
•
7th Grade
Popular Resources on Wayground
10 questions
Safety Day 2026 – Student Review
Quiz
•
9th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
15 questions
Rounding Decimals
Quiz
•
5th Grade
Discover more resources for Computers
32 questions
Unit 3: Intro to App Design (APCSP 22-23, Code.org)
Quiz
•
9th - 12th Grade
43 questions
Computer & Internet Basics
Quiz
•
6th Grade
31 questions
Computer Basics Review-2
Quiz
•
6th Grade
23 questions
Google Docs
Interactive video
•
3rd Grade
30 questions
[AP CSP] Spreadsheets Review
Quiz
•
9th Grade
10 questions
Digital Citizenship: Part 1
Quiz
•
6th - 8th Grade
15 questions
AP CSP - Code.org Unit 3 Review
Quiz
•
9th - 12th Grade
40 questions
Introduction to Microsoft Word
Quiz
•
8th - 12th Grade