Subscribe:Posts Comments | Read Articles on Various Topics - Pro Articles

By PDMACpayday loans

You Are Here: Home » HP Test Papers, Sample Placement Papers » HP Hewlett Packard Placement Paper

HP Hewlett-Packard Placement Paper – 15th May 2007
HP placement Paper questions:

1. There were a lot of questions from C language.
2. Programs were provided and you have to find the output.
3. Give the output of the following programs

a)main()
{ printf(”%d”, scanf(”%d%d”, printf, scanf));
}
1)2
2)2 2
3)0
4)error

b)there was a program of swaping by pointer (check it out)
c)main()
{
char *p=”quick”;
char q[]=”sort”;
char *t;
t=malloc(sizeof(p)+sizeof(q)+1);
strcpy(t,p);
strcat(t,p);
}

1)quick sort
2)sort sort
3)quickqick
4)sort quick
d)main()
{
int s[]={1,2,3,4,5,6};
printf(”%d”,&a[0]-&a[5]);
}
1)error
2)8
3)6
4)0
e)

There are a lot of questions and programs relating to the pointers. You should know pointers and its various operations (Like what will happen if two pointers are added or int pointer is addressed to a char etc.)

4. Have knowledge about firewall and its functions
Solutions/ Answer:

About Firewall: Definition of firewall

The firewall is located at the entry point of the networked system it protects. In the case of Packet Filtering, it is at the lowest level, or “layer” in the hierarchy (stack) of network processes, called the Network Layer or the Internet Layer.

Thus firewall is the very first process which gets and handles the traffic incoming and its is at the last point also. Its handles the outgoing traffic.

The firewalls monitors and controls the incoming and all the outgoing traffic in a network.
Firewalls perform the following functions:
Packet Filtering
Circuit Relay 
Application Level Gateway
These are the HP placement papers / employment test exam question papers for HP offices and businesses worldwide in countries like India, China, Hungary, Russia, USA, UK, Germany, France, Austria, Australia, Other European Countries, Phillipines, Vietnam, etc.
See more HP Placement Papers 2008 latest ones and Interview questions 2008 with whole test papers and completely detailed answers of HR cum Technical Interviews here on LatestExams.com Good Luck!

Leave a Reply

© Copyright 2010 Latestexams. All Rights Reserved | Privacy Policy | Terms & Conditions