Olete.in
Articles
Mock Tests
🧪 VB.Net MCQ Quiz Hub
VB.Net Mcq Question Set 2
Choose a topic to test your knowledge and improve your VB.Net skills
1. Which box displays the current values of each of the properties?
Settings Box
Display Box
Object box
Value Box
2. Which button is used to display the names in the property list by category?
Categorized button
Alphabetical button
Lexicographical button
Group button
3. What are listed in a Properties Window?
Attributes
Objects
Values
Items
4. Which button is used to save a solution?
Save Button
Save As Button
Save Solution Button
Save All Button
5. Which option is used to close the IDE?
Close
Close Solution
Close All
Close IDE
6. Which option is used to close the Solution?
Close
Close Solution
Close All
Exit
7. What is used to add a Label control to a form?
Label Tool
Add Tool
Add Control Tool
Add Label Tool
8. What is the purpose of the label control?
To display the text that the user is not allowed to edit while the application is not running
To display the text that the user is allowed to edit while the application is not running
To display the text that the user is not allowed to edit while the application is running
To display the text that the user is allowed to edit while the application is running
9. The size of _____________ is determined by the label’s margin property.
margin lines
label
border lines
label lines
10. _______is the default name assigned to the label control.
Label0
Label1
NewLabel
DefaultLabel
11. Margin lines are ______________ in colour.
Blue
Red
Green
Black
12. Which property determines the value that appears inside the control?
Label Text property
Label control’s Text property
Text Property
Text Design Property
13. Which property specifies the position of the upper left corner of the control?
Top Property
Position Property
Location Property
Starting Position Property
14. which property in the property list is used to change the text, style or size of the control’s text?
Font
Origin
Style
Appearance
15. Which menu provides option for manipulating the control’s on the form?
Format menu
Control Menu
Manipulate Menu
Property List
16. Which option is used to align two or more controls by their left, right, top or bottom borders?
Align option
Range option
Associate option
Alignment option
17. To include an image on the form we use which toolbox?
Picture Box
Image box
Add Image box
Add Picture Box
18. While the Picture Box tool is included in the form, a triangle appears in the upper-left corner of the control?
Edit Box
Property Box
Task box
Image box
19. To include the image file in the project itself, the Project Resource file radio button must be selected from which dialog box?
Select Resource Dialog box
Select Dialog box
Resource Dialog Box
Project Dialog Box
20. Which property is used to view the full image in the Picture Box?
View full image
StretchImage
View Image d) Full Size Imag
Full Size Imag
21. StretchImage Property is present in which dialog box?
Task list
Properties Window
Picture Task Window
View Window
22. Which is used to change the name of the picture?
Properties Window
Change Name
Edit Window
Picture Properties Window
23. _____ is commonly used to perform an immediate action when clicked.
Exit
Button control
Close
End
24. ______ in the Tool Box is used to add a button control to a form.
Button Tool
Add Button
New Button
Add new Button
25. The name of the button control is changed using _____
Button Tool Window
Change Name
Edit Window
Properties window
26. The __________ and __________ buttons are examples of many button controls found in Windows applications.
Ok and Cancel
Ok and Exit
Exit and Cancel
Try again and Cancel
27. The actions such as click, double-click, scrolling etc are ______
Events
Functions
Procedures
Actions
28. Where you enter the event procedure’s code?
Event window
Properties window
Code Editor Window
Action Window
29. Which statement is used to define a class in visual basic?
Class statement
Event statement
Event class statement
Form class statement
30. To hide a section of code we click the __________ box next to it.
Minus
Plus
Bubble
Multiply
31. A __________ is a word that has special meaning in computer language.
keyword
constant
variable
literal
32. The __________ is an abbreviation of the term sub procedure.
Sub function
Sub event
Sub keyword
Sub object
33. The __________ instruction tells the computer to close the current form.
Me.Close()
Close()
This.Close()
Close.this()
34. The __________ displays the most commonly used items.
Common tab
All tab
Most tab
Most used tab
35. The rules of a programming language are called its ___
Syntax
Rules
Grammar
Order
36. A timer control is instantiated using _______
Timer tool
Control tool
Stopwatch tool
Timer Control Tool
37. The __________ is used to store controls that do not appear in the user interface during runtime.
Control tray
Timer tray
Components tray
Store tray
38. The purpose of __________ is to process code at one or more regular intervals.
Timer control
Process control
Code editor
Interval control
39. The timer state is determined by ______
State property
Timer control
Enabled property d) Visible property
Visible property
40. Which event occurs each time an interval is elapsed in the timer?
Tick
Click
Elapse
Count
41. What happens when a control is deleted from a form?
Does not delete the control’s code
Does delete the control’s code
Control is deleted in total
Control is not deleted, it can be brought back
42. ______ is used to delete a certain code from the code editor window.
Edit
Delete
Truncate
Free
43. ______ button is used to select a control from the form.
Exit button
Select button
Edit button
Delete button
44. ___ is used to close both the code from code editor and control from the form.
Me.close()
This.close()
Close All
Close()
45. ________ is used to remove a component of the form after a certain period of time.
Timer
Exit button
Remove button
Delete button
46. A form’s __________ determines the border style of the form.
FormBorderStyle Property
Form Border
Form Style
Border Property
47. The __________ setting removes the form border.
None
Fixed Single
Single
Remove
48. _____ property disables the Minimize button on the form’s title bar.
Minimize property
Maximize property
Close property
Control Box property
49. _____ property disables the Maximize button on the form’s title bar.
Minimize property
Maximize property
Close property
Control Box property
50. What happens when both the minimize box and maximize box property are set to false?
Both are disabled
This situation shows an exception
This situation shows an error
Both are removed from the title bar
Submit