抄來的Python測驗

抄來的Python測驗

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

系統平臺與電腦硬體測驗

系統平臺與電腦硬體測驗

9th Grade

15 Qs

EV3高二上期末測驗

EV3高二上期末測驗

7th Grade - University

10 Qs

Arduino LCD I2C模組使用教學

Arduino LCD I2C模組使用教學

9th - 12th Grade

10 Qs

Form 1

Form 1

9th Grade

11 Qs

智力大測試(中四級)

智力大測試(中四級)

9th Grade

14 Qs

3-1資料處理

3-1資料處理

7th Grade - University

10 Qs

RAM&HDD/SSD

RAM&HDD/SSD

10th - 12th Grade

13 Qs

C++程式

C++程式

11th Grade - University

11 Qs

抄來的Python測驗

抄來的Python測驗

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

yen chin

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

Python是哪一種程式語言?

編譯式

直譯式

2.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

下列哪一行Python程式語言可以正常在螢幕上顯示出Hello World的文字?

Print("Hello World")

print("Hello World')

print('Hello World')

print(Hello World)

3.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

變數 = input(['提示字串'])

請問,上列程式的中括號[ ]代表的意思是?

串列

四則運算

可省略

裝飾用

4.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

Media Image

請問,此程式執行結果為何?

79

2364

錯誤訊息

5.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

若a="11",b=22,想使用print函式將兩個變數相加,且印出結果為33,應使用下列哪一段程式達成目標?

print(a+b)

print(a+str(b))

print(int(a)+b)

print(a+int(b))

6.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Media Image

此段程式的輸出為何?

我目前就讀a, 本校師生共計b人

我目前就讀{0}, 本校師生共計{1}人

我目前就讀{0}, 本校師生共計{1:.0f}人

我目前就讀TNFSH, 本校師生共計1314人

7.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Media Image

此段程式碼的執行結果為何?

314.16

314.00

314.162f

語法錯誤

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?