Python(二)

Python(二)

9th Grade

10 Qs

quiz-placeholder

Similar activities

系統軟件mc

系統軟件mc

9th - 12th Grade

10 Qs

1920 S4 ICT T1 Rev 2

1920 S4 ICT T1 Rev 2

9th - 12th Grade

10 Qs

All Hands Meeting_July

All Hands Meeting_July

1st - 10th Grade

11 Qs

mBot Q&A1-循序+重複結構

mBot Q&A1-循序+重複結構

9th - 12th Grade

6 Qs

EV3 基本常識測驗(一)

EV3 基本常識測驗(一)

5th Grade - University

10 Qs

演算法

演算法

7th - 9th Grade

10 Qs

雲端從業人員Module 9 知識點檢查

雲端從業人員Module 9 知識點檢查

9th - 12th Grade

10 Qs

資安素養3~網路行為的法律責任

資安素養3~網路行為的法律責任

3rd - 12th Grade

10 Qs

Python(二)

Python(二)

Assessment

Quiz

Computers

9th Grade

Hard

Created by

Ng Y

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

以下那程式碼有何錯誤?

from microbit import *

Display.scroll("Well done!")

form

Import

display

Scroll

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

以下那程式碼屬於什麼錯誤?

from microbit import *

Display.scroll("Well done!")

文字錯誤

語法錯誤

邏輯錯誤

數字錯誤

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

以下那程式碼屬於什麼錯誤?

from microbit import *

test1 = "8"

test2 = "11"

average = int(test1+test2) / 2

文字錯誤

語法錯誤

邏輯錯誤

英文錯誤

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

以下程式執行時所顯示的結果是:

print( 3, 2, 1, "GO!")

3, 2, 1, "GO!"

3, 2, 1, GO!

3 2 1 "GO!"

3 2 1 GO!

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

在 Python 中設定一些變數的值,

寫出指令的輸出,如果指令有錯誤,則

填上「錯誤」。

w = 11

x = "22"

y = "33"

z = 0

執行指令:print(int(x + y))

2233

"22" "33"

55

錯誤

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

在 Python 中設定一些變數的值,

寫出指令的輸出,如果指令有錯誤,則

填上「錯誤」。

w = 11

x = "22"

y = "33"

z = 0

執行指令:print(w + int(x))

33

1133

11"33"

錯誤

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

以 True 或 False 寫出以下關係運算的結果。

-8 >= 5

True

False

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?