<   Excel VBA基本觀念測驗(二)   >

免費免註冊,彰化一整天線上測驗:http://exam.bestdaylong.com/test2188.htm

( )1. 在Excel VBA的即時視窗輸入 print len("中文字abc")請問會顯示(1)9 (2)3 (3)0 (4)6
( )2. 在Excel VBA的即時視窗輸入 print mid("N1234",2,1) 請問會顯示(1)N (2)1 (3)2 (4)3
( )3. 請問此圖i若變成95,執行時會在即時視窗顯示(1)甲 (2)乙 (3)丙 (4)丁
( )4. 請問此圖i若變成95,執行時會在即時視窗顯示(1)丁 (2)甲 (3)乙 (4)丙
( )5. 在Excel VBA中不等於的符號是(1)!= (2)<> (3)>=< (4)==
( )6. 在Excel VBA的即時視窗輸入 print right("N1234",1) 請問會顯示(1)4 (2)1 (3)2 (4)N
( )7. 在Excel VBA的即時視窗輸入 print 5/2 請問會顯示(1)2 (2)1 (3)0 (4)2.5
( )8. 在Excel VBA的即時視窗輸入 print instr("1+2=3","=") 請問會顯示(1)4 (2)1 (3)2 (4)3
( )9. 在Excel VBA的即時視窗輸入 print 1 & 2 + 3 請問會顯示(1)123 (2)6 (3)0 (4)15
( )10. 在Excel VBA中大於等於的符號是(1)=> (2)<= (3)<> (4)>=
( )11. 請問此圖那一個的真值表(1)or (2)and (3)not (4)xor
( )12. 在Excel VBA要強制宣告變數才可以使用,要在程式的最上方加上(1)Option Explicit (2)Option (3)Explicit (4)dim
( )13. 在ExcelVBA中要使用餘數要用那一個?(1)/ (2)* (3)mod (4)\
( )14. 在ExcelVBA中要將3顯示在即時視窗要如何使用(1)echo 3 (2)debug.echo 3 (3)print 3 (4)debug.print 3
( )15. 在Excel VBA的即時視窗輸入 print 1 & 2 & 3 請問會顯示(1)0 (2)1+2+3 (3)6 (4)123
( )16. 在Excel VBA的即時視窗輸入 print 10 mod 3 請問會顯示(1)0 (2)3 (3)1 (4)1.33
( )17. 請問此圖程式執行結果(1)在變數i>5時會中斷程式 (2)在變數i不等於5時會中斷程式 (3)在變數i=5時會中斷程式 (4)在變數i<5時會中斷程式
( )18. 在Excel VBA中小於等於的符號是(1)<= (2)=< (3)>= (4)=>
( )19. 在Excel VBA的即時視窗輸入 print 1+2+3 請問會顯示(1)6 (2)0 (3)123 (4)1+2+3
( )20. 在Excel VBA的即時視窗輸入 print len(trim(" 1+2=3 ")) 請問會顯示(1)5 (2)6 (3)0 (4)4
( )21. 在Excel VBA的即時視窗輸入 print ucase("How are you")請問會顯示(1)HOW ARE YOU (2)How are you (3)how are you (4)How Are You
( )22. 在Excel VBA的即時視窗輸入 print 2^3請問會顯示(1)23 (2)1 (3)8 (4)6
( )23. 請問此圖那一個的真值表(1)xor (2)or (3)and (4)not
( )24. 在Excel VBA的即時視窗輸入 print left("N1234",1) 請問會顯示(1)1 (2)2 (3)N (4)4
( )25. 在Excel VBA的即時視窗輸入 print lcase("How are you")請問會顯示(1)How Are You (2)HOW ARE YOU (3)How are you (4)how are you
( )26. 在Excel VBA的即時視窗輸入? Mid("daylong", 2, 3)請問會顯示(1)yl (2)ylo (3)ay (4)ayl
( )27. 在Excel VBA的中斷模式時,按那一個按鈕可以逐一行執行(1)F5 (2)shift+F8 (3)Ctrl+Shift+F9 (4)F8
( )28. 在Excel VBA的即時視窗輸入 print 5\2 請問會顯示(1)1 (2)0 (3)2.5 (4)2
( )29. 請問此圖那一個的真值表(1)xor (2)or (3)and (4)not
( )30. 在ExcelVBA中要使用除(只取整數的商)要用那一個?(1)\ (2)/ (3)* (4)mod

解答:
001.【4】002.【2】003.【1】004.【1】005.【2】006.【1】007.【4】008.【1】009.【4】010.【4】
011.【2】012.【1】013.【3】014.【4】015.【4】016.【3】017.【3】018.【1】019.【1】020.【1】
021.【1】022.【3】023.【2】024.【3】025.【4】026.【4】027.【4】028.【4】029.【4】030.【1】

詳解: