Category Archives: Programming

Questions about Web Server

2. List out differences between Web Server and Application Server. Ans. The main differences between Web servers and application servers are: n  A Web server is where Web components are deployed and run. An application server is where components that … Continue reading

Posted in Programming | Tagged | Leave a comment

Faq about CGI programming

1. What is precompiling? How JSPs are pre-compiled in Tomcat? Ans: By default JSPs are converted into their corresponding .java files when someone accesses them for the first time. This process involves lots of complex parsing and is slow. Precompiling … Continue reading

Posted in Programming | Tagged | Leave a comment

Taking input in JAVA made easy

In early versions of JAVA, before jdk 1.4, user input could be taken using the BufferedReader class, from the keyboard represented by the ‘System.in’. Also, due to the fact that BufferedReader class reads input in the form of characters ( … Continue reading

Posted in Computer, Education, Programming, Technology, science | Leave a comment

The Unsolvable Problem–NP Complete

Is it very difficult to understand NP complete problems? Here I shall give a brief and simplified overview of this category of problems and why they are called so? NP actually stands for Non-deterministic Polynomial Time. To understand such problems, … Continue reading

Posted in Computer, Education, Programming, science | Leave a comment

Easily Backup Your Debain Linux Applications & Settings

Debain is the most popular architecture of Linux and is also the most wide spread in use. There are many flavors of Linux that use debain as their base architecture like Ubuntu and Mint. Many Of Us , or sure … Continue reading

Posted in Computer, Programming | Tagged , , | 2 Comments

VARIOUS PACKAGES USED in java

1.)javax.swing.*:- Swing provides sophisticated set of Java classes that allow us to create a Graphical User Interface (GUI) and accept user input through the keyboard and the mouse. This package provides us with various items, which enable creation of an … Continue reading

Posted in Programming | Tagged , , | 1 Comment

Module Oriented approach

In this approach, a system is seen as a set of functions, data  and processes and their inter-relationships. Maintenance is a costlier affair in this approach. Proper and detailed documentation is needed for modification of the system. Repairing faults may … Continue reading

Posted in Programming | Tagged , , , , , | Leave a comment

Object Oriented approach

In this approach, a system is seen as a collection of objects, each with a functional purpose. These objects are interconnected to achieve a common objective. It facilitates easy maintenance of system and at a low cost. This is because … Continue reading

Posted in Programming | Tagged , , , , , | Leave a comment

Arrays in ADO.NET

Single-Dimensional Arrays – These are the arrays having only one dimension which contains the elements in a linear way. We can declare an array of five integers as in the following example: int[ ] myArray = new int [5]; This … Continue reading

Posted in Programming | Tagged , , , , | Leave a comment

The role of System.Object, System.String, System.Array and System.Collections Classes

System.Object – System.Object class is the ultimate base class that all types directly or indirectly derive from. The object class allows us to build generic routines, provides Type System Unification, and enables working with groups collections. Commonly generic routines must … Continue reading

Posted in Programming | Tagged , , , | Leave a comment

Whats exception? How exceptions are handled in C#?

An exception is any error condition or unexpected behavior encountered by a program in execution. Exceptions can be raised because of a fault in our code or in shared library or when operating system resources not being available or when … Continue reading

Posted in Programming | Tagged , , , , | Leave a comment

operator overloading in c#

To overload an operator in a class, one defines a method using the ‘operator’ keyword. For instance, the following code overloads the equality operator public static bool operator == ( Value a ,Value b) { return a.Int == b.Int } … Continue reading

Posted in Programming | Tagged , , , | Leave a comment

parameter passing in C#

Passing by value The parameter modifiers ‘ref’ and ‘out’ relate to how the parameter is passed into the method. Where neither of these modifiers is used, the parameter is passed in ‘by value’. In this case, when the method is … Continue reading

Posted in Programming | Tagged , , , , , | Leave a comment

built in graphics function available in “C” programming

.In this mode it is possible to display text as well as graphical figures. The basic element of the graphical pictures is picture element, which is also called a pixel. The resolution of the monitor is measured in terms of pixels … Continue reading

Posted in Programming | Tagged , , , , | 2 Comments

Information on stack reserve size property of Visual Studio

Information on stack reserve size property of VS: This property is used to get or set the total stack allocation size in virtual memory. By default stack reserve size for any exe build on Visual studio is 1MB. This applies … Continue reading

Posted in Programming | Tagged , | Leave a comment