2011 HP Placement Paper - IIBangalore

  • CategoryIT
  • Sub CategoryPlacement Papers
  • LocationBangalore
  • CompanyHP
  • Posted date on our Website28 January 2011

User Ratings

2 out of 5 based on 2 Ratings.
Here are the details of 2011 HP Placement Paper - II job in HP. This job or placement paper has been sourced from either company website or newspaper or other media and from students who appeared for this job. User is requested to verify the data before applying for the job.

Welcome to HP Placement Paper 2009. Here you will find HP Placement Paper Pattern and Download questions of HP Placement Paper 2009 with Answers & Solutions.

1.
what will be the o/p

#include<stdio.h>

main()

{

inta[3];

int *x;

int*y;

a[0]=0;a[1]=1;a[2]=2;

x=a++;

y=a;

printf(“%d %d\n”, x,(++y));


}

a. 0,1

b. 1,1

c. error

d. 1,2

2. consider the following program listing

#include<stdio.h>

main()

{

int a[3];

int *I;

a[0]=100;a[1]=200;a[2]=300;

I=a;

Printf(“%d\n”, ++*I);

Printf(“%d\n”, *++I);



Printf(“%d\n”, (*I)--);

Printf(“%d\n”, *I);

}

what is the o/p

a. 101,200,200,199

b. 200,201,201,100

c. 101,200,199,199

d. 200,300,200,100



3. Consider the prog and select answer

#include<stdio.h>

void main ( )

{

int k=4,j=0:

switch (k)

{

case 3;

j=300;

case 4:

j=400:

case 5:

j=500;

}

printf (“%d\n”,j);

}

A. 300

B. 400

C. 500

D. 0



4. A dog taken four leaps for every five leaps of hare but three leaps of the dog is equal to four leaps of the hare. Compare speed?

(A) 12:16 (B) 19:20 (C) 16:15 (D) 10:12

5. A watch ticks 90 times in 95 seconds. And another watch ticks 315 times in 323 secs. If they start together, how many times will they tick together in first hour?

(A) 100 times (B) 101 times (C) 99 times (D) 102 times



Directions (Q. 6 - 10): In each of the following questions a no. Series is given. After the series, a no. is complete the series starting with the no. given and following the same property as in the given no. series.
Then answer the questions below it.

6. 
5   25   20  100  95  475
    
1   (a)   (b)   (c)   (d)   (e)

What should come in place of (c)?

1) 5
2) 10
3) 2
4) 0
5) -5

7. 36  96  156  126  96  111
    
25 (a)   (b)   (c)   (d)   (e)

What should come in place of (d)?

1) 135
2) 85
3) 35
4) 75
5) 125

8.. 45  270  54  216  72  144

15   (a)   (b)   (c)   (d)   (e)

What should come in place of (b)?

1) 90
2) 18
3) 72
4) 82.24
5) 24

9. 714   115   20  3   0   0

5033  (a)  (b)  (c)  (d)  (e)

What should come in place of (a)?

1) 5040
2) 811.77
3) 714
4) 120
5) 22

10. 65  52  1040  832  16640  13312

75   (a)   (b)   (c)     (d)      (e)

What should come in place of (d)?

1) 1200
2) 15560
3) 5040
4) 60
5) 19200


11. What is Open System and Closed System in Computer terminology

12. .How do you implement TREE in Java ? How do you implement the same using C or C++ ?

13. What will happen if we give GOBACK instead of STOPRUN in a cobol program which is not called by some other program?

14.
Java was initially code named as:

a)Oak                 b)green                 c)miller

15. what is not true about the following statements about java.
a) it is compiled using javac compiler
b) the compiled files have .class extension.
c) such files cannot be transfered from one comp to another.
d) they use the java interpreter


16. Which of the following values of 'n' satisfies the in-equality n2 - 24n + 143 < 0?
1) n < 11
2) n > 13
3) 11 < n < 13
4) 11 > n > 13
5) None of these

17.
.If 2x+y = 11, 2y+z = 12 and z+2x = 8, find the value of 2x + 3y +4z.
1) 29
2) 33
3) 25
4) 39
5) None of these


18. .What kind of sorting is this:

SORT (k,n)
1.[Loop on I Index]
repeat thru step2 for i=1,2,……..n-1
2.[For each pass,get small value]
min=i;
repeat for j=i+1 to N do
{
if K[j]
min=j;
}
temp=K[i];K[i]=K[min];K[min]=temp;


19.
Which of the Following will define a type NODE that is a node in a Linked list?
A)struct node {NODE*next;int x;};type def struct node NODE;
B)typedef struct NODE {struct NODE *next;int x;};
C)typedef struct NODE {NODE *next;int x;};
D)typedef struct {NODE *next;int x;}NODE;

20. Look at the Code:

#include
void main()
{
char s1[]="abcd";
char s2[10];
char s3[]="efgh";
int i;
clrscr();
i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd"));
printf("%d",i);
}

What will be the output?

A)No output B) A Non Integer C)0 D) Garbage
 

About HP:-

HP was founded in 1939. It is a technology company that operates in more than 170 countries around the world. No other company offers as complete a technology product portfolio as HP

HP provide infrastructure and business offerings that span from handheld devices to some of the world's most powerful supercomputer installations. It offers wide range of products and services from digital photography to digital entertainment and from computing to home printing. This comprehensive portfolio helps us match the right products, services and solutions to our customers' specific needs.

Working at HP - Why should i Join HP?

HP India want you to explore your career options—and with a company of our global scope, you’ll always have plenty. HP recognises the fire in employees and believes that extraordinary efforts deserve their rewards. That’s why we have special Rewards & Recognition Programmes, including Cash Awards to recognise exceptional contributors.

HP Labs, one of the world's leading industrial research centers, is seeking talented researchers for positions in its laboratories. The lab attracts top graduates from around the world looking for a chance to work on problems that have real impact.
 

Contact Details:

Address of HP:-

Hewlett-Packard India Sales Pvt.Ltd
24, Salarpuria Arena
Adugodi
Hosur Road
Bangalore - 560 030

Phone: (080) 2563 3555
Fax: (080) 2563 3222

http://www8.hp.com/in/en/jobsathp/index.html

(Disclaimer : This Job or placement paper has been sourced from various sources like print media, Job consultants, past candidates, our users and/ or Company website. The posted date above means the date on which the Job was posted on our site and not on the company site. Users are advised to check with the company for latest requirements before applying for the job. Our website will not be responsible for any loss to the company or the candidate. We have no relation with the company and are not responsible for the validity of this Job. We donot charge the company or candidate or any student anything. If the respective company has any issue with the data provided or they want this particular job or placement paper to be removed they can write into us at infinitecourses@gmail.com)

Comments / Reviews / Queries On

Click to See more Comments