Subject Code: MT0040
Subject Name: VB.Net
Credits: 4 Marks: 140
Part A (One mark questions)
1. The _is a systematic class framework used for the development of system tools and utilities.
A. .Net Framework Class Library (FCL)
B. .Net tools
C. Visual Basic 2005
D. Visual Basic 6
2. The model does not offer a model for source code reuse. A. COM+
B. DCOM C. COM D. .Net
3. allow custom items of information about a program element to be stored with an assembly's metadata.
A. Properties B. Attributes C. Methods D. Classes
4. The corresponding .Net FCL type for Short is . A. System.Int32
B. System.Int64
C. System.Int16
D. System.Object
5. The member "clear" of the Array class that sets a range of array elements to zero, false or null reference is a method.
A. Shared
B. Method
C. Class
D. Object
6. The method converts an OLE automation date value to a DateTime Instance. A. Today
B. TimeOfDay
C. Now
D. FromOADate
7. The function procedures are by default. A. public
B. private
C. protected
D. inherited
8. Every optional argument in the procedure definition must specify a value which must be a constant expression.
A. constant
B. default
C. integer
D. character
9. Type casting in VB.Net is implemented by means of statement. A. Type()
B. TypeDef() C. Btype()
D. Ctype()
10. The enable us to pass data between a program and a class. A. Functions
B. Properties C. Procedures D. Variables
11. Using a variable does not enable us to create read-only properties that are often required by a class.
A. public
B. private
C. protected
D. friend
12. A performs invisible tasks even if you write no code. A. destructor
B. private method
C. constructor
D. function
13. The does not describe inherited member functions, inherited operators, and overridden virtual member functions.
A. Class Library Reference
B. Library C. Objects