VbnetQ&A
VbnetQ&A
Net represents
first-in,first-out collection of objects?
A. Queue
B. BitArray
C. SortedList
D. Stack
Ans: A
Q7. Which of the following access modifier allows you to pass an arbitrary
number of arguments to a procedure?
A. Overrideable
B. Overides
C. ParamArray
D. Partial
Ans: C
Q8. Which of the following access modofier specifies that a property or
procedure
overrides an identically named property or procedure inherited from a base
class?
A. Overrides
B. Overridable
C. ParamArray
D. Partial
Ans: A
Q9. The Java and Visual Basic.NET belong to this type of programming
language
A. Assembly Language
B. Machine Language
C. High Level Programming Language
D. Object Oriented Programming Language
Ans: A
Q15. The ___ is a systematic framework used for the development of system
tools and utilities?
A. .Net Tools
B. Visual basic 6
C. Visual Basic 2005
D. .Net Framework class Library
Ans: D
Q16. Which are not true about forms and controls in visual basic.net?
A. They are prebuilt
B. They are graphical objects
C. Buttons can be created with the drag and drop method
D. New versions of the classes must be created with each project
Ans: D
Q20. Which of the following access modifier specifies that one or more
declared
member variables refer to an instance of a class that can raise an event?
A. Widening
B. WithEvents
C. WriteOnly
D. ReadOnly
Ans: B
Q22. Which is true about the name and text property of a control?
A. The text property changes to match any changes in the name property
B. They are the same when the control is first created
C. They are never the same unless the programmer makes it that way
D. The name property changes to match any changes in the text property.
Ans: B
Q26. Which of the following access modifier specifies that one or more
declared
programming elements are accessible from within the assembly that contains
their
declarations not only by the component that
A. ByRef
B. ByVal
C. Default
D. Friend
Ans: D
Q31. A GUI
A. Uses buttons, menus and icons
B. Should be easy for a user to manipulate
C. both(a) and (b)
D. Stands for graphic use interactio
Ans: C
Q32. hich of the following access modifier specifies that a class cannot
be used as a base class?
A. MustInherit
B. MustOverride
C. Narrowing
D. NotInheritable
Ans: D
Q33. ___ are interactive objects that you can place in dialog boxes
or other windows to carry out user actions?
A. Forms
B. Controls
C. Classes
D. Objects
Ans: B
Q37. Which of the following operators declares the parameter and code that
define
a function lambda expression?
A. AddressOf
B. Await
C. GetType
D. Function Expression
Ans: D
Q39. Which type of project can a developer choose in the New project
dialog box?
A. Visual Basic Projects
B. Visual C++ Project
C. Visual C# Project
D. All the above
Ans: D
Q40. The ___ enables use to pass data between program and class?
A. Properties
B. Procedures
C. Variables
D. Functions
Ans: A
Q56. Which of the following block of VB.NET is used to execute a given set
of
statement whether an exception is thrown or not thrown?
A. Try
B. Catch
C. Finally
D. Throw
Ans: C
Q57. Which of the following property of class in VB.Net gives the rank
(number of dimension) of an array?
A. Rank
B. LongLength
C. Length
D. None of the above
Ans: A
Q58. The ____ does not describe inherited memeber functions, inherited
operators
and overriden virtual member functions
A. Library
B. Objects
C. Classes
D. Class Library Reference
Ans: D
Q61. Which of the following loop structure does not supported by VB.Net
A. Do....Loop
B. For.....Next
C. Do....While
D. For Each...While
Ans: C
Q62. Which of the following access modifier specifies that one or more
declared programming elements are accessible only from within their
own class or from a derived class?
A. Private
B. Public
C. Protected
D. ReadOnly
Ans: C
Q63. The ___ method converts an OLE automation date value to DateTime
Instance?
A. Today
B. Now
C. TimeOfDay
D. FromOADate
Ans: D
Q65. The member "clear" of the Array class that sets a range of array
elements to zero, false or null reference is a ____ method.
A. Method
B. Class
C. Shared
D. Object
Ans: C
Q69. Which of the following Operator declares the parameter and code that
define a function lambda expression?
A. AddressOf
B. Await
C. GetType
D. Function Expression
Ans: D
Q73. ____are interactive objects that you place in dialog boxes or other
windows to carry out user actions
A. Forms
B. Controls
C. Classes
D. Objects
Ans: B
Q74. Using a ____ variable does not enable us create read-only properties
that are often required by a class?
A. Private
B. Public
C. Friend
D. Protected
Ans: B
Q83. Which of the following converts the expressions to Object data type
in VB.Net
A. CSng(expression)
B. CShort(expression)
C. CObj(expression)
D. CSByte(expression)
Ans: C
Q88. Which of the following access modifier specifies that one or more
programming elements are accessible only from within their own class
or from a derived class?
A. Private
B. Public
C. Protected
D. ReadOnly
Ans: C
Q90. Which are the standard prefixes for the text box and lable controls
respectively?
A. txb and lbl
B. txb and lab
C. tex and lbl
D. tex and lab
Ans:A
Q93. Which of the following access modifier specifies that one or more
declared local variables are to continue to exist and retain their
latest values after termination of the procedure in which they are
declared?
A. Shadows
B. Shared
C. Static
D. Unicode
Ans: C
Q95. The ____ model does not offer a model for source code reuse?
A. COM+
B. DCOM
C. COM
D. .Net
Ans: C
Q96. Which of the following access modifier specifies that one or more
declared
member variables refers to an instance of a class that can raise events?
A. Widening
B. WithEvents
C. WriteOnly
D. ReadOnly
Ans: B
Q100. Which of the following access modifier specifies that the type is
covariant?
A. NotOverridable
B. Optional
C. Out
D. Overloads
Ans: C
Q104. Which are the standard prefixes for the Button and combo box
controls respectively?
A. bto and cbo
B. bto and chb
C. btn and cbo
D. btn and chb
Ans: C