
Python_elif_AND_OR_NOT
Authored by Lam Ken
Computers
8th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
圖中程式碼的輸出結果是什麼?
天氣很熱
天氣適中
天氣有點冷
天氣很冷
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
圖中程式碼的輸出結果是什麼?
優秀
良好
需要努力
無輸出
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
請填空完成程式,使其符合題意:
如果 age 小於 12 或大於等於 60,輸出 "票價為 10 元",否則輸出 "票價為 20 元"。
age >= 12 and age < 60
age < 12 or age >= 60
age > 12 or age < 60
age < 60 and age > 12
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
請填空完成以下程式,使其符合題意:
如果 is_student 為 True 且 has_card 為 True,輸出 "優惠票";否則輸出 "普通票"。
is_student or has_card
is_student and not has_card
is_student and has_card
not is_student and has_card
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
圖中程式碼的輸出結果是什麼?
條件成立
部分成立
條件不成立
無輸出
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
str vs int
Quiz
•
8th Grade
8 questions
9上2-1認識半導體
Quiz
•
7th - 9th Grade
10 questions
Grade 8
Quiz
•
8th Grade
9 questions
Data Processing Cycle
Quiz
•
7th - 8th Grade
10 questions
Алгоритми та програми
Quiz
•
7th - 9th Grade
10 questions
Cybersecurity
Quiz
•
8th - 12th Grade
10 questions
General Knowledge Quiz
Quiz
•
1st Grade - University
10 questions
Cyber Security
Quiz
•
8th - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade