Searching for "i"

Q:

If the ratio of the ages of two friends A and B is in the ratio 3 : 5 and that of B and C is 3 : 5 and the sum of their ages is 147, then how old is B?

A) 27 Years B) 75 Years
C) 45 Years D) 49 Years
 
Answer & Explanation Answer: C) 45 Years

Explanation:

The ratio of the ages of A and B is 3 : 5.
The ratio of the ages of B and C is 3 : 5.

B's age is the common link to both these ratio. Therefore, if we make the numerical value of the ratio of B's age in both the ratios same, then we can compare the ages of all 3 in a single ratio.

The can be done by getting the value of B in both ratios to be the LCM of 3 and 5 i.e., 15.

The first ratio between A and B will therefore be 9 : 15 and
the second ratio between B and C will be 15 : 25.

Now combining the two ratios, we get A : B : C = 9 : 15 : 25.

Let their ages be 9x, 15x and 25x.
Then, the sum of their ages will be 9x + 15x + 25x = 49x

The question states that the sum of their ages is 147.
i.e., 49x = 147 or x = 3.

Therefore, B's age = 15x = 15*3 = 45

Report Error

View Answer Report Error Discuss

Filed Under: Ratios and Proportions
Exam Prep: GRE

Q:

The banker's discount on Rs. 1650 due a certain time hence is Rs. 165. Find the true discount and the banker's gain.

A) 15 B) 20
C) 18 D) 13
 
Answer & Explanation Answer: A) 15

Explanation:

   Sum = [(B.D.xT.D.)/ (B.D.-T.D.)]

              = [(B.D.xT.D.)/B.G.]

T.D./B.G.  = Sum/ B.D.

   =1650/165

               =10

Thus, if B.G. is Re 1, T.D. = Rs. 10.

If B.D.is Rs. ll, T.D.=Rs. 10.

If B.D. is Rs. 165, T.D. = Rs. [(10/11)xl65]

            =Rs.150

 And, B.G. = Rs. (165 - 150) = Rs, 15.

Report Error

View Answer Report Error Discuss

Filed Under: Banker's Discount

Q:

A bill for Rs. 6000 is drawn on July 14 at 5 months. It is discounted on 5th October at 10%. Find the banker's discount, true discount, banker's gain and the money that the holder of the bill receives.

A) 4390 B) 6580
C) 5880 D) 5350
 
Answer & Explanation Answer: C) 5880

Explanation:

Face value of the bill = Rs. 6000.

Date on which the bill was drawn = July 14 at 5 months. Nominally due date =                  December 14.

Legally due date = December 17.

Date on which the bill was discounted = October 5.

Unexpired time  : Oct.               Nov.                Dec.

                                 26  +               30  +              17     = 73 days  =1/ 5Years

 

 B.D. = S.I. on Rs. 6000 for 1/5 year

= Rs.   (6000 x 10 x1/5 x1/100)= Rs. 120.

T.D. = Rs.[(6000 x 10 x1/5)/(100+(10*1/5))]

            =Rs.(12000/102)=Rs. 117.64.

B.G. = (B.D.) - (T.D.) = Rs. (120 - 117.64) = Rs. 2.36.

Money received by the holder of the bill = Rs. (6000 - 120) = Rs. 5880.

Report Error

View Answer Report Error Discuss

Filed Under: Banker's Discount

Q:

A function cannot be defined inside another function

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

A function cannot be defined inside the another function, but a function can be called inside a another function.

Report Error

View Answer Workspace Report Error Discuss

Subject: Programming

Q:

main()

{

float me = 1.1;

double you = 1.1;

if(me==you)

printf("yes");

else

printf("No");

}

A) Yes B) No
C) Both D) Compilation error
 
Answer & Explanation Answer: B) No

Explanation:

For floating point numbers (float, double, long double) the values cannot be predicted exactly. Depending on the number of bytes, the precession with of the value represented varies. Float takes 4 bytes and long double takes 10 bytes. So float stores 0.9 with less precision than long double.

Report Error

View Answer Report Error Discuss

Filed Under: Software Testing
Job Role: Software Architect

Q:

main()

{

char s[ ] = "man";

int i;

for( i=0; s[ i ]; i++)

printf( "n%c%c%c%c", s[ i ], *(s+i), *(i+s), i[s] );

}

A) mmmm aaaa nnnn B) aaaa mmmm nnnn
C) nnnn aaaa mmmm D) None
 
Answer & Explanation Answer: A) mmmm aaaa nnnn

Explanation:

s[i], *(i+s), *(s+i), i[s] are all different ways of expressing the same idea.Generally array name is the base address for that array. Here s is the base address. i is the index number/displacement from the base address. So, indirecting it with * is same as s[i]. i[s] may be surprising. But in the case of C it is same as s[i].

Report Error

View Answer Report Error Discuss

Filed Under: Programming

Q:

Which is the simplest file structure?

A) Sequential B) Indexed
C) Random D) None
 
Answer & Explanation Answer: A) Sequential

Explanation:

Sequential is the simplest file structure

Report Error

View Answer Report Error Discuss

Filed Under: Software Testing

Q:

What is a spanning Tree?

Answer

A spanning tree is a tree associated with a network. All the nodes of the graph appear on the tree once. A minimum spanning tree is a spanning tree organized so that the total edge weight between nodes is minimized

Report Error

View answer Workspace Report Error Discuss

Subject: Technology