Open-ended .NET questions

A reader sent in the list of open-ended .NET interview questions.

  1. What is the difference between VB 6 and VB.NET?
  2. What are the authentication methods in .NET?
  3. What’s the use of formatters in .NET?
  4. What is Serialization in .NET?
  5. How is Threading done in .NET?
  6. Differences between Namespace, Class, Assembly?
  7. What’s the use of System.Diagnostics.Process class?
This entry was posted in .NET, VB. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

38 Comments on Open-ended .NET questions

  1. Rafiq
    Posted 3/16/2005 at 1:27 am | Permalink

    Answer for Ques #7. Provides access to local and remote processes and enables you to start and stop local system processes.

  2. T.Sriniwas
    Posted 3/18/2005 at 3:24 am | Permalink

    Difference between VB6 and VB.Net

    vb.net

    1. VB.net is object oriented
    2. VB.Net can be used in Managed Code
    3. It supports inheritance, implements

  3. T.Sriniwas
    Posted 3/18/2005 at 3:25 am | Permalink

    Difference between VB6 and VB.Net

    vb.net

    1. VB.net is object oriented
    2. VB.Net can be used in Managed Code
    3. It supports inheritance, implements

  4. sathya
    Posted 4/4/2005 at 5:09 am | Permalink

    i want interview questions in dot net techonolgy

  5. rishabh mishra
    Posted 4/6/2005 at 5:12 am | Permalink

    hi
    this is good information for the programmers and the persons who are looking for jobs.

  6. shreecanth
    Posted 4/6/2005 at 8:49 am | Permalink

    Differences between VB and VB.net

    VB
    _________________________________________

    1,Object-based Language
    2,Doesnot support Threading
    3,Not powerful Exception handling
    mechanism
    4,Doesnot having support for the
    console based applications
    5,Cannot use more than one version
    of com objects in vb application
    called DLL error
    6,Doesnot support for the Disconnected
    data source.

    VB.Net
    __________________________
    1,Object-oriented Language
    2,supports Threading
    3,powerful Exception handling
    mechanism
    4,having support for the
    console based applications
    5,More than one version of
    dll is supported
    6,supports the Disconnected
    data source by using Dataset class

  7. madhu
    Posted 5/3/2005 at 7:38 am | Permalink

    What is Serialization in .NET?

    The serialization is the process of converting the objects into stream of bytes.
    they or used for transport the objects(via remoting) and persist objects(via files and databases)

  8. lakshmi
    Posted 5/7/2005 at 12:21 am | Permalink

    What is use of System.Diagnostics.Process class?

    By using System.Diagnostics.Process class, we can provide access to the files which are presented in the local and remote system.

    Example: System.Diagnostics.Process(”c:\mlaks\example.txt”) — local file
    System.Diagnostics.Process(”http://www.mlaks.com\example.txt”) — remote file

  9. lakshmi
    Posted 5/7/2005 at 12:27 am | Permalink

    difference between VB6 and VB.NET

    VB:

    1. Object-based language
    2. Does not support inheritance
    3. ADO.Net does not give support for disconnected data architecture
    4. No interoperability function
    5. No support for threading

    VB.Net

    1. Object-Oriented Programming lanugage
    2. ADO.Net gives support for disconnected data architecture
    3. It provides interoperability
    4. It uses managed code
    5. supports threading
    6. provides access to third-party controls like COM, DCOM

  10. lakshmi
    Posted 5/13/2005 at 4:47 am | Permalink

    what are the authentication methods in .NET?
    Ans:
    1. Windows: Basic, digest or Integrated windows authentication
    2. Microsoft passport Authentication
    3. Forms Authentication
    4. Client Certificate Authentication

  11. Mitul
    Posted 6/11/2005 at 1:17 am | Permalink

    Dear Provider,

    Thanx a lot for such a helpful techinterview questions with andwers which helps everyone to get rid of books.

    Regards,

    Mitul.

  12. sriram
    Posted 6/12/2005 at 10:38 pm | Permalink

    Dear Tech,
    this is sriram. one suggestion that, why cont you add some info/questions about infragitics related to .NET,Java,.. Because this is one of the requirements in companies…
    If you do so.. I will be thank full and all others may get gained to this… Even many of the members dont know about this.. And they will get known to this.. If you do so…
    OK
    Thanking you,
    -sriram

  13. prakashd
    Posted 6/13/2005 at 12:43 am | Permalink

    What is the difference between VB 6 and VB.NET?
    1.The concept of the complete flow of execution of a program from start to finish: Visual Basic
    hides this aspect of programs from you, so that the only elements of a Visual Basic program you
    code are the event handlers and any methods in class modules. C# makes the complete program
    available to you as source code. The reason for this has to do with the fact that C# can be seen,
    philosophically, as next-generation C++. The roots of C++ go back to the 1960s and predate windowed
    user interfaces and sophisticated operating systems. C++ evolved as a low-level, closeto-
    the-machine, all-purpose language. To write GUI applications with C++ meant that you had
    to invoke the system calls to create and interact with the windowed forms. C# has been
    designed to build on this tradition while simplifying and modernizing C++, to combine the
    low-level performance benefits of C++ with the ease of coding in Visual Basic. Visual Basic, on
    the other hand, is designed specifically for rapid application development of Windows GUI
    applications. For this reason, in Visual Basic all the GUI boilerplate code is hidden, and all the
    Visual Basic programmer implements are the event handlers. In C# on the other hand, this boilerplate
    code is exposed as part of your source code.
    2. Classes and inheritance: C# is a genuine object-oriented language, unlike Visual Basic, requiring
    all code to be a part of a class. It also includes extensive support for implementation inheritance.
    Indeed, most well-designed C# programs will be very much designed around this form of
    inheritance, which is completely absent in Visual Basic.

  14. Posted 7/19/2005 at 12:59 am | Permalink

    Do not know who has made the website but has a free ebook for dot net interview questions
    http://www.geocities.com/dotnetinterviews/

    i have cleared all my interview from the above link.

  15. - Sapna
    Posted 7/20/2005 at 5:29 am | Permalink

    What is Serialization in .NET?

    When developing smaller applications that do not have a database (or other formal storage mechanism) or data that doesn’t need to be stored in a database (such as the state of a web application), you often still would like to save the data for later retrieval. There are many ways to do this, but many of them are subject to a lot of extra code (work) and extra time spent debugging. With .NET, there is now an easy way to add this functionality to your code with only a few lines of easily tested code. This easy way is called serialization.

    Serialization is the process of storing an object, including all of its public and private fields, to a stream. Deserialization is the opposite – restoring an object’s field values from a stream. The stream is generally in the form of a FileStream, but does not have to be. It could be a memory stream or any other object that is of type IO.Stream. The format can be anything from XML to binary to SOAP.

  16. Sachin Doshi
    Posted 8/10/2005 at 5:18 am | Permalink

    There are 4 types of authentications.
    1.WINDOWS AUTHENTICATION
    2.FORMS AUTHENTICATION
    3.PASSPORT AUTHENTICATION
    4.NONE/CUSTOM AUTHENTICATION

    The authentication option for the ASP.NET application is specified by using the tag in the Web.config file, as shown below:

    other authentication options

    1. WINDOWS AUTHENTICATION Schemes

    I. Integrated Windows authentication
    II. Basic and basic with SSL authentication
    III. Digest authentication
    IV. Client Certificate authentication

    2. FORMS AUTHENTICATION
    You, as a Web application developer, are supposed to develop the Web page and authenticate the user by checking the provided user ID and password against some user database

    3.PASSPORT AUTHENTICATION
    A centralized service provided by Microsoft, offers a single logon point for clients. Unauthenticated users are redirected to the Passport site

    4 NONE/CUSTOM AUTHENTICATION:
    If we don’t want ASP.NET to perform any authentication, we can set the authentication mode to “none”.
    The reason behind this decision could be:
    We don’t want to authenticate our users, and our Web site is open for all to use.
    We want to provide our own custom authentication

    If you have any queries related to the above ans reply me on sachinbdoshi@gmail.com

  17. Murthy
    Posted 8/18/2005 at 11:00 am | Permalink

    Any one Please let me know How to change font style(Verdana to Arial) and size for a label control thru code in VB.NET?

  18. VIPAN SABHERWAL
    Posted 9/18/2005 at 1:11 pm | Permalink

    hello answer to question 1 vb.net use console application.

  19. VIPAN SABHERWAL
    Posted 9/18/2005 at 1:14 pm | Permalink

    WHY YOU USE VB.NET LANGUAGE INSTEAD OF OTHER LANGUAGES. WHAT ARE MAIN DIFF BETWEEN VB.NET AND OTHER LANGUAGES

  20. Karthik
    Posted 9/22/2005 at 12:26 am | Permalink

    Some clarification on what Object-Based means as compared to an Object oriented system

    Object based is a limited version of Object oriented, ex. object based does not support inheritance, polymorphism.

    We know the features of object oriented a system, don’t we? :-)

  21. Amitha
    Posted 9/29/2005 at 9:03 am | Permalink

    How to achieve Polymorphism in VB.Net?
    Whats the difference b/n class ana interfaces?

  22. Prateeti
    Posted 10/11/2005 at 8:49 pm | Permalink

    Difference Abstract class and Interface

    Abstract class: This class has abstract methods (no body). This class cannot be instantiated. One needs to provide the implementation of the methods by overriding them in the derived class. No Multiple Inheritance.

    Interfaces: Interface class contains all abstract methods which are public by default. All of these methods must be implemented in the derived class. One can inherit from from more than one interface thus provides for Multiple Inheritance.

  23. F T
    Posted 10/27/2005 at 8:49 am | Permalink

    re-clarification of object based:

    VB6 DOES support polymorphism and interface inheritance. It also supports the “Implements” keyword. What is not supported in vb6 is implementation inheritance.

    Also, from above, vb6 DOES “provides access to third-party controls like COM, DCOM ”
    That is not anything new in .NET.

  24. Ravi
    Posted 12/24/2005 at 12:34 am | Permalink

    How to achieve Polymorphism in VB.Net?

    we can achieve polymarphism in .Net i.e Compile time polymarphism and Runtime polymarphism. Compiletime Polymarphism achieved by method overloading. Runtime polymarphism achieved by Early Binding or Late Binding. Provide the function pointer to the object at compile time called as Early Binding.
    provide the function pointer to the object at runtime called as Late Binding
    class emp having the method display()
    class dept having the method display()

    create objects as in the main function
    // Early binding
    dim obj as new emp
    dim ob as new dept

    obj.display()-to call the display method of emp class
    ob.display-to call the display method of the dept class
    // Late binding

    create object in the main class as
    object obj
    obj=new emp
    obj.display()-to call the display of emp class
    obj=new dept
    obj.display()-to call the display of dept class

    I am writing this answer by my sense.
    If any correction please make them

    Thank you
    Ravi

  25. Ravi
    Posted 12/24/2005 at 12:39 am | Permalink

    Difference between Class And Interface

    Class is logical representation of object. It is collection of data and related sub procedures with defination.
    Interface is also a class containg methods which is not having any definations.
    Class does not support multiple inheritance. But interface can support.

  26. katie hennessy
    Posted 3/31/2006 at 10:24 am | Permalink

    how does database access differ in vb6 and vb.net

  27. sumesh
    Posted 6/2/2006 at 1:24 am | Permalink

    This was really helpfull for me to refresh .Net concepts..
    Thank you..

  28. Posted 8/2/2006 at 2:43 am | Permalink

    Q. What doesu mean by .NET framework?

  29. sasi.karasi@gmail.com
    Posted 8/10/2006 at 6:08 am | Permalink

    The .NET Framework is an environment for building, deploying, and running Web Services and other applications. It consists of three main parts: the Common Language Runtime, the Framework classes, and ASP.NET

  30. vishwa
    Posted 8/11/2006 at 5:46 am | Permalink

    What doesu mean by .NET framework?

    it is a single consisted class-lib which enables you to develop Distributed Applications.

  31. Nantha
    Posted 8/12/2006 at 1:23 am | Permalink

    Please give me the answer for my question.

    How the NULL values are stored in the memory?
    How the Database gives the unique identification to all NULL values in a table?
    How NULL values are act as values for some queris like
    count(*) and not a value for somw queries like count(field name)?

    And my doubts are going on.

    So the personality who is an expert in Database technology please give me the full concept about NULL values.

    Thanks in Advance.
    Regards ,
    Nantha

  32. Posted 8/18/2006 at 2:38 pm | Permalink

    What is IIS?

  33. Haritha Madhu
    Posted 8/18/2006 at 2:47 pm | Permalink

    What is assembly?
    It is a single deployable unit that contains all the information abt the implimentation of classes , stuctures and interfaces

  34. Haritha Madhu
    Posted 8/18/2006 at 2:49 pm | Permalink

    What is namespaces?
    It is a logical group of related classes and interfaces and that can be used byany language targeting the .net framework.

  35. nayeem
    Posted 10/15/2006 at 2:09 am | Permalink

    hi,
    rescently i have attended few interviews.there r some questions which i was not able to answer.can u please send me answers.
    1.say suppose in a structure which is value type we have added a reference type variable.will it be stored in stack memeory or heap?
    2.suppose u want to store your connection string where u r going store it apart from web.config appsettings?
    3.In a datagrid u r displaying atable.If u want to know what r the rows which r updated how do you implement it?
    4.In try catch scenario there r two catch blocks one is system defined and other is user defined which will be executed first?
    5.In boxing and unboxing which one is expensive?
    6.What is the difference between catch and throw?
    7.U have deployed windows service at client place.Say suppose it is giving erroneous results.it is a running application.How do you debug it?
    8.There is a webservice deployed at the client place .how can u check whether that application is working fine or not?
    9.u have deleted a record from database from u rapplication and at the same time some one is updating the same record.how do u handle the situation?

  36. prabhu
    Posted 11/2/2007 at 2:39 am | Permalink

    IIS stands for Internet Information Server.
    Basically IIS is an engine that drives ASP.NET websites.

    Internet Information Services (IIS) is a powerful Web server that provides a highly reliable, manageable, and scalable Web application infrastructure for all versions of Windows Server 2003. IIS helps organizations increase Web site and application availability while lowering system administration costs. It runs on Windows NT/2000 platforms and above versions. With IIS, Microsoft includes a set of programs for building and administering Web sites, a search engine, and support for writing Web-based applications that access database. IIS also called http server since it process the http request and gets http response

  37. Suresh
    Posted 11/28/2007 at 8:19 am | Permalink

    Diffrence between forms authentication and windows authentication?

  38. Heather
    Posted 1/22/2008 at 2:25 pm | Permalink

    Hello Everyone -

    I am a recruiter and I was hoping that you could help me with a few screening questions pertaining to VB.NET. I am trying to determine how extensive an individuals VB.NET experience is - someone who has been exposed verse’s someone who can lead a group. Do you have any suggestions?

    Thank you for all your input in this site.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*