ศูนย์สอบออนไลน์ (Online Quiz Center)
ศัพท์อังกฤษ (ศัพท์ยาก) - ความรู้ทั่วไป ชุดประเทศไทย - สังคมระดับมัธยมถึงปริญญา - ศัพท์อังกฤษ ระดับต้น
คอมพิวเตอร์เบื้องต้น - นักวิทยุสมัครเล่น - จังหวัด รหัสไปรษณีย์ - Visual Basic - JAVA - ศัพท์200 - ทั่วไป.ศิริรุ่ง
แบบทดสอบความรู้ Visual Basic ในชุด 30 ข้อ
ปรับปรุง : 2553-11-25 (ปรับการแสดงผล)
1. Three-letter mnemonic for a CommandButton [vb026]
cmd
com
command
cnd
ผิดทุกตัวเลือก

2. Which control allows you to create a TCP/IP session [vb036]
Internet Transfer Control
Winsock
WebBrowser
ODBC
ผิดทุกตัวเลือก

3. SQL statement for updating a record [vb046]
UPDATE saleman SET s_dob = #20/01/2547# WHERE s_enrolNumber = 47
UPDATE saleman WITH s_dob = #20/01/2547# WHERE s_enrolNumber = 47
UPDATE saleman s_dob = #20/01/2547# WHERE s_enrolNumber = 47
UPDATE s_dob = #20/01/2547# to s_enrolNumber = 47
ผิดทุกตัวเลือก

4. Me.Circle (1000, 2000), 300 [vb007]
The X position for the center of the circle is 1000
The X position for the left of the circle is 1000
The X position for the center of the circle is 2000
The X position for the left of the circle is 2000
ผิดทุกตัวเลือก

5. What does a pre-condition loop do [vb017]
Perform the test at the start of the loop
Perform the test at the end of the loop
Loop a predetermined number of times
Count backwards
ผิดทุกตัวเลือก

6. Three-letter mnemonic for a ComboBox [vb027]
cb
cbo
cbb
cbx
ผิดทุกตัวเลือก

7. Which data type is most suitable for storing the cost of an item [vb037]
Double
Integer
Currency
Variant
ผิดทุกตัวเลือก

8. SQL Statement for delete all records from a table [vb047]
DELETE FROM saleman where s_enrolNumber=ALL
DELETE FROM saleman where s_enrolNumber=s_enrolNumber
DELETE FROM saleman
DELETE ALL FROM saleman
ผิดทุกตัวเลือก

9. Me.Line (0, 0) - (Me.ScaleWidth, Me.ScaleHeight) [vb008]
Draws a diagonal line from the top left to the bottom right of the current form
Draws a diagonal line from the top right to the bottom left of the current form
Draws a horizontal line
Draws a vertical line
ผิดทุกตัวเลือก

10. What does CSng do [vb018]
Sing a song
Change the sign of a number
Count spaces in a string
Convert a data type to Single
ผิดทุกตัวเลือก

11. Three-letter mnemonic for a ListBox [vb028]
box
lbx
lst
lis
ผิดทุกตัวเลือก

12. Best describes a Counted loop [vb038]
A loop that performs the test at the start
A loop that performs the test at the end
A loop that iterates a predetermined number of times
A loop that counts backwards
ผิดทุกตัวเลือก

13. Which Property should be set for every control [vb048]
Caption
Text
Interval
Name
ผิดทุกตัวเลือก

14. msg = "Love"&"Thailand" [vb009]
Produces a syntax error
Assigns LoveThailand to msg
Assigns Love&Thailand to msg
Assigns Love Thailand to msg
ผิดทุกตัวเลือก

15. What does the Step keyword used with the For/Next Loop do [vb019]
Allows the loop to be missed if the condition is True
Increments values according to the Step value
Syntax error
The Step keyword is illegal with counted loops
ผิดทุกตัวเลือก

16. Three-letter mnemonic for a Timer [vb029]
tim
tme
timer
tmr
ผิดทุกตัวเลือก

17. Constant declarations is correct [vb039]
Dim Constant num As Integer
Dim Constant num As Integer = 64
Dim num As Constant Integer = 64
Const num As Integer = 64
ผิดทุกตัวเลือก

18. Why are three-letter mnemonics used when naming controls [vb049]
To confuse the programmer
To identify the type of control
To make the program run faster
To reduce the amount of memory required for the program
ผิดทุกตัวเลือก

19. msg = Replace("Please confirm what you can do", "do", "confirm") [vb010]
msg will contain, "Please do what you can confirm"
msg will contain, "Please confirm what you can confirm"
msg will contain, "Please do what you can do confirm"
msg will contain, "Please do what you can do"
ผิดทุกตัวเลือก

20. What function is used to identify the first element in an array [vb020]
First
Begin
LBound
Start
ผิดทุกตัวเลือก

21. Three-letter mnemonic for a Form [vb030]
frm
fm
f
fr
ผิดทุกตัวเลือก

22. Declares a variable of type Integer [vb040]
int num
Integer num
Dim num As Integer
Dim Integer
ผิดทุกตัวเลือก

23. control.ZOrder 0 [vb001]
Places the control at the top of the Z Order
Places the control at the bottom of the Z Order
Sends the control to the back of the other controls
Hides the control
ผิดทุกตัวเลือก

24. Right("Love Thailand",3) [vb011]
Returns "Lov"
Returns "Tha"
Returns "and"
Returns "LTd"
ผิดทุกตัวเลือก

25. What is an FSO [vb021]
Full System Output
Fat Sound Object
File System Object
Fullsize Slider Object
ผิดทุกตัวเลือก

26. Three-letter mnemonic for a Label [vb031]
lb
ll
lbl
lab
ผิดทุกตัวเลือก

27. Defines the graphical height of a graphics object [vb041]
GraphHeight
GraphicalHeight
Height
ScaleHeight
ผิดทุกตัวเลือก

28. How does a function get a return value [vb002]
By assigning an expression to the function name
By assigning an expression to the Return keyword
By assigning an expression to the Function keyword
Functions cannot return values
ผิดทุกตัวเลือก

29. The SelStart Property of a TextBox is used to [vb012]
Identify the start of the Text
There is no such Property
Identify the start of highlighted text
Identify the color
ผิดทุกตัวเลือก

30. What is a VB [vb022]
Visual Basic
Virtual Basic
Visual Begin
Virtual Begin
ผิดทุกตัวเลือก