python基本觀念測驗

開始測驗時間:2025-04-28 04:05:31
最新考題: GoogleAI產生的正規表示法題庫80題  GoogleAI出的正規表示法題庫   chatgpt出的正規表示法題庫 
考卷名稱.: python基本觀念測驗
android版安裝(.APK)
使用者名稱:
記住1週時間
查看考試結果密碼:
  紙本測驗
※可以直接用滑鼠點選答案選項作答
字體大小:A  A  A  將未填答自動填: 1到4亂數   1   2   3   4  
  
  考試題目
( )1.請問底下程式執行時會出現
a=2
b='3'
print(a+int(b))
       (16)
(1)I don't know
(2)TypeError
(3)23
(4)6
(5)5
( )2.請問底下程式執行時會出現
a="c:\doc\t.doc"
print(a)
       (17)
(1)I don't know
(2)c:\doc  .doc
(3)c:\doc.doc
(4)c:\doc\t.doc
(5)c:oc.doc
( )3.請問底下程式執行時會出現
a=2017/3/31
type(a)
       (3)
(1)int
(2)str
(3)double
(4)list
(5)I don't know
( )4.請問底下程式執行時會出現
s=r'\t'
print(len(s))

       (20)
(1)0
(2)-1
(3)I don't know
(4)1
(5)2
( )5.請問底下程式執行時會出現
s=r'\t'
print(s)

       (21)
(1)\t
(2)\\t
(3)r\t
(4) 
(5)I don't know
( )6.請問底下程式執行時會出現
a=123
type(a)
       (1)
(1)int
(2)str
(3)double
(4)list
(5)I don't know
( )7.請問底下程式執行時會出現
a='2017/3/31'
type(a)
       (8)
(1)tuple
(2)list
(3)dict
(4)str
(5)I don't know
( )8.請問底下程式執行時會出現
x=3
x+=2
print(x)
       (24)
(1)2
(2)3
(3)6
(4)5
(5)I don't know
( )9.請問底下程式執行時會出現
a='123'
type(a)
       (2)
(1)str
(2)double
(3)list
(4)I don't know
(5)int
( )10.請問底下程式執行時會出現
a=3.14
type(a)
       (9)
(1)str
(2)int
(3)I don't know
(4)float
(5)double
( )11.請問底下程式執行時會出現
a=2
b='3'
print(str(a)+b)
       (15)
(1)TypeError
(2)23
(3)6
(4)5
(5)I don't know
( )12.請問底下程式執行時會出現
a=[]
type(a)
       (6)
(1)str
(2)I don't know
(3)tuple
(4)list
(5)dict
( )13.請問底下程式執行時會出現
list_num = [1, 2, 3,4]
print(len(list_num))
       (23)
(1)I don't know
(2)1
(3)2
(4)3
(5)4
( )14.請問底下程式執行時會出現
x=3
x-=2
print(x)
       (25)
(1)I don't know
(2)3
(3)-2
(4)-3
(5)1
( )15.請問底下程式執行時會出現
a=2
b=3
print(a**b)
       (12)
(1)6
(2)8
(3)2
(4)3
(5)I don't know
( )16.請問底下程式執行時會出現
a=31
b=5
print(a//b)
       (11)
(1)I don't know
(2)6
(3)6.2
(4)31
(5)5
( )17.請問底下程式執行時會出現
s='\t'
print(len(s))

       (19)
(1)1
(2)2
(3)0
(4)-1
(5)I don't know
( )18.請問底下程式執行時會出現
a=31
b=5
print(a/b)
       (10)
(1)I don't know
(2)6
(3)6.2
(4)31
(5)5
( )19.請問底下程式執行時會出現
list_num = [1, 2, 3,4]
print(list_num[1])
       (22)
(1)2
(2)3
(3)4
(4)I don't know
(5)1
( )20.請問底下程式執行時會出現
a=2
b=3
print(a%b)
       (13)
(1)3
(2)I don't know
(3)6
(4)8
(5)2
( )21.請問底下程式執行時會出現
a=2
b='3'
print(a+b)
       (14)
(1)5
(2)I don't know
(3)TypeError
(4)23
(5)6
( )22.請問底下程式執行時會出現
a=()
type(a)
       (5)
(1)I don't know
(2)tuple
(3)list
(4)dict
(5)str
( )23.請問底下程式執行時會出現
a='c:\\doc\\t.doc'
print(a)
       (18)
(1)c:\doc  .doc
(2)c:\doc.doc
(3)c:\doc\t.doc
(4)c:oc.doc
(5)I don't know
( )24.請問底下程式執行時會出現
i = 1
while i % 3: 
    print(i, end = ' ')
    if i >= 10:
        break
    i += 1       (4)
(1)1 2 3 4 5 6 7 8 9 10
(2)I don't know
(3)1 2
(4)1 2 0 1 2 0 1 2 0
(5)1 2 3 4 5 6 7 8 9
( )25.請問底下程式執行時會出現
a={}
type(a)
       (7)
(1)I don't know
(2)tuple
(3)list
(4)dict
(5)str
 
  

池田大作名言:【2、常有人追求名譽、名聲,迷失自我。重要的是凝視自己、磨練自己,這才會得到真正的充實、生理與幸福。】
1小時內上線人數:277 人

您有要購買官網Apple產品嗎?可以透過https://joymall.co/3FKHW?uid1=exam&uid2=txt&uid3=url 連結去購買會有分潤支持網站營運