Search Header Logo

Python 營隊

Authored by 講師 B

Computers

6th - 8th Grade

Used 9+ times

Python 營隊
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

輸出 要使用哪個程式?

print()

input()

int()

str()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

輸入 要用哪個程式?

print()

input()

int()

str()

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

以下變數設定哪一個是錯誤的?

a=12

b="apple"

a=23

b=a

a=b

b=123

A=12

a=A

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

以下變數設定哪一個是錯誤的?

a="蘋果"

a=apple

a=123

a="123"

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

下哪一個 不是 設定變數名稱時的規定

一定只能小寫

不能有中文

不能使用保留字

for while if ...

不能有符號(除了底線)

+ - * /

Answer explanation

大小寫會不一樣不代表不能用大寫!

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

以下哪一個輸出是正確的?

print(apple)

print 12

print("123")

Print(23)

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

以下何者是正確的輸入方式?

a="請輸入:"

Input("請輸入:")

a=input(請輸入:)

a=input("請輸入:")

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?