HP Placement Papers

 

2008

1. Sum of all multiples of 5 that are divisible by 2 and are between 100 and 200 is _____.
2. A dice was trown 2 times. What is the probability of getting a sum greater than 8?
3. 4 coins are tossed simultaneously. What is the probability of getting atmost 3 heads?
4. The salaries of Raj, Ram and John are in the ratio 2:3:5. If an increment of 10%, 15% and 20% are given to them respectively, what would be the new ratio of their salaries?
5. Two numbers are in the ratio 3:5. If 9 is subtracted from both, the new numbers are in the ratio 12:23. What is the smaller number?
6. The product of the ages of A and B is 240. If twice the age of B is more than the age of A by 4 years, what is the age of B?
7. Six years ago, the ratio of the ages of Rekha and Sita was 6:5. Four years hence, the ratio of their ages will be 11:10. How old is Sita now?
8. 1, 11, 21, 1211, 111221, 312211, ________
9. 2, 3, 7, 16, 65, 321, ________
10. Vivek's mother's father in law's only son has a son and a daughter. What is Vivek's relation with the daughter? 
11. Give the output of the below code segment

main()

printf("%d",scanf("%d%d",printf,scanf));
}
1)2 
2)2 2 
3)0 
4)error
12. Write the output of the below code segment

main()

int s[]={1,2,3,4,5,6};
printf("%d",&a[0]-&a[5]);
}
1)error 
2)8 
3)6 
4)0
13. Some more questions from C, C++ like output of code segments.
14. Output of a grep command - go through the common UNIX commands.
15. Some questions on RDBMS - go through normalizations, join and other concepts.
16. Some questions from OS - go through process, fork, deadlock etc.
17.  
18.  
19.  
20.  

You may also be interested in...

HP Company Profile

HP Test Pattern

General Tech. Questions

General HR Questions








policy | Bookmark this Site | contact us | Site Map
© 2008 placement-paper.com - HP Placement Papers