You are on page 1of 2

HP Placement Paper-1:

1. HP acquired this company in 2002. Which is the company?


a) Compaq b) Dell c) option 3 d) ption!
"ns# a
2. What does 3$ D%&'%?
a) 3rd (eneration mobile communication b) 3rd (eneration computer lan(ua(es c) option
3 d) option!
"ns# a
3. "n application pro(ram that is used by the users to (et the in)ormation )rom the
bac*end o) some
"pplication li*e databases#
a) "pplication ser+er b)pro,y ser+er c)database ser+er d)option !
"ns# database ser+er
!. Which o) the )ollo-in( is not true about the e.mail
a) /t can be accessed by a client pro(ram usin( PP
b) /t can be accessed by a client pro(ram usin( imp protocol
c) ption 3
d) ption !
"ns# / don0t remember the ans-er but )irst 2 are true.
1. 2ome question re(ardin( the company and -ho de+eloped it 3the thin( to remember is
that "pple
Produce 4acintosh computers)
C/c++ section: questions on c/c++, programs o/p etc.
5. main 3 )
6
unsi(ned int i738
-hile3 i 970)
print)3 :;d:< i..)8
=
Ho- many times -ill the print) stmt be e,ecuted?
a) 0 b) 3 c) ! d) in)inite
"ns# / thin* the ans-er is in)inite< because 0i0 is an unsi(ned inte(er and it -ill not
decrement belo- 000
"nd hence end up in an in)inite loop. 3>es< i chec*ed and it is (ettin( stuc* in an in)inite
loop)
?. main 3 )
6
int ,<y< @8
,728
y718
@7 ,AAAy8
print)3:;d ;d ;d:< ,< y @)8
=
a)3 1 ? b)option 2 c)option 3 d)option !
"ns# a
B. C de)ine s-ap3a<b) temp7a8 a7b8 b7temp8
main3 )
6
int i< D< temp8
i718
D7108
temp708
i)3 i 9 D)
s-ap 3 i< D )8
print) 3 :;d ;d ;d:< i< D< temp)8
=
"ns# n compilin( i (ot ans-er 10< 0< 0. / did not understand the concept.
E. Fa+a section# questions on Da+a related stu)).
1) Fa+a -as initially code named as#
a)a* b)(reen c)miller d)option!
"ns# a*
10. What is not true about the )ollo-in( statements about Da+a?
a) /t is compiled usin( Da+a compiler
b) 'he compiled )iles ha+e .class e,tension.
c) 2uch )iles cannot be trans)erred )rom one comp to another.
d) 'hey use the Da+a interpreter
"ns# c
11. Why is synchroni@e used?
a) 'o initiali@e multiple obDects b)to loc* an obDect c)option3 d)option !
"ns# b 3probably)

You might also like