考卷名稱:Excel VBA實務班(第二班)測驗(全部95題任選25題)
字體大小:A  A  A 
  考試題目
(3)1.在Excel VBA中要宣告變數I為字串語法為      (第一天測驗-07)
(1)dim I as integer
(2)dim I as single
*(3)dim I as string
(4)dim I as date
(1)2.在Excel VBA中物件屬性的圖示為      (第一天測驗-12)
*(1)
(2)
(3)
(4)
(4)3.切換設計模式及執行模式圖示是      (第一天測驗-17)
(1)
(2)
(3)
*(4)
(1)4.插入按鈕是那個圖示      (第一天測驗-18)
*(1)
(2)
(3)
(4)
(1)5.MsgBox的回傳值型別是      (第一天測驗-20)
*(1)integer
(2)string
(3)single
(4)date
(1)6.在圖中的數字2代表      (第一天測驗-24)
*(1)workbook
(2)worksheet
(3)range
(4)cell
(1)7.請問此圖那一個的真值表      (第二天測驗-02)
*(1)or
(2)and
(3)not
(4)xor
(4)8.在ExcelVBA中要使用餘數要用那一個?      (第二天測驗-05)
(1)\
(2)/
(3)*
*(4)mod
(1)9.在Excel VBA的即時視窗輸入 print 5/2 請問會顯示      (第二天測驗-07)
*(1)2.5
(2)2
(3)1
(4)0
(1)10.在Excel VBA中大於等於的符號是      (第二天測驗-10)
*(1)>=
(2)=>
(3)<=
(4)<>
(4)11.在Excel VBA的即時視窗輸入 print instr("1+2=3","=") 請問會顯示      (第二天測驗-19)
(1)1
(2)2
(3)3
*(4)4
(2)12.在Excel VBA的即時視窗輸入 print len(trim(" 1+2=3 ")) 請問會顯示      (第二天測驗-20)
(1)4
*(2)5
(3)6
(4)0
(4)13.請問此圖i若變成95,執行時會在即時視窗顯示      (第二天測驗-22)
(1)
(2)
(3)
*(4)
(1)14.在Excel VBA的即時視窗輸入 print ucase("How are you")請問會顯示      (第二天測驗-23)
*(1)HOW ARE YOU
(2)How are you
(3)how are you
(4)How Are You
(1)15.在Excel VBA的中斷模式時,按那一個按鈕可以逐一行執行      (第二天測驗-25)
*(1)F8
(2)F5
(3)shift+F8
(4)Ctrl+Shift+F9
(2)16.在Excel VBA的即時視窗輸入 print right("N1234",1) 請問會顯示      (第二天測驗-27)
(1)N
*(2)4
(3)1
(4)2
(3)17.在Excel VBA的即時視窗輸入 print 1+2+3 請問會顯示      (第二天測驗-28)
(1)123
(2)1+2+3
*(3)6
(4)0
(1)18.底下程式碼執行結果會在執行視窗出現
Sub test1()
    Dim i, n As Integer
    n = 0
    
    For i = 1 To 9 Step 4
       n = n + 1
    Next i
    Debug.Print n & "," & i
    
End Sub      (第三天測驗-10)
*(1)3,13
(2)4,10
(3)3,10
(4)10,10
(2)19.工作表如圖,若執行底下程式會顯示什麼?
Sub test5()
    Dim i As Integer
    
    i = 1
    
    Do While Cells(i + 2, 3).Value <> ""
       i = i + 1
    Loop
    
    MsgBox Cells(i + 1, 3).Value

End Sub      (第三天測驗-20)
(1)86
*(2)62
(3)38
(4)41
(1)20.使用array函數建立陣列,型別必須為      (第四天測驗-01)
*(1)variant
(2)int
(3)string
(4)date
(2)21.底下程式執行時會在即時視窗顯示什麼
Sub test1()
    Dim no As Variant
    no = Array(1, 2, 3, 4, 5)
    Debug.Print no(1)   '顯示陣列索引為1的資料
End Sub      (第四天測驗-02)
(1)1
*(2)2
(3)3
(4)4
(1)22.底下程式執行時會在即時視窗顯示什麼
Sub test2()
    Dim no As Variant
    no = Array(1, 2, 3, 4, 5)
    Debug.Print no(5)   '顯示陣列索引為5的資料
End Sub      (第四天測驗-03)
*(1)出現陣列索引超出範圍
(2)3
(3)4
(4)1
(2)23.Dim StdNo(10) as String這樣的宣告跟底下那一個相同      (第四天測驗-05)
(1)Dim StdNo(1 to 10) as String
*(2)Dim StdNo(0 to 10) as String
(3)Dim StdNo(0 to 10) as date
(4)Dim StdNo(10) as Integer
(3)24.底下程式執行時會在即時視窗顯示什麼
Sub test6()
    Dim i As Integer
    Dim std_no(5) As Integer
    
    For i = 1 To 5
        std_no(i) = i
    Next
    
    Debug.Print std_no(3)   '顯示陣列索引為3的資料
End Sub      (第四天測驗-08)
(1)1
(2)2
*(3)3
(4)4
(3)25.底下程式執行時會在即時視窗顯示什麼
Sub test8()
    Dim i As Integer
    Dim std_no(5) As Integer
    
    For i = 1 To 5
        std_no(i - 1) = i * 2 - 1
    Next
    
    Debug.Print std_no(3)   '顯示陣列索引為3的資料
End Sub      (第四天測驗-10)
(1)3
(2)5
*(3)7
(4)9
 
考卷名稱:Excel VBA實務班(第二班)測驗(全部95題任選25題)
字體大小:A  A  A 
勤學智慧小語:【7.老師對學生有絕對的價值,未上路之前,引導學生如何走上這一條路;走上去之後,協助學生如何克服苦難,獲得成功。】
1小時內上線人數:674 人

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