Search Header Logo

Python(二)

Authored by Ng Y

Computers

9th Grade

Python(二)
AI

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

以下那程式碼有何錯誤?

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?