OOPs Interview Questions

Q: How will you define a CLASS ?

A: All classes in Visual Basic. NET are defined in a .VB file (as oppose to .CLS file in vb6), Also .VB file may contain one or more classes. The basic syntax of a class is as follows:

Class ClassName

End Class

Difference between ASP and ASP.NET

SP stands for Active Server Pages. ASP.NET is the next generation of ASP. After the introduction of ASP.NET, old ASP is called 'Classic ASP'.

Classic ASP uses vb script for server side coding. Vb Script is not supported any more in ASP.NET. Instead, ASP.NET supports more languages including C#, VB.NET, J# etc. VB.NET is very similar to vb script, so it should be easy for old Visual Basic or ASP programmers to switch to VB.NET and ASP.NET

ASP.NET Q&A || ASP.NET Interview questions and answers || ASP.NET Main Interview Questions

(B) What’ is the sequence in which ASP.NET events are processed?
Following is the sequence in which the events occur:-
• Page_Init.
• Page Load.
• Control events
• Page- Unload event.

Generic classses

Generic classes encapsulate operations that are not specific to a particular data type. The most common use for generic classes is with collections like linked lists, hash tables, stacks, queues, trees and so on where operations such as adding and removing items from the collection are performed in much the same way regardless of the type of data being stored.

Object -Interview Questions

Object concepts

Q: What is an object in Java?

A: In Java the Object class is the ultimate superclass of every other object type. All objects are extended from the Object class, either directly or by inheritance through any number of parent classes. If a class does not explicitly extend any named class, it implicitly extends the Object class. An object with a small o is the word used to describe an instance of a Java class.

MODIFIERS -INTERVIEW QUESTIONS

Q: How can I prevent inheritance without marking a class final?

A: Declaring a class final is the simplest way to prevent extension. A more limited way to control overrides without preventing extension is to declare individual methods final. If all methods are declared final but not the class, the class may be extended but none of its methods overridden.

Interview Questions for 1 Year Experience on state management

State Management Questions

What is ViewState?

ViewState allows the state of objects (serializable) to be stored in a hidden field on the page.  ViewState is transported to the client and back to the server, and is not stored on the server or any other external source.  ViewState is used the retain the state of server-side objects between postabacks.

Interview Questions for 1 Year Experience on web services

Web Service Questions

What is the transport protocol you use to call a Web service?

SOAP (Simple Object Access Protocol) is the preferred protocol.

Interview Questions for 1 Year Experience

Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process.

inetinfo.exe is theMicrosoft IIS server running, handling ASP.NET requests among other things.When an ASP.NET request is received (usually a file with .aspx extension), the ISAPI filter aspnet_isapi.dll takes care of it by passing the request tothe actual worker process aspnet_wp.exe.

Asp.Net 2.0 interview questions


What is ASP.NET?
Microsoft ASP.NET is a server side technology that enables programmers to build dynamic Web sites, web applications, and XML Web services. It is a part of the .NET based environment and is built on the Common Language Runtime (CLR) . So programmers can write ASP.NET code using any .NET compatible language.

SQL Server Interview Questions

1) Explain in brief about Microsoft SQL server?
Microsoft SQL server is primarily produced by Microsoft and it uses Transact-SQL as its query language. This is a Relational database management system which implements ANSI and ISO standards. It is one of the most popular software for Data base management.

C# Interview Questions & Answers :

1. Does C# support multiple-inheritance?
No.

2. Who is a protected class-level variable available to?

It is available to any sub-class (a class inheriting this class).

3. Are private class-level variables inherited?

Yes, but they are not accessible. Although they are not visible or accessible via the class interface, they are inherited.

4. Describe the accessibility modifier “protected internal”.

It is available to classes that are within the same assembly and derived from the specified base class.

5. What’s the top .NET class that everything is derived from?

System.Object.

6. What does the term immutable mean?

The data value may not be changed. Note: The variable value may be changed, but the original immutable data value was discarded and a new data value was created in memory.

7. What’s the difference between System.String and System.Text.StringBuilder classes?

System.String is immutable. System.StringBuilder was designed with the purpose of having a mutable string where a variety of operations can be performed.

8. What’s the advantage of using System.Text.StringBuilder over System.String?

StringBuilder is more efficient in cases where there is a large amount of string manipulation. Strings are immutable, so each time a string is changed, a new instance in memory is created.

data structure interview questions

Data Structure


  1. What is data structure?
A data structure is a way of organizing data that considers not only the items stored, but also their relationship to each other. Advance knowledge about the relationship between data items allows designing of efficient algorithms for the manipulation of data.

ASP.NET Interview Questions

Describe the role of inetinfo.exe, aspnet_isapi. dll and aspnet_wp.exe in the page loading process ?



Ans : inetinfo.exe is the Microsoft IIS server running, handling ASP.NET requests among other things. When an ASP.NET request is received (usually a file with .aspx extension), the ISAPI filter aspnet_isapi. dll takes care of it by passing the request to the actual worker process aspnet_wp.exe.

C++ Interview Questions & Answers



1.       What is Polymorphism
'Polymorphism' is an object oriented term. Polymorphism may be defined as the ability of related objects to respond to the same message with different, but appropriate actions. In other words,

Interview Questions on SQL




1.  Which is the subset of SQL commands used to manipulate Oracle Database structures, including tables?
Data Definition Language (DDL)
  1. What operator performs pattern matching?
LIKE operator

Top 10 C Programs & Answers

11.Write a program to generate the Fibonacci series.
Fibonacci series: Any number in the series is obtained by adding the previous two
numbers of the series.
Let f(n) be n'th term.
f(0)=0;
f(1)=1;
f(n)=f(n-1)+f(n-2); (for n>=2)
Series is as follows

Top 10 C programs and Answers

Write a program to find factorial of the given number.

1.

Recursion: A function is called 'recursive' if a statement within the body of a
function calls the same function. It is also called 'circular definition'. Recursion is thus a process of defining something in terms of itself.
Program: To calculate the factorial value using recursion.

About My Blog Create

Today(09-04-2011) i created my blog.
I am so happy to create the Blog