Search Header Logo

第2天一開始的考試

Authored by 徐存昇 徐存昇

Computers

9th Grade

Used 6+ times

第2天一開始的考試
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

下列關於 文字 的資料型態何者正確

"我是文字"

"我是文字'

'我是文字"

我是文字

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

請問變數a的資料型態為?

a = "Int"

int

float

str

bool

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

a = input()

b = int(input())

當使用者先後輸入 3 、 2。

則print(a*b)會顯示多少

6

Error

33

222

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

print("我\n是", end = " ")

print("誰")

請問以上程式碼會印出甚麼

是 誰

我是 誰

我是

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

關於input()的用法,下列何者正確

a = input(輸入)

a = input("輸入")

a = input[]

a = input(超派)

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

若使用者輸入兩次分別為

10

apple

發現執行錯誤,請問原因為何?

a,b = int(input()), int(input())

print(a+b)

10不能轉成數字

apple不能轉成數字

數字不能與文字相加

電腦壞了

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

請問下列程式的運行結果為何

a = 10

b = 20

a = a+b

b = b+a

print(a)

20

30

40

50

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?