python基本觀念測驗

開始測驗時間:2024-03-29 19:59:10
最新考題: 色彩課本題庫  112年度不動產營業員試題【任選80題】  (任選80題)TOEIC全新制多益必考英文單字3000字(選擇題) 
考卷名稱.: python基本觀念測驗
android版安裝(.APK)
使用者名稱:
記住1週時間
查看考試結果密碼:
  紙本測驗
※可以直接用滑鼠點選答案選項作答
字體大小:A  A  A  將未填答自動填: 1到4亂數   1   2   3   4  
  
  考試題目
( )1.請問底下程式執行時會出現
list_num = [1, 2, 3,4]
print(len(list_num))
       (23)
(1)1
(2)2
(3)3
(4)4
(5)I don't know
( )2.請問底下程式執行時會出現
a=2
b=3
print(a**b)
       (12)
(1)I don't know
(2)6
(3)8
(4)2
(5)3
( )3.請問底下程式執行時會出現
i = 1
while i % 3: 
    print(i, end = ' ')
    if i >= 10:
        break
    i += 1       (4)
(1)1 2 0 1 2 0 1 2 0
(2)1 2 3 4 5 6 7 8 9
(3)1 2 3 4 5 6 7 8 9 10
(4)I don't know
(5)1 2
( )4.請問底下程式執行時會出現
a=2
b='3'
print(str(a)+b)
       (15)
(1)I don't know
(2)TypeError
(3)23
(4)6
(5)5
( )5.請問底下程式執行時會出現
x=3
x+=2
print(x)
       (24)
(1)I don't know
(2)2
(3)3
(4)6
(5)5
( )6.請問底下程式執行時會出現
x=3
x-=2
print(x)
       (25)
(1)3
(2)-2
(3)-3
(4)1
(5)I don't know
( )7.請問底下程式執行時會出現
a='2017/3/31'
type(a)
       (8)
(1)str
(2)I don't know
(3)tuple
(4)list
(5)dict
( )8.請問底下程式執行時會出現
a=2017/3/31
type(a)
       (3)
(1)double
(2)list
(3)I don't know
(4)int
(5)str
( )9.請問底下程式執行時會出現
a=[]
type(a)
       (6)
(1)str
(2)I don't know
(3)tuple
(4)list
(5)dict
( )10.請問底下程式執行時會出現
a=()
type(a)
       (5)
(1)tuple
(2)list
(3)dict
(4)str
(5)I don't know
( )11.請問底下程式執行時會出現
a=2
b='3'
print(a+int(b))
       (16)
(1)I don't know
(2)TypeError
(3)23
(4)6
(5)5
( )12.請問底下程式執行時會出現
a=2
b=3
print(a%b)
       (13)
(1)6
(2)8
(3)2
(4)3
(5)I don't know
( )13.請問底下程式執行時會出現
a='123'
type(a)
       (2)
(1)list
(2)I don't know
(3)int
(4)str
(5)double
( )14.請問底下程式執行時會出現
s=r'\t'
print(len(s))

       (20)
(1)1
(2)2
(3)0
(4)-1
(5)I don't know
( )15.請問底下程式執行時會出現
a=31
b=5
print(a//b)
       (11)
(1)I don't know
(2)6
(3)6.2
(4)31
(5)5
( )16.請問底下程式執行時會出現
list_num = [1, 2, 3,4]
print(list_num[1])
       (22)
(1)4
(2)I don't know
(3)1
(4)2
(5)3
( )17.請問底下程式執行時會出現
a="c:\doc\t.doc"
print(a)
       (17)
(1)c:\doc.doc
(2)c:\doc\t.doc
(3)c:oc.doc
(4)I don't know
(5)c:\doc  .doc
( )18.請問底下程式執行時會出現
a=31
b=5
print(a/b)
       (10)
(1)6.2
(2)31
(3)5
(4)I don't know
(5)6
( )19.請問底下程式執行時會出現
a={}
type(a)
       (7)
(1)list
(2)dict
(3)str
(4)I don't know
(5)tuple
( )20.請問底下程式執行時會出現
s='\t'
print(len(s))

       (19)
(1)I don't know
(2)1
(3)2
(4)0
(5)-1
( )21.請問底下程式執行時會出現
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
( )22.請問底下程式執行時會出現
s=r'\t'
print(s)

       (21)
(1)I don't know
(2)\t
(3)\\t
(4)r\t
(5) 
( )23.請問底下程式執行時會出現
a=123
type(a)
       (1)
(1)str
(2)double
(3)list
(4)I don't know
(5)int
( )24.請問底下程式執行時會出現
a=3.14
type(a)
       (9)
(1)float
(2)double
(3)str
(4)int
(5)I don't know
( )25.請問底下程式執行時會出現
a=2
b='3'
print(a+b)
       (14)
(1)5
(2)I don't know
(3)TypeError
(4)23
(5)6
 
  

池田大作名言:【3、嫉妒和忘恩負義的人,隻會破壞自己的人生。】
1小時內上線人數:165 人

您有在蝦皮購物嗎?可以透過https://shope.ee/5peImifZAH 連結去購物會有分潤1%支持網站營運