Questions

Q:

#define clrscr() 100

main()

{

clrscr();

printf( "%dn", clrscr() );

}

A) 100 B) 0
C) Compilation error D) Exception occurs
 
Answer & Explanation Answer: A) 100

Explanation:

Preprocessor executes as a seperate pass before the execution of the compiler. So textual replacement of clrscr() to 100 occurs.The input program to compiler looks like this :

main ()

{

100;

printf("%d\n",100);

}

Note: 100; is an executable statement but with no action. So it doesn't give any problem.

Report Error

View Answer Report Error Discuss

Filed Under: Programming

14 35750
Q:

Match the following with the correct response.

 

(1) W (A) Nm
(2) kW       (B) 3.6 x 106 J
(3) 1 kW-h (C) 1000 W
(4) 1 HP (D) 746 W

A) 1-D, 2-B, 3-C, 4-A B) 1-A, 2-B, 3-C, 4-D
C) 1-A, 2-C, 3-D, 4-B D) 1-A, 2-C, 3-B, 4-D
 
Answer & Explanation Answer: D) 1-A, 2-C, 3-B, 4-D

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

1 35733
Q:

An astronaut in outer space will observe sky as

A) White B) Black
C) Blue D) Red
 
Answer & Explanation Answer: B) Black

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

291 35693
Q:

If  1 1 1 1 = R
    2 2 2 2 = T
    3 3 3 3 = E
    4 4 4 4 = N

 

Then  5 5 5 5 = ?

A) Y B) Z
C) T D) X
 
Answer & Explanation Answer: A) Y

Explanation:

If you add all the terms of the LHS of equality, then the last letter of the sum written in words would give you the RHS.

1 + 1 + 1 + 1 = 4 = FOUR

2 + 2 + 2 + 2 = 8 = EIGHT

3 + 3 + 3 + 3 = 12 = TWELVE

4 + 4 + 4 + 4 = 16 = SIXTEEN

 

So, following the same pattern.

5 + 5 + 5 + 5 = 20 = TWENTY

 

That gives us our answer to 5 5 5 5 =  "Y".

Report Error

View Answer Report Error Discuss

83 35687
Q:

How many millimeters make ten kilometers?

 

A) 1010 B) 109
C) 108 D) 107
 
Answer & Explanation Answer: D) 107

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

0 35675
Q:

In Angiosperms, plant embryos in seed have structures called ______.

 

A) Spore B) Buds
C) Sprout D) Cotyledon
 
Answer & Explanation Answer: D) Cotyledon

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: Bank Exams

1 35650
Q:

The gravitational force of attraction between two bodies is __________________ the product of their masses.

 

A) directly proportional to the square of B) inversely proportional to
C) inversely proportional to the square of   D) directly proportional to  
 
Answer & Explanation Answer: D) directly proportional to  

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

1 35648
Q:

In Force equation, F is equal to

 

A) ma B) mv
C) u+at D) mgh
 
Answer & Explanation Answer: A) ma

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

2 35581