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?
- Open Database Configuration
- Online Database Communication
- Object Database Connectivity
- Open Database Connectivity (correct)
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?
- Tree View (correct)
- Combo Box
- List Box
- Data Grid
What is the role of the DataAdapter in ADO.NET?
What is the role of the DataAdapter in ADO.NET?
- To manage user inputs
- To fill a DataSet/DataTable with query results (correct)
- To close database connections
- To execute SQL commands
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?
What is the function of the 'dim' keyword in VB.NET?
What is the function of the 'dim' keyword in VB.NET?
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?
Which method is used to display a dialog box during run time?
Which method is used to display a dialog box during run time?
What does JIT stand for in VB.NET?
What does JIT stand for in VB.NET?
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?
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?
The maximum number of buttons a MsgBox can display is:
The maximum number of buttons a MsgBox can display is:
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?
What does the Collapse method do in a TreeView control?
What does the Collapse method do in a TreeView control?
Flashcards
dim
dim
A keyword used to declare a variable in VB.Net.
Inheritance
Inheritance
A feature in VB.Net that allows creating classes based on existing ones, inheriting their characteristics and expanding upon them.
Polymorphism
Polymorphism
The ability of a procedure or function to operate on objects of different data types.
Protected
Protected
Signup and view all the flashcards
Public Class (Default)
Public Class (Default)
Signup and view all the flashcards
Visual Basic .NET (VB.NET)
Visual Basic .NET (VB.NET)
Signup and view all the flashcards
Integrated Development Environment (IDE)
Integrated Development Environment (IDE)
Signup and view all the flashcards
Common Language Runtime (CLR)
Common Language Runtime (CLR)
Signup and view all the flashcards
Namespace in VB.NET
Namespace in VB.NET
Signup and view all the flashcards
Property in VB.NET
Property in VB.NET
Signup and view all the flashcards
KeyDown Event
KeyDown Event
Signup and view all the flashcards
Building a Project in VB.NET
Building a Project in VB.NET
Signup and view all the flashcards
Timer Control in VB.NET
Timer Control in VB.NET
Signup and view all the flashcards
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.