HP Sample Distance Calculating Problems

Dear Reader,
Below are three problems where you have to calculate distances based on data in questions.

Question 1

HP Practice Easy Number Problems

Dear Reader,
Below are three simple numeric problems for your practice.

Question 1

HP Solved Placement Papers - I

1) In a hotel, rooms are numbered from 101 to 550. A room is chosen at random. What is the probability that room number starts with 1, 2 or 3 and ends with 4, 5 or 6?

Answer
There are total 450 rooms.
Out of which 299 room number starts with either 1, 2 or 3. (as room number 100

HP Solved Placement Papers - 2

1) Pepsi, Fanta, Cola order either coffee or tea after dinner. a)If pepsi orders coffee, Fanta orders the drink that is ordered by cola. b)If fanta orders coffee, pepsi do not order the drink that is ordered by cola. c)If cola orders tea, pepsi orders the same drink ordered by fanta. Who take the same drink every day. 

Ans:Pepsi.

HP Solved Placement Papers - 3

1) A 31" x 31" square metal plate needs to be fixed by a carpenter on to a wooden board. The carpenter uses nails all along the edges of the square such that there are 32 nails on each side of the square. Each nail is at the same distance from the neighboring nails. How many nails does the carpenter use? 

Solution:

HP Solved Placement Papers - General Aptitude

Here are some solved questions from HP Placement Papers

1)  Four persons A, B, C and D are playing cards. Each person has one card, laid down
on the table below him, which has two different colours on either side.
No card has the same color on both sides. The colours visible on the table are Red,
Green, Red and Blue respectively. They see the color on the reverse side and give the
following comment.

A: Yellow or Green
B: Neither Blue nor Green
C: Blue or Yellow
D: Blue or Yellow
Given that out of the 4 people 2 always lie find out the colours on the cards each person.

ANSWER:
      Try all possible combinations. Keep in mind two things. THE combination obtained should
 satisfy the conditions
    1.Two are lying and two are telling the truth
    2.Neither two cards are similar nor are two sides of a card are of same color
                              A         YELLOW
                              B         YELLOW
                              C          GREEN
                              D          RED

2) Four tourists A,B,C,D and four languages English, German, French and Italian.
They are not able to converse among themselves in one language.
Though A does not know English he can act as an interpreter between B and C.
No one spoke both French and German. A knows German and was able to converse with D
who doesn’t know a word in German. Only one language was spoken by more than two persons.Each

spoke two languages. Find who spoke what.

ANSWER:
          A                              B                             C                         D
     GERMAN                FRENCH              GERMAN             ITALIAN
     ITALIAN                   ITALIAN                 ENGLISH           ENGLISH

3)Grass in lawn grows equally thick and in a uniform rate.
It takes 40 days for 40 cows and 60 days for 30 cows to eat the whole of the grass.
How many days does it take for 20 cows to do the same?

ANSWER:
g - grass at the beginning
r - rate at which grass grows, per day
y - rate at which one cow eats grass, per day
n - no of cows to eat the grass in 96 days
   g + 40*r = 40 * 40 * y------- 1
   g + 60*r = 30 * 60 * y------- 2
   g + n*r = 20 * n * y-------- 3
   from 1 and 2
   r=10y g=120r
   from 3
   nr=120r
   Solving, n = 120

4) Lucia is a wonderful grandmother. Her age is between 50 and 70.Each of her sons have as
 many sons as they have brothers. Their combined number gives Lucia’s age. What is the age?

ANSWER
    Let the no. of Lucia’s sons = n
    No. of brothers for each son = n-1
    No. of sons for each of Lucia’s son = n-1
    Lucia’s age  = n-1 * n-1
    = a perfect square between 50 and 70
    = 64

HP sample Placement Papers - solved

Here are some solved questions from Infosys  Placement Papers

1) If one-seventh of a number exceeds its eleventh part by 100 then the number is…

(i) 770
(ii) 1100
(iii) 1825
(iv) 1925

Solution:

Let the number be x. Then X/7 - x/11 =100 11x-7x = 7700 x=1925.

2) The ratio of Rita's age to her mother's age is 3:8. The difference of their ages is 35 years. The ratio of their ages after 4 years will be:

(i) 7:12
(ii) 5:12
(iii) 38:43
(iv) 42:47

Solution:
Let their ages be 3x and 8x
8x - 3x =35
x =7
Their present ages are 21 and 56 years.
Ratio of their ages after 4 years are 25:60 = 5:12

3) Gold is 19 times as heavy as water and copper is 9 times as heavy as water. In what ratio should these be mixed to get an alloy 15 times as heavy as water?

(i) 1:1
(ii) 2:3
(iii) 1:2
(iv) 3:2

Solution:
Let 1gm of gold be mixed with x gm of copper to give (1+x)gm of the alloy.
1G=19W, 1C = 9W and alloy = 15W 1gm gold + x

4) A tap can fill the tank in 15 minutes and another can empty it in 8 minutes. If the tank is already half full and both the taps are opened together, the tank will be:

(i) filled in 12 min
(ii) emptied in 12 min
(iii) filled in 8 min
(iv) emptied in 8 min

Solution:
Rate of waste pipe being more the tank will be emptied when both taps are opened.
Net emptying workdone in 1min =(1/8 -1/16)= 1/16
So full tank will be emptied in 16 min
Half tank will be emptied in 8 minutes.

 

HP Solved Placement Papers - part 2

Here are some solved questions from  HP  Placement Papers

1) What is not a part of OS ?

a)swapper
b)compiler
c)device driver
d)file system

Answer is compiler

2) Which is the protocol used by PING?

a)ICMP
b)HTTP
c)SMTP
d)RTSP

Answer is ICMP

3) Hotmail was founded by?

a)Sabeer Bhatia and Jack Smith
b)Sabeer Bhatia alone
c)Sabeer Bhatia and Bill Gates
d)Sabeer Bhatia and Hang Sen

Answer is Sabeer Bhatia and Jack Smith

4) Which is an Internet standard that extends the format of e-mail to support
* non ASCII text
* Non-text attachments
* Message bodies with multiple parts
* Header information in non-ASCII character sets

a)Multipurpose Internet Mail Extensions
b)Multivariant Internet Mail Extensions
c)Multi Internet Mail Extensions
d)None of the above

Answer is Multipurpose Internet Mail Extensions
 

HP Solved Placement Papers

Here are some solved questions from HP Placement Papers

1) An application program that is used by the users to get the information from the backend of some application like databases.

a)application server
b)database server
c)proxy server
d)mail server

Answer is database server

2) Why is the synchronize used?

a)to initialize multiple objects
b)to lock an object
c)to release an object

Answer is to lock an object

3) IRC stands for

a)Intranet Relay chat
b)Internet Relay chat
c)Intranet subnet Relay chat

Answer is Internet Relay chat

4) VPN stands for

a)Virtual private network
b)Virtual public network
c)Virtual path network

Answer is Virtual private network