Sunday, August 11, 2013

List Of Full Form of Domain Names Extensions


.com → commercial Internet sites.
.edu → educational sites .
.firm → for an Internet site for a business.
.gov → for a U.S. government site on the Internet.
.int → international institutions.
.mil → for a U.S. military site on the Internet.
.mobi → for mobile phones.
.nato → for NATO sites.
.net → for Internet administrative sites.
.nom → for a personal site on the Internet.
.org → for organizational Internet sites.
.store →for a retail business.
.web → for an Internet site that is about the World Wide Web.
.Us → united states
.uk united kindom

In 1998 - We have 8 extensions
In 2004 - We have 23 extensions
in 2013 - It will be 700+ new domain extensions released to the public. 

Tuesday, July 23, 2013

SPIRAL MODEL vs WATERFALL MODEL, AGILE MODEL vs SPIRAL MODEL, AGILE MODEL vs ITERATIVE MODEL



 SPIRAL MODEL AND WATERFALL MODEL

SPIRAL MODEL

WATERFALL MODEL


1] Spiral model is not suitable for small projects.

1] Waterfall model is suitable for small projects.
2] Better risk management.

2] High amount of risk and uncertainty.

3] Process is complex.

3] Easy to understand.
4] The process may go indefinitely.

4] Stages are clearly defined.
5] This model is suitable for long and ongoing projects.


5] This model is not suitable for long and ongoing projects.
6] Iterations are followed
6] Sequence is followed
7] Flexible with user requirements
7] Requirements once fixed cannot be modified
8] Refinements are easily possible
8] Refinements are not so easy
9] Phases  are repeated itself
9] Phases are processed and completed one at a time.




Tuesday, April 23, 2013

Virtual Destructor in C++

#include iostream.h
class Base
{
    public:
      Base(){ cout<<"Constructing Base";}
     
     // this is a destructor:
virtual ~Base(){ cout<<"Destroying Base";}
};

class Derive: public Base
{
        public:
        Derive(){ cout<<"Constructing Derive";}
       
        ~Derive(){ cout<<"Destroying Derive";}
 };

void main()
{
    Base *basePtr = new Derive();
        
        delete basePtr;
}

---------------------------------------------------------------------------------------

output

Constructing Base  
Constructing Derive 
Destroying Derive
Destroying Base

Wednesday, April 17, 2013

Friend Function Demo in C++


#include<iostream.h>
#include<conio.h>
class end;
class free
{
private:
int roll;
public:
void accept();
friend void friend_demo(free f,end e);
};

void free :: accept()
{
cout<<"Enter the Roll Number :"<<endl;
cin>>roll;
}


class end
{
private :
char name[20];
public :
void accept()
{
cout<<"Enter the Name "<<endl;
cin>>name;
}
friend void friend_demo(free f,end e);
};

void main()
{
clrscr();
free f;
end e;
f.accept();
e.accept();

friend_demo(f,e);

getch();
}

void friend_demo(free f,end e)
{
cout<<"Roll number is :"<<f.roll<<endl<<"Name is "<<e.name;
}

---------------------------------------------------------------------------------------


#include<iostream.h>
#include<conio.h>

class B;
class A
{
private:
int roll;
public:
void acc()
{
cout<<"Enter roll :";
cin>>roll;
}
friend void disp(A a,B b);

};
class B
{
private:
char name[10];
public:
void acc()
{
cout<<"Enter name :";
cin>>name;
}
friend void disp(A a,B b);
};

void disp(A a,B b)
{
cout<<"Name :"<<b.name<<endl;
cout<<"Roll :"<<a.roll;
}

void main()
{
clrscr();
A a;
B b;
a.acc();
b.acc();
disp(a,b);
getch();
}

Thursday, April 11, 2013