
G9-basic python review
Presentation
•
Computers
•
9th Grade
•
Practice Problem
•
Easy
Adeline Jia
Used 3+ times
FREE Resource
9 Slides • 22 Questions
1
Python review
2
Input, Output & Variables
What do you think is happening?
3
How do we output text onto the screen?
4
How do we ask the user for an input and sore what they type in?
5
Multiple Choice
what is the output of the following?
print("Welcome")
Welcome
"Welcome"
'Welcome'
Welcome"
6
Multiple Choice
print("welcome friend"+" "+"ha ha")
welcome friend
welcome friend ha ha
ha ha
welcome friend + ha ha
7
Example
8
Open Ended
你可以使用IDLE编写Puthon程序,然后将代码复制粘贴到此处。
题目说明:Write an algorithm that asks the user to enter their favourite colour.
then outputs the sentence “Your favourite colour is colour” .
(where colour is the inputted string).
9
Open Ended
你可以使用IDLE编写Puthon程序,然后将代码复制粘贴到此处。
题目说明:Enter the length, width, and depth of a rectangular swimming pool.
Write a program to calculate the volume of water required to fill the pool and output the volume.
10
Decisions - Selection
What will this program print if a user enters 25?
11
Define: conditional
12
Multiple Choice
What best describes a conditional?
I will do what I want
If the answer is no, then I'll do something
If it doesn't snow I will wear my sno boots to school
If the answer is yes, the I'll do something
13
Multiple Choice
What will this program print if a user enters 30 ?
It's really warm in here!
We have good weather today
syntax error
are u okay?
14
Multiple Choice
What will this program print if a user enters 20 and 25 ?
It's really warm in here!
We have good weather today
syntax error
u are cute
15
Open Ended
What is the output of this program?
请描述这段程序的输出结果
16
Fill in the Blanks
17
Fill in the Blanks
18
Fill in the Blanks
19
Fill in the Blanks
20
Comparison operators
AND returns True only if both the operands are True else it returns False.
OR returns False only if both the operands are False else it returns True.
NOT is the opposite of it
21
Multiple Choice
What is the output?
a not equals 10
a equals 10
22
Multiple Choice
What is the output?
Their product will be negative
Their product will be positive
23
Open Ended
你可以使用IDLE编写Puthon程序,然后将代码复制粘贴到此处。
题目说明:输入三个数,存在变量a, b, c中,通过 if-else 比较,找出最大的数字并输出。
24
Iterations in Python
25
Open Ended
what does the range function do?
程序的运行结果是?
26
Multiple Choice
*提示:你可以在IDLE中尝试这段代码
What is the output of the following:-
x = "123"
for i in x:
print("a")
x
1
a
1
2
3
x
1
2
3
a
a
a
27
Multiple Choice
*提示:你可以在IDLE中尝试这段代码
Choose the correct answer
for i in "python":
print(i)
Syntax Error
p
y
t
h
o
n
p?y?t?h?o?n?
python
28
Open Ended
你可以使用IDLE编写Puthon程序,然后将代码复制粘贴到此处。
题目说明:使用for循环,打印出如图的样子。
29
Open Ended
你可以使用IDLE编写Puthon程序,然后将代码复制粘贴到此处。
题目说明:使用for循环,打印出如图的样子。
30
Open Ended
你可以使用IDLE编写Puthon程序,然后将代码复制粘贴到此处。
题目说明:使用for循环,打印出如图的样子。
31
Open Ended
你可以使用IDLE编写Puthon程序,然后将代码复制粘贴到此处。
题目说明:提示用户输入N个数字,然后计算并显示其平均值。用户必须在程序开始时提供N的值。
Python review
Show answer
Auto Play
Slide 1 / 31
SLIDE
Similar Resources on Wayground
25 questions
2022-AMC 10A
Presentation
•
8th Grade
25 questions
九上自然1.1時間的測量
Presentation
•
9th Grade
27 questions
兩河流域
Presentation
•
9th Grade
28 questions
生於憂患 死於安樂 補充影片
Presentation
•
9th Grade
24 questions
東北亞生存特派員
Presentation
•
8th Grade
24 questions
christmas!
Presentation
•
8th Grade
23 questions
第四課
Presentation
•
8th Grade
25 questions
8-1男仔人最溫柔个名仔
Presentation
•
8th Grade
Popular Resources on Wayground
24 questions
PBIS-HGMS Day 10
Quiz
•
6th - 8th Grade
10 questions
HCS SCI 03 Summer School Review 3
Quiz
•
3rd Grade
11 questions
Home Scope
Quiz
•
7th - 8th Grade
15 questions
HCS SCI 05 Summer School Assessment 3 Review
Quiz
•
5th Grade
35 questions
Lufkin Road Middle School Student Handbook & Policies Assessment
Quiz
•
7th Grade
18 questions
Geo 11.3 Area of Circles and Sectors
Quiz
•
9th - 11th Grade