
Py01-1
Authored by 鄭 傑
Computers
10th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
下列程式輸出為何?
print("Hello Python")
"Hello Python"
Hello Python
("Hello Python")
print("Hello Python")
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
要讀取使用者輸入的文字,要使用下列何種函式?
input()
output()
print()
input(input())
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
在print資料時,要以什麼標點符號區隔文字與變數?
逗號
空格
雙引號
括號
4.
MULTIPLE SELECT QUESTION
1 min • 1 pt
下列哪些為字串與變數的差別?
字串要用雙引號包起來,變數不用
字串為固定數值,變數可隨著程式執行改變
變數可以存放字串
變數可以做數學運算,字串不行
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
下列何種方式可以將讀取到的整數,存放在變數num裡
num = input()
num = int(input())
input() = num
int(input()) = num
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
何者為Python中除法的運算符號?
÷
/
\
─
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
下方程式輸出為何?
BMI = 25
print("BMI為",BMI)
BMI為 25
BMI為25
BMI = 25
無法執行
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?