-
-
Which is not a collection type in VB.Net
A) HashtableB) ArrayListC) HeapD) Stack
-
Examples of Extended Provider are
A) Dataprovider & Error HandlerB) Errorprovider & HelpproviderC) Errorhandler & FinalizerD) None
-
Which interface provides the fast, connected, forward only access to data source
A) IdataRecordB) IdatabaseC) IdatacursorD) IdataReader
-
Which of the following can be used to run other application or batch file from VB.Net
A) System.Diagnostics.ProcessB) System.App.RunC) System.Diagnostics.RunD) System.Fileapp.Execute
-
Which method of VB.NET implements the same functionality of Destructor of C#
A) DisposeB) CloseC) FinalizeD) Nothing
-
Web.Config file is of the type
A) .vbB) XMLC) ResourceD) Aspx
-
Casting from reference type to value or vice versa is called as
A) Casting of variablesB) Boxing/UnboxingC) Structure & Class conversionD) Stack & Heap Conversion
-
Whats the output of following codeClass A Public Overridable Sub F() End SubEnd ClassClass B Inherits A Public Overridable Sub F() End SubEnd Class
A) Runtime ErrorB) Compiler ErrorC) Compiler Throws a warning message
-
What is the out put NotInheritable Class A Public sub printA End sub Public sub PrintB End subEnd ClassClass B Inherits A End Class
A) Both PrintA & PrintB are available at Class BB) Only PrintA is available at Class BC) Class B Can not inherit classA as it is not inheritable
-
What is the out put of the following codeMustInherit class MyFirstclassPublic Dim Num as IntegerPublic Sub New( I as integer) Num=iEnd SubEnd ClassClass Test Dim cls as New MyFirstclass( 100) Console.writeLine (cls.Num)End Class
A) Can not Create an Instance of MyfirstClassB) MyFirstclass is created and 100 is assigned to Num variableC) Runtime Error
-
What is the output of the following code in Test classClass Myclass Dim Num as Integer Private Sub New (i as integer) Num=i End subEnd class Class Test Sub Main() Dim c as MyclassC=New Myclass (10)End subEnd Class
A) Num variable of Myclass is initialized to 10B) Run Time ErrorC) Compiler ErrorD) StackOverflow ExceptionExplanation: Constructor is declared as Private hence Compile error
-
Append,Binary,Input are all the enumerated members of
A) OpenMode EnumerationB) OpenAccess EnumerationC) OpenShare Enumeration
-
VbOk,VbCancel,VbAbort are all the enumerated members of
A) MsgboxStyle EnumerationB) MsgboxResult EnumerationC) CompareMethod Enumeration
-
Assembly manifest contains
A) Assembly�s IdentityB) Assembly�s Reference ListC) Both A & B
-
What is Remoting?
A) Concept which allows code in one AppDomain call on objects of other App DomainB) A Concept which transmits the data over networkC) A Concept which deploys the code in remote server.
-
Which of the following is not a method of a Connection Object in VB.NET?
A) Open ( )B) BeginTransaction ( )C) Execute( )D) Commit Transaction( )
-
Which of the following statement is wrong in case of Constructors in VB.NET ?
A) Constructors are always named as NewB) Constructors do not return anythingC) Constructors can not be parameterizedD) Constructors are implicitly called when an object is created
-
What is the significance of Shadowing a method in VB.Net ?
A) It makes a method OverridableB) It makes a method not inheritableC) It replaces all the implementation from high in the inheritance chain
-
Dataset is always disconnected
A) TrueB) False
-
OPTION exists in VB.NET
A) TrueB) False
-
VB.NET 2003 can not support following
A) Operator OverloadingB) Multiple InheritanceC) Multilevel InheritanceD) All of the aboveE) A & B Only
-
Which statement shows Boxing?
A) Dim O as object=I ( as i an integer)B) Dim I as integer=OC) Both
-
What is the purpose of Invoke Method?
A) Used to call any procedureB) Used to call the procedure through Delegate variableC) BothD) None
-
Clone method can create which type of object in VB.NET?
A) Shallow CopyB) Deep CopyC) Either A or BD) None
-
Select the keyword used to compare the object variable?
A) AndB) ORC) ISD) OF
-
In VB.NET Optional parameters must be
A) First parameter in method signatureB) Second parameter in method signatureC) Last parameter in method signatureD) None
-
How do you implement inheritance in VB.NET
A) Using Extends KeywordB) Using Imports KeywordC) Using Override keywordD) None
-
Can you have optional parameters in VB.NET code?
A) YesB) No
-
What does Response.End will do?
Skill/Topic: IntermediateA) It will stop the server processB) It will stop the client processC) None of the above
-
Which of the following is not a valid state management tool?
Skill/Topic: IntermediateA) Application StateB) Hidden Form FieldC) QuerystateD) Cookies