ศูนย์สอบออนไลน์ (Online Quiz Center)
ศัพท์อังกฤษ (ศัพท์ยาก) - ความรู้ทั่วไป ชุดประเทศไทย - สังคมระดับมัธยมถึงปริญญา - ศัพท์อังกฤษ ระดับต้น
คอมพิวเตอร์เบื้องต้น - นักวิทยุสมัครเล่น - จังหวัด รหัสไปรษณีย์ - Visual Basic - JAVA - ศัพท์200 - ทั่วไป.ศิริรุ่ง
แบบทดสอบความรู้ Visual Basic ในชุด 30 ข้อ
ปรับปรุง : 2553-11-25 (ปรับการแสดงผล)
1. When does recursion occur [vb035]
When a function calls itself
When no code is associated with an Event
At design-time
When a Property is assigned an invalid value
ผิดทุกตัวเลือก

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

3. 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
ผิดทุกตัวเลือก

4. What is the result of setting the DragMode for a control to Automatic [vb025]
The MouseDown, MouseMove and MouseUp Event are disabled
The MouseDown, MouseUp and Click Event are disabled
The GotFocus Event is disabled
The control is able to move without any user intervention
ผิดทุกตัวเลือก

5. 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
ผิดทุกตัวเลือก

6. 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
ผิดทุกตัวเลือก

7. UCase("Love Education") [vb015]
Returns "love education"
Returns "Love Education"
Returns "LOVE EDUCATION"
Returns "LOVE education"
ผิดทุกตัวเลือก

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

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

10. If x > 9 And < 21 Then [vb005]
The above statement is True for values of x outside the range 10 to 20
The above statement is True for values of x in the range 10 to 20
The above statement can never be True
The above statement is a syntax error
ผิดทุกตัวเลือก

11. 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
ผิดทุกตัวเลือก

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

13. Specifies an array with 4 elements [vb044]
Dim num() As Integer
Dim num(5) As Integer
Dim num(4) As Integer
Dim num(3) As Integer
ผิดทุกตัวเลือก

14. 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
ผิดทุกตัวเลือก

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

16. What will Hex(100) return [vb034]
75
100
64
128
ผิดทุกตัวเลือก

17. 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
ผิดทุกตัวเลือก

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

19. What is the name of the system variable that keeps track of the Y position of a graphical object [vb024]
Y
ThisY
CurrentY
YValue
ผิดทุกตัวเลือก

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

21. 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
ผิดทุกตัวเลือก

22. The User Defined Format expression "mm" is used to [vb014]
Format the minutes of a Date Expression with a leading zero
Format the month of a Date Expression with a leading zero
Convert strings to lowercase
Convert strings to uppercase
ผิดทุกตัวเลือก

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

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

25. If x < 10 Or > 20 Then [vb004]
The above statement is True for values of x in the range 10 to 20
The above statement is True for values of x outside the range 10 to 20
The above statement can never be True
The above statement is a syntax error
ผิดทุกตัวเลือก

26. 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
ผิดทุกตัวเลือก

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

28. Properties cannot be set at run-time [vb043]
Height
Width
Name
Top
ผิดทุกตัวเลือก

29. 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
ผิดทุกตัวเลือก

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