Searching for "="

Q:

 If 6th March, 2005 is Monday, what was the day of the week on 6th March, 2004?

A) Sunday B) Saturday
C) Tuesday D) Wednesday
 
Answer & Explanation Answer: A) Sunday

Explanation:

ke

Report Error

View Answer Report Error Discuss

Filed Under: Calendar

Q:

 On what dates of April, 2001 did Wednesday fall ?

A) 1st, 8th, 15th, 22nd, 29th B) 2nd, 9th, 16th, 23rd, 30th
C) 3rd, 10th, 17th, 24th D) 4th, 11th, 18th, 25th
 
Answer & Explanation Answer: D) 4th, 11th, 18th, 25th

Explanation:

ke

Report Error

View Answer Report Error Discuss

Filed Under: Calendar

Q:

What is the difference between the compound interests on Rs. 5000 for 112 years at 4% per annum compounded yearly and half-yearly?

A) Rs.3.06 B) Rs.2.04
C) Rs.3.65 D) Rs.5.40
 
Answer & Explanation Answer: B) Rs.2.04

Explanation:

 C.I. when interest compounded yearly

Rs.5000*1+4100*1+12*4100

 Rs.5000*2625*5150

=Rs.5034

 

C.I. when interest iscompounded half-yearly 

 Rs.5000*1+21003

= Rs. 5306.04

Difference = Rs. (5306.04 - 5304) = Rs. 2.04

Report Error

View Answer Report Error Discuss

Filed Under: Compound Interest
Exam Prep: Bank Exams
Job Role: Bank PO

Q:

Output of the Program :

main()

{

int i = 1;

while (i <= 5)

    {

         printf( "%d", i );

         if (i > 2) goto here;

         i++;

     }

}

fun()

{

here : printf( "PP" );

}

A) 1 B) 2
C) Compilation error D) Exception occurs
 
Answer & Explanation Answer: C) Compilation error

Explanation:

Compiler error: Undefined label 'here' in function main

Report Error

View Answer Report Error Discuss

Filed Under: Programming

Q:

What is the output of this program ?

class main_arguments {
            public static void main(String [ ] args)
            {
                String [][] argument = new String[2][2];
                int x;
                argument[0] = args;
                x = argument[0].length;
                for (int y = 0; y < x; y++)
                    System.out.print(" " + argument[0][y]);           
            }
        }

A) 1 1 B) 1 0
C) 1 0 3 D) 1 2 3
 
Answer & Explanation Answer: D) 1 2 3

Explanation:

In argument[0] = args;, the reference variable arg[0], which was referring to an array with two elements, is reassigned to an array (args) with three elements.
Output:
$ javac main_arguments.java
$ java main_arguments
1 2 3

Report Error

View Answer Report Error Discuss

Filed Under: Java
Exam Prep: GATE

Q:

main()

{

char *p; p = "Hello";

printf ("%cn", *&*p);

}

A) H B) Hello
C) Compilation error D) H E L L O
 
Answer & Explanation Answer: A) H

Explanation:

* is a dereference operator & is a reference operator. They can be applied any number of times provided it is meaningful. Here p points to the first character in the string "Hello". *p dereferences it and so its value is H. Again & references it to an address and * dereferences it to the value H

Report Error

View Answer Report Error Discuss

Filed Under: Programming
Job Role: Software Architect

Q:

What is the rate of simple interest?
I. The total interest earned was Rs. 4000.
II. The sum was invested for 4 years.

A) I alone sufficient while II alone not sufficient to answer B) II alone sufficient while I alone not sufficient to answer
C) Either I or II alone sufficient to answer D) Both I and II are not sufficient to answer
 
Answer & Explanation Answer: D) Both I and II are not sufficient to answer

Explanation:

We know that, R = (100 x S.I) / (P x T)

Now I gives, S.I = Rs. 4000.

        II gives,  T = 4 years.

But, P is unknown. So, we cannot find R.

So, given data is insufficient to get R.

 

Report Error

View Answer Report Error Discuss

Filed Under: Simple Interest
Exam Prep: Bank Exams
Job Role: Bank PO

Q:

A sum at simple interest at 1312% per annum amounts to Rs. 2502.50 after 4 years. Find the sum

A) Rs.1625 B) Rs1525
C) Rs.1425 D) Rs.1325
 
Answer & Explanation Answer: A) Rs.1625

Explanation:

 Let sum be Rs.x then, S.I. =Rs. [ x * (27/2) * 4 * (1/100) ] = Rs. 27x/50 

 

Amount =Rs [ x + (27x/50)] = Rs.77x/50 

 

=> 77X/50 = 2502.50  

 

=>X= (2502.50 * 50)/77 = 1625 

 

Hence Sum = Rs.1625

Report Error

View Answer Report Error Discuss

Filed Under: Simple Interest
Exam Prep: GRE
Job Role: Bank PO