You Scored:
Ranking:
Visual Basic Programming Solved MCQs Examples
1. Any project that compiles to an EXE or DLL files produces an assembly in .NET?
A. True (Answer)
B. False
2. Which of the following namespaces is used to access "computer name" and its IP address in VB.NET?
A. System.Diagnostics.Process
B. System.NET.DNS (Answer)
C. System.Data.Common
D. None of the Above
C. Which of the following object is used by the DataAdapter to retrieve the data from database?
A. Connection
B. Command (Answer)
C. DataReader
D. Which of the following control doesn't receive the focus and doesn't have a TabIndex property?
A. PictureBox (Answer)
B. TabControl control
C. ListBox
D. LablControl
5. How do you limit implicit type conversion in VB.NET?
A. Options Strict True
B. Option Strict off
C. Option Strict=1
D. Option Strict On (Answer)
6. Which of the following is not the member of System.Collections?
A. Stack
B. BitArray
C. Queue
D. Enum (Answer)
7. Which of the following is the best to retrieve Read-Only, Forward-only stream of data from database?
A. DataReader (Answer)
B. Typed Data Set
C. None of them
D. Data Set
8. Is the Class type in VB.NET a value type?
A. No (Answer)
B. Yes
9. Which of the following namespace provides support for obtaining information and dynamic creation of types at runtime?
A. System.Data (Answer)
B. System.ComponentModel
C. System.IO
D. System.Reflection
10. ---------- is used to step through each line of code as it executes, including calls to other function?
A. Step Over
B. Run to Cursor
C. Step Out
D. Step Into (Answer)