Podcast
Questions and Answers
What does ODBC stand for in the context of VB.NET?
What does ODBC stand for in the context of VB.NET?
Which of the following is used in VB.NET to represent items in a hierarchical manner?
Which of the following is used in VB.NET to represent items in a hierarchical manner?
What is the role of the DataAdapter in ADO.NET?
What is the role of the DataAdapter in ADO.NET?
In VB.NET, what is the default behavior of a textbox control regarding the text it holds?
In VB.NET, what is the default behavior of a textbox control regarding the text it holds?
Signup and view all the answers
What is the function of the 'dim' keyword in VB.NET?
What is the function of the 'dim' keyword in VB.NET?
Signup and view all the answers
Which property is used to determine whether a control is visible to the user?
Which property is used to determine whether a control is visible to the user?
Signup and view all the answers
Which method is used to display a dialog box during run time?
Which method is used to display a dialog box during run time?
Signup and view all the answers
What does JIT stand for in VB.NET?
What does JIT stand for in VB.NET?
Signup and view all the answers
Which event occurs when a key is pressed down while a control has focus?
Which event occurs when a key is pressed down while a control has focus?
Signup and view all the answers
Which class property allows you to pass data between a program and a class?
Which class property allows you to pass data between a program and a class?
Signup and view all the answers
The maximum number of buttons a MsgBox can display is:
The maximum number of buttons a MsgBox can display is:
Signup and view all the answers
To display multiple columns in a ListView control, what property should be set?
To display multiple columns in a ListView control, what property should be set?
Signup and view all the answers
What does the Collapse method do in a TreeView control?
What does the Collapse method do in a TreeView control?
Signup and view all the answers
Study Notes
VB.NET Lab Test - Mod I
- Q1: VB.NET was developed by Microsoft.
- Q2: IDE stands for Integrated Development Environment.
-
Q3: The property
show
is not a property of the Common Control class. -
Q4: The
Visible
property determines whether a control is displayed to the user. - Q5: VB.NET is backward compatible.
- Q6: JIT stands for Just In Time.
- Q7: CLR stands for Common Language Runtime.
- Q8: Namespaces group classes according to their common services, enabling data transfer between a program and a class.
- Q9: Properties enable passing data between a program and a class.
- Q10: The default property for a text box control is Text.
-
Q11: The
KeyDown
event occurs when a key is pressed down while a control has focus. -
Q12: The
Enabled
property disables a Windows Form. -
Q13: The
ShowDialog()
method displays a dialog box at runtime. -
Q14:
FolderBrowserDialog
is the control to open a folder dialog box. -
Q15:
CLng
converts to long data type. - Q16: The default event handler for TextBox is TextChanged.
- Q17: One class can create many objects.
-
Q18: To make a button the default button, set the
AcceptButton
property of the form. - Q19: A MsgBox can have a maximum of 3 buttons.
- Q20: ScrollBars can be added to panes.
-
Q21: To display multiple columns in ListView, set the
View
property toDetails
. -
Q22: The
Collapse
method is used to collapse all nodes in a selected node in TreeView. - Q23: The default location of the exe file is in the .../Project folder name/Bin folder.
-
Q24: In
dim arr(10) as string
, the max index of the array is 10. -
Q25:
InputBox
by default returns string values. -
Q26: To arrange forms vertically in an MDI form, use
Me.LayoutMdi(MdiLayout.TileVertical)
. -
Q27: To add items from an array to a ListView, use
List1.Items.AddRange()
. -
Q28: Use
PrintDocument1.Print()
to perform printing. - Q29: KeyUp and KeyDown events combined create the KeyPress event.
- Q30: When building a project, it creates .exe and .dll files in the Bin directory.
-
Q31: The
Tick
event is associated with theTimer
object. - Q32: Form Properties are not displayed in the Solution Explorer.
- Q33: If no access modifier is specified for a class, it's considered public.
- Q34: The lower bound for arrays in VB.NET is 0.
- Q35: ODBC in VB.NET stands for Open Database Connectivity.
-
Q36: A
DataAdapter
object is used to fill a DataSet/DataTable in ADO.NET. -
Q37: To close the ADO.NET connection, use
sqlConn.Close()
. -
Q38: Array declaration in VB.NET uses empty parentheses
()
. - Q39: By default, a TextBox control can hold single-line text.
- Q40: "dim" is a keyword in VB.NET.
- Q41: MOD is an arithmetic operator in VB.NET.
- Q42: The Tree View control represents hierarchical items.
- Q43: The Timer control is also called a Looping Control.
- Q44: OOP's stands for Object-Oriented Programming.
- Q45: The shortcut for running a program is F5.
- Q46: ADO stands for ActiveX Data Object.
- Q47: Inheritance is the process of creating new classes from existing classes.
- Q48: Polymorphism is the ability to operate on objects of differing types.
- Q49: Protected is a similar type of private member.
- Q50: XML stands for Extensible Markup Language.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
Test your knowledge in VB.NET with this comprehensive quiz. Covering essential topics like properties, events, and runtime components, this quiz is perfect for students preparing for their lab tests. Evaluate your understanding of VB.NET fundamentals and improve your coding skills.