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

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

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

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

詳解: