|Visual Basic MCQs Quiz Test|
Solved Visual Basic Objective Type MCQs
Q.1: Which of the following is not a method of Debug class ?
- All of above
- Flush( )
- Open( )
- Assert( )
Q.2: COMException class is a part of ------ ?
- All of them
- System. Data
Q.3: Which of the following namespaces is used to access computer name and its IP address in VB.NET ?
- None of the Above
Q.4: If no access modifier is specified for a class, it is considered -------- ?
Q.5: Which of the following control doesn't receive the focus and doesn't have a TabIndex property ?
- TabControl control
Q.6: Which of the following information is contained in the assembly manifest ?
- Security Permissions
- All of the above
Q.7: Which of the following object is used by the DataAdapter to retrieve the data from database ?
- All of These
Q.8: ----- is used to step through each line of code as it executes, including calls to other function ?
- Step Over
- Step Out
- Step Into
- Run to Cursor
Q.9: ------ protects system resources from unauthorized calls ?
- Code-based security
- Role-based security
Q.10: The methods declared with the following modifiers are not accessible out side the current VB.NET project ?
- None of these
Q.11: Default properties are always a parameterized property ?
Q.12: Which of the following namespace provides support for obtaining information and dynamic creation of types at runtime ?
Q.13: Which of the following is the best to retrieve Read-Only, Forward-only stream of data from database ?
- Data Set
- Typed Data Set
- None of them
Q.14: Any project that compiles to an EXE or DLL files produces an assembly in .NET ?
Q.15: Choose the statement about a delegate in VB.NET ?
- It is a type-safe function pointer
- Delegates are used to create associations between events and event handlers in VB.NET
- A delegate is a strongly type function pointer
- All of the above statements are for a delegate
Q.16: Which of the following is not the member of System.Collections ?
Q.17: How do you limit implicit type conversion in VB.NET ?
- Option Strict=1
- Option Strict off
- Option Strict On
- Options Strict True
Q.18: Which of the following control can contain other controls ?
- All of the above
Q.19: Is the Class type in VB.NET a value type ?
Q.20: Which of the following is not true for Shared members ?
- Shared members belong to the type but not to any instance of a type
- They can be accessed using the type name
- They can be accessed without creating an instance of the type.
- They are accessed using instance name