Breaking News
Loading...
Tuesday, August 7, 2012

VB.Net Interview Question and Answers 5

Tuesday, August 07, 2012
61. What is the difference between Compiler and Interpreter?
Compiler :
A compiler is a program that translates program (called source code) written in some high level language into object code.
Interpreter:
An interpreter translates high-level instructions into an intermediate form, which it then executes. Interpreter analyzes and executes each line of source code in succession, without looking at the entire program; the advantage of interpreters is that they can execute a program immediately. .

62. What is a class?
Class is concrete representation of an entity. It represents a group of objects, which hold similar attributes and behavior. It provides abstraction and encapsulations.

63. What is an Object?
Object represents/resembles a Physical/real entity. An object is simply something you can give a name.

64 What is Abstraction?
Hiding the complexity. It is a process of defining communication interface for the functionality and hiding rest of the things.

65. How do you convert a string into an integer in .NET?
Int32.Parse(string)
Convert.ToInt32()

66. Describe the compilation process for .NET code?
Source code is compiled and run in the .NET Framework using a two-stage process. First, source code is compiled to Microsoft intermediate language (MSIL) code using a .NET Framework-compatible compiler, such as that for Visual Basic .NET or Visual C#. Second, MSIL code is compiled to native code.

67. What Is Boxing And Unboxing?
Boxing :
Boxing is an implicit conversion of a value type to the reference type.
Examples : Stuct Type, Enumeration Type
UnBoxing :
Unboxing is an explicit conversion from the reference to a value type.
Examples : Class , Interface.

68. How do you create threading in .NET? What is the namespace for that?
System.Threading.Thread

69. What is Method overloading?
Method overloading occurs when a class contains two methods with the same name, but different signatures.

70. What is Method Overriding?
An override method provides a new implementation of a member inherited from a base class. The method overridden by an override declaration is known as the overridden base method.

71. What is difference between inline and code behind?
Inline code written along side the html in a page. Code-behind is code written in a separate file and referenced by the .aspx page.

72. What is an abstract class?
An abstract class is a class that must be inherited and have the methods overridden. An abstract class is essentially a blueprint for a class without any implementation.

73. What is the difference between datagrid and gridview?
Datagrid is used in windows application and gridview is used in web and in datagrid we cannot write the code for datagrid properties where as for grid view we can write the code like template column item template etc this will not be done in datagrid.

74. What is the use of System.Diagnostics.Process class?
The System.Diagnostics namespace provides the interfaces, classes, enumerations and structures that are used for tracing.
The System.Diagnostics namespace provides two classes named Trace and Debug that are used for writing errors and application execution information in logs.

75. What is the difference between static or dynamic assemblies?
Assemblies can be static or dynamic.
Static assemblies :
can include .NET Framework types (interfaces and classes), as well as resources for the assembly (bitmaps, JPEG files, resource files, and so on).Staticassemblies are stored on disk in portable executable (PE) files.
Dynamic assemblies :
which are run directly from memory and are not saved to disk before execution. You can save dynamic assemblies to disk after they have executed.

<< 1 2 3 4 5 6 7 8 >>

Share This :
Tags: VB.Net interview question and answers, VB.Net interview questions and answers, VB.Net VB.Net interview questions and answers, VB.Net technical interview questions and answers, advanced VB.Net interview questions, download VB.Net interview questions, interview for VB.Net, interview VB.Net question, interview VB.Net questions, interview question answer in VB.Net, interview question for VB.Net, interview question in VB.Net, interview question on VB.Net, interview questions for VB.Net developer, interview questions in VB.Net, interview questions VB.Net,oops interview questions in VB.Net,VB.Net advanced interview questions,VB.Net developer interview questions,VB.Net interview faq,VB.Net interview faqs,VB.Net interview questions,VB.Net interview question,VB.Net interview question and answer,VB.Net interview question and answers, VB.Net interview question answer, VB.Net interview question answers,VB.Net interview question with answer,VB.Net interview question with answers,VB.Net interview questions, VB.Net interview questions & answers, VB.Net interview questions and answer, VB.Net interview questions and answers,VB.Net interview questions answer, VB.Net interview questions answers, VB.Net interview questions doc, VB.Net interview questions free download, VB.Net interview questions with answers, VB.Net interview quetions, VB.Net interview question,VB.Net interview questions, VB.Net interview test, VB.Net interview tips, VB.Net job interview, VB.Net VB.Net interview question, VB.Net VB.Net interview questions, VB.Net VB.Net interview questions and answers, VB.Net oop interview questions, VB.Net programmer interview, VB.Net programming interview, VB.Net programming interview questions, VB.Net questions interview, VB.Net technical interview, VB.Net technical interview question, VB.Net technical interview questions, VB.Net technical interview questions and answers, technical interviews PDF VB.Net, technical interviews VB.Net VB.Net.

0 comments:

Post a Comment

 
Toggle Footer