• +91 9723535972
  • info@interviewmaterial.com

VB.Net Interview Questions and Answers

VB.Net Interview Questions and Answers

Question - 71 : - What do you understand about globalization in the .NET framework?

Answer - 71 : -

Globalization is essentially the process of adapting your application to different cultures. You must recognise that your application's users may speak a different language than you and that their language, in addition to being a different language, follows different rules. Some languages, for example, should be displayed right to left, whereas others should be displayed left to right. You must now consider not just the various languages, but also the various currencies, date and time settings, and the various colours associated with various civilizations. With globalisation, you can make your software accessible to people from all over the world, regardless of their language.

Question - 72 : - What do you understand about an assembly manifest in the .NET framework?

Answer - 72 : -

An assembly manifest is a text file in the.NET Framework that contains metadata about the code in a CLI assembly. It describes the components' relationships and dependencies, as well as the assembly's versioning information, scope information, and security permissions. The Manifest file type can be saved as a PE file type. As a Manifest, you can save the Assembly Name, Version, Culture, and key token.

Question - 73 : - Define Garbage Collection in VB.NET. State your understanding of the Dispose() and Finalize() methods.

Answer - 73 : -

Garbage collection in VB.NET, often known as automatic memory management, is a technique for discarding dynamically allocated memory automatically. Garbage collection is handled by a garbage collector, who will recycle memory if it is determined that it will be used in the future.

  • The garbage collector invokes the Finalize() method, which aids in the cleanup of unmanaged resources. Other resources, such as window handles and database connections, are managed through the iDisposable interface.
  • To explicitly release unused resources, the Dispose() method is handled by the IDisposable interface. Even if other references to the object are alive, Dispose() method can be called.

Question - 74 : - What is delegates in VB.NET?

Answer - 74 : -

A delegate is a type of object that can be used to refer to a method. When you assign a delegate to a method, it functions precisely like that method. Delegates are objects that serve as placeholders for methods. Because they are comparable to function pointers used in other programming languages, they are also referred to as type-safe function pointers. Visual Basic delegates, unlike function pointers, are a reference type based on the class System.Delegate.

Question - 75 : - What do you understand about Authentication and Authorization? What are the different types of authentication?

Answer - 75 : -

The process of getting credentials from users and validating their authenticity is known as authentication. The process of granting access to authenticated resources is known as authorization. The authorization follows Authentication and authorization can be done in various ways, for instance, users can be authorised to have various kinds of access to the application such as READ ONLY access, Write Access, Delete Access, etc. Both application architects and developers are concerned about authentication. Applications that store sensitive data must be safeguarded against hostile assaults and competitors attempting to steal data or intellectual property. When building a security model for your application, keep in mind the business needs for authentication as well as the impact that a security model choice can have on performance, scalability, and deployment.

Authentication can be divided into various categories:

  • Windows Authentication 
  • Passport Authentication 
  • Form Authentication
  • Anonymous Authentication
  • Basic Authentication
  • Digest Authentication
  • Port Authentication
  • Certificate Authentication
  • Using Cookies

Question - 76 : - What are the different sorts of garbage collector generations?

Answer - 76 : -

In the garbage collector, there are three generations:

  • Generation 0: It represents a brand new object that has never been marked for collection.
  • Generation 1: It identifies an object that has been designated as a collection but has not yet been removed.
  • Generation 2: This indicates an object that has been swept by the Garbage Collector more than once.

Question - 77 : - What is Global Assembly Cache (GLC)? What is it used for?

Answer - 77 : -

The Global Assembly Cache (GLC) is used to store shared .NET assemblies. The following criteria make use of it:

  • If there are any unique security needs for .Net assemblies.
  • If a .Net application has to share data with other programs.

Question - 78 : - What is Common Language Runtime or CLR?

Answer - 78 : -

CLR stands for Common Language Runtime, and it is the brain behind the .NET framework. It is the responsibility of the runtime to ensure that the program's code is executed correctly. The following is taken care of by CLR:

  • Verification of Garbage Collection Codes.
  • IL (Intermediate Language) for Code Access Security.

Question - 79 : -
Can the .tostring method handle NULL values?

Answer - 79 : -

No, the .tostring method cannot handle NULL values. Instead of it, we can use Convert .tostring method to handle NULL values.

Question - 80 : - Define application domains. How can we create application domains?

Answer - 80 : -

  • A lightweight process controlled by the .NET runtime can be thought of as an application domain. Hosts such as windows shell, asp.net, and many more build application domains. 
  • For example, when you execute a .net application from the command line, the host is the shell. For each application, the shell establishes a new application domain.


NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners