
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
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade