Py02

Py02

10th Grade

10 Qs

quiz-placeholder

Similar activities

A1資訊處理:2.2數據控制

A1資訊處理:2.2數據控制

9th - 12th Grade

12 Qs

電腦硬件S4 復活節課業

電腦硬件S4 復活節課業

9th - 12th Grade

12 Qs

S5 Programming Quiz

S5 Programming Quiz

10th Grade

7 Qs

S07.2 常见的应用软体

S07.2 常见的应用软体

10th Grade

12 Qs

算法設計 - 數據類型/布爾算式/偽代碼/流程圖

算法設計 - 數據類型/布爾算式/偽代碼/流程圖

9th - 12th Grade

12 Qs

2223_S4_ICT_T2_exam_exercise_21-30

2223_S4_ICT_T2_exam_exercise_21-30

9th - 12th Grade

10 Qs

0610- Python

0610- Python

9th - 10th Grade

10 Qs

2223_S4_ICT_T2_exam_exercise_31-40

2223_S4_ICT_T2_exam_exercise_31-40

9th - 12th Grade

10 Qs

Py02

Py02

Assessment

Quiz

Computers

10th Grade

Medium

Created by

鄭 傑

Used 4+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

何種方式可以讀取使用者輸入的整數,將其存放於變數x?

x = input()

input() = x

x = int(input())

int(input()) = x

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

9//4的結果是?

2

2.25

2.5

3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

9/4的結果是?

2.25

2.5

2

3

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

以下程式輸出為何?

x = 9487

y = 4

mod = x % y

print("x除y的餘數是",mod)

x除y的餘數是 7

9487除4的餘數是 7

x除y的餘數是 3

9487除4的餘數是 3

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

如果要計算8的7次方,下列哪些有誤?

8 ** 7

8*8*8*8*8*8*8

8 ******* 7

7 ** 8

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

下列程式碼何者可以得到x的三次方根?

x ** 3

x ** 1/3

x ** (1/3)

x ** 0.3

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

請問下列程式執行完後,x為多少?

x = 7

x = x + 1

8

7

6

等式不成立

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?