Searching for "If"

Q:

Ratio of the ages of Mahesh and Nilesh is 5 : x. Mahesh is 18 years younger to Ramesh. After nine years Ramesh will be 47 years old. If the difference between the ages of Mahesh and Nilesh is same as the age of Ramesh, what is the value of x ?

A) 11.8 B) 12.9
C) 13.7 D) 14.5
 
Answer & Explanation Answer: D) 14.5

Explanation:

Let the present ages of Mahesh, Nilesh and Ramesh be k, l and m respectively.
k/l = 5/x ------ (1)
k = m - 18 ------ (2)
m + 9 = 47 ------ (3)
k - l = m ----- (4)
(3) => m = 47 - 9 = 38 years
(2) => k = 38 -18 = 20 years
(1) => 20/l = 5/x => l = 4x
(4) => 4x - 20 = 38
=> 4x = 58 => x = 14.5

Report Error

View Answer Report Error Discuss

Filed Under: Problems on Ages
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

Q:

If k : l = 4 : 3 and l : m = 5 : 3, then find k : l : m ?

A) 18 : 24 : 11 B) 9 : 15 : 1
C) 20 : 15 : 9 D) 21 : 7 : 3
 
Answer & Explanation Answer: C) 20 : 15 : 9

Explanation:

Given k : l = 4 : 3
l : m = 5 : 3

Then k : l : m = 20 : 15 : 9

Report Error

View Answer Report Error Discuss

Filed Under: Ratios and Proportions
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Bank Clerk , Bank PO

Q:

A person sold two cows each for Rs.9900. If he gained 10% on one and lost 20% on the other, then which of the following is true ?

A) He lost Rs. 200 B) He gained Rs. 200
C) Neither he gained nor lost D) None of the above
 
Answer & Explanation Answer: D) None of the above

Explanation:

In first he got Rs. 990

But in second he lost Rs. 1980

So he lost Rs. 990.

Report Error

View Answer Report Error Discuss

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

Q:

A Bus is running at 9/10 of its own speed reached a place in 22 hours. How much time could be saved if the bus would run at its own speed ?

A) 1.5 hrs B) 1.7 hrs
C) 2.2 hrs D) 3.5 hrs
 
Answer & Explanation Answer: C) 2.2 hrs

Explanation:

Let the original Speed be "s" kmph
And the usual time be "t" hrs
Given that if the bus is running at 9s/10 kmph the time is 22 hrs
=> [9s/10] x 22 = t x s
=> 99/5 = t
=> t = 19.8 hrs

 

Hence, if bus runs at its own speed, the time saved = 22 - 19.8 = 2.2 hrs.

Report Error

View Answer Report Error Discuss

Filed Under: Time and Distance
Exam Prep: GATE , CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk

Q:

A man could buy a certain number of notebooks for Rs.300. If each notebook cost is Rs.5 more, he could have bought 10 notebooks less for the same amount. Find the price of each notebook ?

A) 15 B) 20
C) 10 D) 8
 
Answer & Explanation Answer: C) 10

Explanation:

Let the price of each note book be Rs.x.

Let the number of note books which can be brought for Rs.300 each at a price of Rs.x be y.

Hence xy = 300

=> y = 300/x

(x + 5)(y - 10) = 300 => xy + 5y - 10x - 50 = xy

=>5(300/x) - 10x - 50 = 0 => -150+x2+5x

multiplying both sides by -1/10x

=> x2+15x-10x-150=0

=> x(x + 15) - 10(x + 15) = 0

=> x = 10 or -15

As x>0, x = 10.

Report Error

View Answer Report Error Discuss

Filed Under: Simplification
Exam Prep: GATE , CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk

Q:

If 25% of a number is subtracted from a second number, the second number reduces to its four-sixth. What is the ratio of the first number to the second number  ?

A) 4:3 B) 2:3
C) 3:2 D) 5:3
 
Answer & Explanation Answer: A) 4:3

Explanation:

Let the numbers be p & q

q-p/4 = 4q/6

=> q-4q/6 = p/4

=> 2q/6 = p/4 

=> p/q = 4/3

Report Error

View Answer Report Error Discuss

Filed Under: Percentage
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Bank Clerk , Bank PO

Q:

A number, when 35 is subtracted from it, reduces to its 80 percent. What is four - fifth of that number  ?

A) 175 B) 140
C) 135 D) 95
 
Answer & Explanation Answer: B) 140

Explanation:

x - 35 = 80x/100 

=> x = 175 

=> 4x/5 = 4x175/5 = 140.

Report Error

View Answer Report Error Discuss

Filed Under: Percentage
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Bank Clerk , Bank PO

Q:

What is the difference between creating String as new() and literal ?

Answer

When we create string with new() Operator, it’s created in heap and not added into string pool while String created using literal are created in String pool itself which exists in PermGen area of heap.



String s = new String("Test");

does not put the object in String pool , we need to call String.intern() method which is used to put them into String pool explicitly. its only when you create String object as String literal e.g. String s = "Test" Java automatically put that into String pool.

Report Error

View answer Workspace Report Error Discuss