VB .Net Interview Questions with Answers

Visual Basic .NET

1) Explain about visual basic?
Ans:Visual basic is associated with the IDE of Microsoft. It is basically useful to implement RAD of GUI. Creation of Active X scripts are very easy and efficient through VB. Windows API can also be used to create application on windows desktop and its applications. This was primarily designed to create applications for windows platform.
2) Explain about .NET?
Ans: .NET is a Microsoft Framework and a software component. .NET has a large library of pre-coded solutions which provided developer significant help in developingapplications with solutions already present. It offers reliable security and cross platform compatibility.
3) Name some of the features present in VB 2005?
Ans:Some of the features present in VB 2005 are as follows: -
• Edit and continue: – It allows developers to modify and execute applications almost simultaneously.
• Namespace: – This provides access to various parts of the .NET framework and it also dynamically generates classes.
• Data source binding function is very useful for client server development.
4) Explain and brief about rapid application development tool?
Ans:Rapid action development tool describes about the software development process. This tool gives flexibility in iterative development and prototype deployment. It enhances the speed of application development. It is also used for application maintenance.
5) Describe about Visual basic.NET?
Ans:This is used in conjunction with Microsoft .NET platform and is a successor to visual basic sixth version. Visual basic is used in conjunction with.NET Framework. This tool has a serious defect it is not compatible with Microsoft visual basic sixth version. It has a huge library which assists programmers.
6) What are the various open source tool available for VB.NET?
Ans:When compared with the rapid development of open source tools for other languages from Microsoft (C#, etc) we can say that development of tools for VB has been slow. Mono development platform is one which is implementing VB libraries and is working on a compiler.
7) Explain about the performance of Visual basic?
Ans:Visual basic 5 and 6 are efficient in coding the code to native or P-code depending upon the programmer. Portability is a major addition to the performance of VB.NET and the code is also small. Additional layer is provided which interprets the code and this can be avoided by using special algorithms and native code programming.
8) Compare C# and Visual basic.NET?
Ans: .NET Frame work includes two languages which are language to IL compilers and in this C# and VB.NET are provided. The importance and flexibility of these as better programming languages is still questionable.Visual basic has been updated and revised to make it object oriented whereas C# has concepts from many languages such as Delphi, Java, etc and syntax from C and Java.
9) Explain about Visual basic.NET culture?
Ans:VB was always a RAD tool and it was always user friendly for any type of user whether professional or not. It also provided many users with shortcuts and features which made this language popular among many users. It had its share of debugging and maintenance issues of course.
10) Name and explain some of the exclusive features which are present inVB?
Ans:Some of the features which are exclusive to VB are as follows: -
1) Name space can be hidden which can be disabled.
2) Certain project files can be hidden and a user can show them if he intends to do.
3) Lots and lots of shortcuts are present which ease the development of programs.
4) Using the AddressOf myObject function a delegate can be made.
11) Name a feature which is common to all .NET languages?
Ans:There is only one feature which is common to all languages and that is Garbage collection or GC. This feature is automated which relieves developers of much work. This garbage is disposed only when there is need of memory or stress for memory. GC feature halts the application for few seconds before restarting it.
12) Name some of the features of C# which are not present in VB.NET?
Ans:Some of the features which are not present in VB are as follows they are: -
1) It supports unsafe code blocks for improved performance.
2) Partial interfaces and anonymous methods.
3) Multi line comments and static classes. Etc
13) Explain about the keyword Must Inherit?
Ans:This keyword prevents a class from directly instantiated. This keyword forces users to create references to only derived classes. This keyword is present in C# as abstract and it is very useful in creatingapplications.
14) What would you do to remove Microsoft visual basic name space?
Ans: .NET has many new features and application supportive tools. To remove Microsoft visual basic name space all you have to do is to
1) Remove the import manually every time you start the project.
2) Creating a template which does not contain Microsoft Visual Basic namespace.
3) About new features and changes names you can refer to MSDN.
15) Which is the tool which can convert Visual basic old version to .NET compatibility version?
Ans:There is a tool available which can convert old visual basic functions into new .NET code. Artin soft Visual basic upgrade Companion is very useful in converting VB code into .NET code. This tool was developed by Artin. This tool is integrated in Visual studio.NET 2005. It handles programs such as structured handling, error handling, etc.
16) Explain about the feature Anonymous type?
Ans:Anonymous type is a feature of VB.NET and it allows data types to be created from the code which requires it. This feature is present in VB as well as C#. They should be stored in variables declared with the keyword VAR. Dynamic typing is different and shouldn’t be confused with Anonymous type.
17) Explain about the Ruby interface generator?
Ans:Ruby interface generator is primarily responsible for providing the visual part of the Visual basic and this was clubbed with “EB” designed for Omega database system. VBX interface was added to this feature which had the ability to load dynamic link libraries.
This entry was posted in , , , . Bookmark the permalink.

Leave a reply