VB.Net Interview Questions and Answers Pdf - 1
How many languages .NET is supporting now?
When .NET was introduced it came with several languages. VB.NET, C#, COBOL and Perl, etc.
The site DotNetLanguages.Net says 44 languages are supported.
What you mean by .NET framework?
The .NET framework is a software development framework from Microsoft.
It is a collection of tools, technologies, and languages that provides an environment to build and deploy robust enterprise applications easily.
.Net supports the following features:
Interoperability: .NET includes .a large library and supports several programming languages hence enable us to use codes written in different languages.
Common Runtime Engine: It provides a runtime environment for the execution of code written in .NET languages. It manages the execution of .NET code including memory management, debugging and exception handling.
Language Independence: Through Common language infrastructure specifications (CLI), .NET allows exchanging of data type between programs developed in different languages.
Base Class Library: It contains classes, value types, and interfaces required in application development. The library is organized as namespaces and can be easily used in any application by just including the namespaces at the top.
Supports ADO.NET- It provides access to data sources such as Microsoft SQL server, XML etc. so, it can be used in applications to connect to these data sources and retrieve, manipulate, and update data.
Microsoft AJAX Library – It is used to create highly responsive web applications with minimum efforts.
What is IL?
Whenever we compile our code in .NET, it is converted to Intermediate Language (IL) which is also known as Microsoft Intermediate Language or common Intermediate Language.
The IL code is in binary format and is used to debug our code at low level.
What is difference between VB and VB.NET?
Following are the differences between VB and VB.NET:
VB6 is a powerful and simple language used to create desktop Window applications or reusable ActiveX libraries. VB.NET is an enhancement to VB6 and used for developing web applications, distributed applications, web services etc. VB.NET uses the .NET Runtime and Framework that adds several features like faster program execution and better memory management etc.
VB6 uses ASP to build web applications where as VB.NET uses ASP.NET to build web Applications.
VB6 uses the VB-Runtime for running programs whereas VB.NET uses the .NET’s Common Language Runtime Which allows it to run on different platforms and operating systems
VB6 interprets the code whereas VB.NET compiles the code. Moreover the compiled code is cached to increase efficiency
VB6 uses COM (Component Object Model) as component architecture where as VB.NET uses assemblies as its component architecture. It means handling versioning and deploying applications is easier in VB.NET than in VB6
VB6 uses ADODB for accessing database where as VB.NET uses ADO.NET which is comparatively more efficient and also supports the disconnected data access.
We cannot create multithreaded applications in VB6. In VB.NET, we can create multi threaded applications.
What are CLR, CTS and CLS?
Common Language Runtime or (CLR)
It is a Runtime environment of .NET Framework.
It is a layer of the .NET Framework that converts the source code into an intermediate language called the Microsoft Intermediate Language.
CLR performs the following tasks:
Manages the code while execution
Provides various services required in execution of an application such as memory management, garbage collection, thread management, exception handling, security checks etc.
Manages versioning, deployment support, and debugging.
Manages different .NET Types.
Common Type System (CTS)
It is a formal specification that documents how types are declared, used and managed in order to be used by the CLR.
Every language running on the .NET platform has a base set of data types provided by CTS.
CTS ensure that the data types of objects written in various languages are able to interact with each other.
It also defines the rules to ensure that objects written in different languages can interact with each other.
Common Type System supports following types:
Value types – value types directly contain their data. Instances of value types are either allocated on the stack or allocated inline in a structure. Value types can be built-in, user-defined, or enumerations.
Reference types – Reference types store a reference to the value’s memory address and are allocated on the heap. Examples of reference types include arrays, pointer typ
- VB.Net Interview Questions and Answers
- VB.Net Interview Questions and Answers Pdf
- VB.Net Interview Questions and Answers for Experienced
- VB.Net Interview Questions and Answers for Freshers
- VB Dotnet Interview Questions and Answers Pdf
- 200+ Advanced VB.Net Interview Questions 2020-2021
- VB.Net Programming Interview Questions and Answers
- VB.Net Windows Application Interview Questions and Answers
- Vb.Net Practical - Viva Questions and Answers
- 200+ VB.Net Interview Questions
7000+ TNPSC Group 1, 2, 4, VAO Indian Economy Study Materials Pdf More
7000+ Gate Computer Science Engineering Previous Year Questions More
7000+ Fill in the Blanks with Suitable Homonyms More
7000+ Fill in the Blanks with Suitable Homophones More
Power Semiconductor Device and Integrated Circuits MCQ Questions Pdf More
TNPSC Group 1 Study Material in Tamil and English More
7000+ Metallurgical Engineering Objective Questions on Fuel Technology More
1000+ Logical Reasoning and Analytical Ability UPSC Questions Pdf More
1000+ Puzzle Questions with Answers More
1000+ Asp.Net MCQ Questions with Answers Pdf More