| HP Technical Interview Questions 2011 2011 HP technical interview questions:
| |||||||||||||||||||||
| |||||||||||||||||||||
Showing posts with label HP. Show all posts
Showing posts with label HP. Show all posts
Friday, 2 December 2011
HP Technical Interview Questions 2011 and All Placement Papers | Plaace 4 Search
HP Placement Paper 2011 - I and All Placement Papers | Place 4 Search
| HP Placement Paper 2011 - I 1. main( ) { unsigned int i=3; while( i >=0) printf( "%d", i--); } how many times will the printf statement be executed? a)0 b)3 c)4 d) infinite 2. main( ) { int x,y, z; x=2; y=5; z= x+++y; printf("%d %d %d", x, y z); } a)3 5 7 b)option 2 c)option 3 d)option 4 Ans: a 3. # define swap(a,b) temp=a; a=b; b=temp; main( ) { int i, j, temp; i=5; j=10; temp=0; if( i > j) swap( i, j ); printf( "%d %d %d", i, j, temp); } 4. Java section: questions on java related stuff. 1) Java was initially code named as: a)Oak b)green c)miller d)option4 Ans: Oak 5. 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 Ans: c 6. Why is the synchronize used? a) to initialize multiple objects b)to lock an object c)option3 d)option 4 Ans: b (probably) 7.Which of these is not search engine a)hotbot b)parametric c)Altavista d) google 8.In 2002 IBM acquired which company a) Rational b) oracle c) netscape 9. which action Java platform restricts on applets a. Image viewing b. Accept user i/p c. write to system files d. initialise date in browser 10. 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 11. HP acquired this company in 2002. Which is the company a) Compaq b) Dell c) option 3 d) Option4 Ans: a Directions (Q. 12-16): In each of the following questions, a question is asked followed by three statements. You have to study the question and all the three statements given and decide whether any information provided in the statement(s) is/are redundant and can be dispensed with while answering the questions. 12. The average salary of the entire staff in an office is Rs 120 per month. Find the number of non-officers in the office. A. The average salary of officers is Rs 460. B. The average salary of non-officers is Rs 110. C. The number of officers is 15. 1) Only A 2) Only B 3) Only C 4) Only A & C 5) None 13. What is the quantity sold at 10% profit and that at 5% loss? A. A business has 100 kg of quantity a part of which he sells at 5% loss and on the whole his loss is 2%. B. He sells rest of the quantity of statement A at 10% profit. CThe quantity sold at 10% profit is one-fourth of the quantity sold at 5% loss. 1) Only A 2) Only B 3) Either C alone or A and B together 4) Only B & C 5) None 14. How many minutes per hour does a person stop? A. Without any stoppage a person travels a certain distance at an average speed of 80 km/hr. B. With stoppage he covers the same distance at of average speed of without stoppage. C.The speeds of without stoppage and with stoppage are in ratio of 4:3. 1) Only A 2) Only B 3) Only C 4) Either B or C 5) None 15. The average of temperatures of Sunday, Monday and Tuesday is 30?C. Find the temperature of Wednesday. A. The sum of temperatures of Monday and Tuesday is 61?C. BThe sum of temperatures of Sunday, Monday, Tuesday and Wednesday is 122?C. C. The temperature of Wednesday is 3?C more than that of Sunday. 1) A only 2) B only 3) A and C only 4) Either B alone or A and C together 5) None of these 16. A train crosses another train coming from the opposite direction in 18 sec. If the length of the train is 100 m then what is the speed of the train? A. The train passes a platform in 14 sec. B. The speed of the other train in 60km/hr. C. The other train passes a telegraph pole in 6 sec. 1) Only A 2) Only B 3) Only C 4) Either A & B or B & C 5) None of these 17. What is the difference between CMM and CMMI 18. What is Open System and Closed System in Computer terminology 19.How do you implement TREE in Java ? How do you implement the same using C or C++ ? 20.What will happen if we give GOBACK instead of STOPRUN in a cobol program which is not called by some other program? | |||||||||||||||||||||
| |||||||||||||||||||||
HP Placement Paper 2011 - II and All Placement Papers | Place 4 Search
| HP Placement Paper 2011 - II 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 | |||||||||||||||||||||
| |||||||||||||||||||||
HP Placement Paper 2010 and All Placement Papers | Place 4 Search
| HP Placement Paper 2010 1. # define swap(a,b) temp=a; a=b; b=temp; main( ) { int i, j, temp; i=5; j=10; temp=0; if( i > j) swap( i, j ); printf( "%d %d %d", i, j, temp); } 2 .which action Java platform restricts on applets a. Image viewing b. Accept user i/p c. write to system files d. initialise date in browser 3. Java was initially code named as: a)Oak b)green c)miller 4.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 5.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 6. A shopkeeper labels the price of article 15% above the cost price. If he allow Rs 51.20 discount on an article of Rs 1024, find his profit percent. 1) 10% 2) 8% 3) 12% 4) 9% 5) 9.25% 7. Which of the following numbers are completely divisible by 11? A. 3245682 B. 283712 C. 438416 D. 36894 1) Only A 2) Only B 3) Only C 4) Only D 5) All are divisible 8.Extending the class means 9.How many values does char of java has 10.Java pgm can be executed on any m/c how? 11. What is meant by Open Source Is Java Open Source or not 12. What are interfaces, abstract classes. What is their purpose and differences 13. What is UseCase What is the template to write UseCases 14. What is the difference between CMM and CMMI Directions (Q.15- 19): Which of the phrases 1), 2), 3) and 4) given below each sentence should replace the phrase printed in bold to make the sentence correct? If the sentence is correct as it is, mark 5), i.e. “No correction required”, as your answer. 15. Socialism means any form of government which talks about a welfare state has some notion of improving of the bulk of common man. 1) improving of the quantity of 2) improving the lot of the 3) improvement into the numbers of 4) improvement in bulk of 5) No correction required 16. The economic superiority of the market system will make its acceptance inevitable sooner rather than later. 1) no sooner rather than later 2) more sooner than later 3) no later than sooner 4) much sooner to later 5) No correction required 17. Cultural interchange has created many common values the world across. 1) the entire world 2) among the world 3) over the world 4) the world over 5) No correction required 18. For the decades, Muslim countries had the highest birth rates in the world. 1) During decades 2) For decades 3) Almost during the decades 4) Since decades 5) No correction required 19. Since change is gradual, the old values have not disappeared by any means. 1) with any sort 2) by any efforts 3) by any single means 4) for any mode 5) No correction required 20. A boat covers 24 km upstream and 36 km downstream in 6 hours, while it covers 36 km upstream and 24 km downstream in 6.5 hours. Find the speed of the current. 1) 1 km/hr 2) 2 km/hr 3) 4 km/hr 4) 8 km/hr 5) None of these | |||||||||||||||||||||
| |||||||||||||||||||||
Subscribe to:
Posts (Atom)
Blog Archive
-
▼
2011
(124)
-
▼
December
(50)
- Freshers Walk-In at DCKAP Technologies Chennai - B...
- GoSEO Freshers Off-Campus Web Masters @ Chennai | ...
- SYNTEL FRESHERS Campus Recruitment Program for Ind...
- XERAGO Freshers Off-Campus : BE / B.Tech / MCA : ....
- Bahwan Cyber Tek Recruitment For Java Developer : ...
- 6minds Technologies Recruitment For PHP Developer ...
- Management Aptitude Test - MAT Exam 2012 | Place 4...
- Indian Administrative Service - IAS Exam | Place 4...
- NDA Exam Recruitment of candidates to Army, Navy a...
- Graduate Aptitude Test in Engineering - GATE 2012
- Common Admission Test - CAT 2012 | Place 4 Search
- AIEEE 2012 - 11th All India Engineering Entrance E...
- The All India Engineering Entrance Examination (AI...
- INFOSYS Hiring Freshers BE / BTech / ME / MTech/ ...
- PC Solutions Pvt Ltd Recruits Software Engineer/T...
- Win Fashion Technologies Recruits Dot Net Develope...
- Larsen Toubro Infotech Ltd Recruits Freshers Excit...
- Infosys Placement Paper 2012 and All Placement Pap...
- Infosys Placement Paper 2011 - I and All Placement...
- Infosys Placement Paper 2011 - II and All Placemen...
- Infosys Placement Paper 2011 - III and All Placeme...
- Infosys Placement Paper I and All Placement Papers...
- Infosys Placement Paper II and All Placement Paper...
- Infosys Placement Paper III and All Placement Pape...
- Infosys Placement Paper IV and All Placement Paper...
- iGATE Placement Papers 2011 - I and All Placement ...
- iGATE Placement Papers 2011 - II and All Placement...
- IBM Technical Interview Questions 2011 and All Pla...
- IBM Placement Paper 2011 and All Placement Papers ...
- IBM Placement Paper 2011 - I and All Placement Pap...
- IBM Placement Paper 2011 - II and All Placement Pa...
- HP Technical Interview Questions 2011 and All Plac...
- HP Placement Paper 2011 - I and All Placement Pape...
- HP Placement Paper 2011 - II and All Placement Pap...
- HP Placement Paper 2010 and All Placement Papers |...
- Honeywell Placement Paper 2011 (HTSL) and All Plac...
- Honeywell Placement Paper 2011 - II (HTSL) and All...
- Honeywell Placement Paper 2010 (HTSL) and All Plac...
- Hexaware Placement Paper 2012 January and All Plac...
- Hexaware Placement Paper 2011 - I and All Placemen...
- Hexaware Placement Paper 2011 - II and All Placeme...
- HDFC Bank Placement Paper 2012 ans All Placement P...
- HDFC Bank Placement Paper 2011 ans All Placement P...
- HCL Placement Paper 2012 and All Placement Papers ...
- HCL Placement Paper 2011 - I and All Placement Pap...
- HCL Placement Paper 2011 - II and All Placement Pa...
- Google Placement Paper 2011 - I and All Placement ...
- Google Placement Paper 2011 and All Placement Pape...
- Dell Placement Paper 2011 and All Placement Paper ...
- Dell Placement Paper 2010 and All Placement Paper ...
-
▼
December
(50)




