Search Header Logo

PYTHON CAMP 2-1

Authored by 銓R. 銓R.

Computers

6th - 8th Grade

Used 2+ times

PYTHON CAMP 2-1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

要如何輸出HELLO

print("HELLO")

print(HELLO)

print HELLO

HELLO (print)

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

以下程式碼會輸出什麼?

2

1

2.5

5%2

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

請問a和b的變數型別分別為何?

a是字串string

b是整數int

a是整數int

b是字串string

a和b都是字串string

a和b都是整數int

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

若a="3" (字串string),怎麼讓a轉為整數int?

string to int (a)

int(3)

int(a)

a(int)

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

以下程式碼會輸出什麼?

35+70

a+str(b)

105

3570

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

以下程式碼會輸出什麼?

1

4

a+3

a

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

要如何輸入整數至變數a?

a = input()

input(a)

a = int(input())

input = a

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?