Questions

Q:

Ball bearings are used in cycles, scooters etc to

A) Increase the friction between the wheel and the axle B) Reduce the friction between the wheel and the axle
C) Reduce the friction between ground and the whee D) None of the above
 
Answer & Explanation Answer: B) Reduce the friction between the wheel and the axle

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics

47 13218
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

10 13214
Q:

If the following program (myprog) is run from the command line as 

myprog 1 2 3 

what would be the output?

main(int argc, char *argv[])

{

    int i, j = 0;

    for (i = 0; i < argc ; i++)

           j = j + atoi ( argv[i]);

    printf ("%d", j);

}

A) 123 B) 6
C) Error D) "123"
 
Answer & Explanation Answer: B) 6

Explanation:

When atoi() tries to convert argv[0] to a number it cannot do so (argv[0] being a file name) and hence returns a zero.

Report Error

View Answer Report Error Discuss

Filed Under: Programming

2 13211
Q:

The gland that is present close to Trachea

A) Pancreas B) Liver
C) Adrrenal D) Thyroid
 
Answer & Explanation Answer: D) Thyroid

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology

93 13208
Q:

The most reactive of the following metals is

 

A) Al B) Ca
C) Ni D) Pb
 
Answer & Explanation Answer: B) Ca

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

1 13202
Q:

An electron loses potential energy when it

 

A) shifts to a more electronegative atom. B) increases its kinetic energy.
C) shifts to a less electronegative atom. D) increases its activity as an oxidizing agent.
 
Answer & Explanation Answer: A) shifts to a more electronegative atom.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

1 13202
Q:

Surface water resources are highest in

A) Ganga plains B) North-Eastern India
C) Peninsular India D) Indus Plains
 
Answer & Explanation Answer: A) Ganga plains

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography

48 13192
Q:

The 'Dual Economy' is a mixture of

A) traditional agriculture sector and modern industrial sector B) industrial sector and manufacturing sector
C) state ownership sector and trading of goods obtained through imports D) none of these
 
Answer & Explanation Answer: A) traditional agriculture sector and modern industrial sector

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

12 13190