Monday, November 10, 2014

Nitheen Kumar

VB.Net Interview Question and Answers

1. What is VB.NET?
VB.Net is a windows based programming language.It supports oops concept.

2. What is the base class of .net?
System.Object

3. What is Difference between Namespace and Assembly?
Namespace is a collection of different classes. whereas an assembly is the basic building blocks of the .net framework.

4. What is the difference between early binding and late binding?

Calling a non-virtual method, decided at a compile time is known as early binding. Calling a virtual method (Pure Polymorphism), decided at a runtime is known as late binding.

5. What is Intermediate Langauge?
Microsoft Intermediate Language(MSIL or IL) is the CPU -independent instruction set into which .Net framework programs are compiled. It contains instructions for loading, storing initializing, and calling methods on objects.

6. What is Commom Language Runtime?
CLR also known as Common Language Run time provides a environment in which program are executed, it activate object, perform security check on them, lay them out in the memory, execute them and garbage collect them.

7. What is Common Type System?
The common type system is a rich type system, built into the common language runtime, which supports the types and operations found in most programming languages.

8. What is Common Language Specification?
The Common Language Specification is a set of constructs and constraints that serves as a guide for library writers and compiler writers.

9. What’s the difference between private and shared assembly?
Private assembly is used inside an application only and does not have to be identified by a strong name.
Shared assembly can be used by multiple applications and has to have a strong name.

10. What namespace does the Web page belong in the .NET Framework class hierarchy?
System.Web.UI.Page

11. What is an Assembly?
Assembly are the basic buiding blocks of the .net framework.They are the logical grouping of the functionality in a physical file.

12. What are the advantages of an assembly?
Increased performance. Better code management and encapsulation. It also introduces the n-tier concepts and business logic.

13. What is Code Access Security?
CAS - Code Access Security is the part of the .NET security model that determines whether or not a piece of code is allowed to run, and what resources it can use when it is running.

14. What are the difference between Structure and Class?
Structures are value type and Classes are reference type
Structures can not have constructors or destructors.
Classes can have both constructors and destructors.
Structures do not support Inheritance, while Classes support Inheritance.

15. What is the differences between dataset.clone and dataset.copy?
Dataset.clone copies just the structure of dataset (including all the datatables, schemas, relations and constraints.); however it doesn’t copy the data. Dataset.copy, copies both the dataset structure and the data.
Subscribe to get more Posts :