Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

高二_第1章測驗

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Int 是哪個資料型態

a)

整數

b)

小數

c)

分數

d)

字串

2.

print( ) 主要的功能是甚麼?

a)

輸入

b)

平均

c)

輸出

d)

儲存

3.

input( ) 主要功能是什麼?

a)

匯出

b)

輸入

c)

匯入

d)

輸出

4.

apple = input("輸入價格:")

print(apple)

執行後首先會遇到甚麼事情

a)

會跳出 輸入價格:
這時你要輸入你要的內容

b)

會顯示apple的內容

c)

編譯器不會動

d)

編譯器會顯示 "蘋果沒有這麼便宜!!"

5.

name ='jason'

print(name)

會顯示什麼結果

a)

jason

b)

name

c)

name = 'json'

d)

編譯器會錯誤

6.

float 是什麼?

a)

體重

b)

字串

c)

小數

d)

整數

7.

str是什麼?

a)

天空

b)

字串

c)

小數

d)

整數

8.

x = 3

y = 5

x = y

x是多少?                                               

a)

3

b)

4

c)

5

d)

6

9.

x = 2

y = 6

x = x - y

y是多少?

a)

-4

b)

2

c)

6

d)

3

10.

name = '小美' 

print('name') 的結果是什麼?

a)

小美

b)

print('name')

c)

什麼都沒有

d)

name