Search Header Logo

w10-Python綜合測驗

Authored by 邱建誌 邱建誌

Computers

11th Grade

Used 16+ times

w10-Python綜合測驗
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

若想在結果產生班級座號姓名,例如「51366劉春福」,程式碼要?

51366劉春福

print("51366劉春福")

cout << "51366劉春福"

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

input()功能為啟動鍵盤讓使用者輸入。

若要先顯示『請輸入數字m』,再讓使用者輸入,則下列何者程式碼正確?

input("請輸入數字m")

input("")

   print("請輸入數字m")

print("請輸入數字m")

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

m=int(input())

x=input(int())

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

if多選一

下列何者if elif else排列是不行的

if

else

if

elif

else

if

else

else

elif

if

elif

elif

else

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

for a in range(0,n):

若輸入n為5,有關range何者錯誤?

產生 [0,1,2,3,4,5]

相當於用range(n)

產生[0,1,2,3,4]

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Media Image
Media Image
Media Image
Media Image

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

2-4 2-5

2-4 4-5

2-3 4-5

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?