Searching for ":"

Q:

From a container of wine, a thief has stolen 15 litres of wine and replaced it with same quantity of water. He again repeated the same process. Thus, in three attempts the ratio of wine and water became 343 : 169. The initial amount of wine in the container was:

A) 75 litres B) 100 litres
C) 150 litres D) 120 litres
 
Answer & Explanation Answer: D) 120 litres

Explanation:

wine(left)wine(added) = 343169

 

It means  wine(left)wine(initial amount) = 343512    (since 343 + 169 = 512)

  

Thus,  343x = 512x1 - 15k3

 

 343512 = 783 = 1 - 15k3

 

 1-15k=78=1-18

  

Thus the initial amount of wine was 120 liters.

Report Error

View Answer Report Error Discuss

Filed Under: Alligation or Mixture
Exam Prep: GATE , CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk

Q:

A jar was full with honey. A person used to draw out 20% of the honey from the jar and replaced it with sugar solution. He has repeated the same process 4 times and thus there was only 512 gm of honey left in the jar, the rest part of the jar was filled with the sugar solution. The initial amount of honey in the jar was:

A) 1.25 kg B) 1 kg
C) 1.5 kg D) None of these
 
Answer & Explanation Answer: A) 1.25 kg

Explanation:

Let the initial amount of honey in the jar was k, then

 

 512 = k1 - 154 or  512 = k454 

 => k = 512 × 625256 

=> k = 1250

 

 Hence initially the honey in the jar = 1.25 kg

Report Error

View Answer Report Error Discuss

Filed Under: Alligation or Mixture
Exam Prep: CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk

Q:

A milkman has 20 liters of milk. If he mixes 5 liters of water, which is freely available, in 20 liters of pure milk. If the cost of pure milk is Rs. 18 per litre, then the profit of the milkman, when he sells all the mixture at  cost price, is:

A) 20% B) 25%
C) 33.33% D) 18%
 
Answer & Explanation Answer: B) 25%

Explanation:

When the water is freely available and all the water is sold at the price of the milk, then the water gives the profit on the cost of 20 litres of milk.

 

  Since,    the profit % = ProfitCostPricex100

Therefore, profit percentage = 520x100  = 25%

Report Error

View Answer Report Error Discuss

Filed Under: Profit and Loss
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

Q:

Why is it that you cannot overload the scope resolution operator (::)?

Answer

The main reason why the scope resolution operator (::) cannot be overloaded is that only operators that take in values as parameters can be overloaded. The scope resolution operator does not take a value as parameter.

Report Error

View answer Workspace Report Error Discuss

Q:

Can you suggest any other way of writing the following expression such that 30 is used only once?

a <= 20 ? b = 30 : c = 30 ;

Answer

*( ( a <= 20 ) ? &b : &c ) = 30;

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

Q:

Point out the error, if any, in the following program.

main()

{

    int i = 4, j = 2;

    switch(i)

    {

     case 1 :

       printf (''\n To err is human, to forgive is against company policy.");

        break;

      case j :

       printf (''\n if you have nothing to do, don't do it here.");

       break;

    }

}

Answer

Constant expression required in the second case, we cannot use j.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

Q:

A man is facing north-west. He turns 90o in the clockwise direction, then 180o in the anticlockwise direction and then another 90o in the same direction. Which direction is he facing now?

A) South B) South-west
C) South-east D) East
 
Answer & Explanation Answer: C) South-east

Explanation:

As shown in fig. the man initially faces in the direction OP. On moving 900 clockwise, he faces in the direction OX. On further moving 1800 anticlockwise, he faces in the direction OY. Finally, on moving 900anticlockwise, he faces in the direction OZ, which is South-east.new1497431743.jpg image

Report Error

View Answer Report Error Discuss

Filed Under: Direction Sense Test
Exam Prep: CAT , Bank Exams
Job Role: Bank PO , Bank Clerk

Q:

Under the minimum reserve system, the Reserve Bank of India as the sole authority of note issuse is required to maintain  assets worth not less than:

A) 85 crore of rupees B) 115 crore of rupees
C) 200 crore of rupees D) 210 crore of rupees
 
Answer & Explanation Answer: B) 115 crore of rupees

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy