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

24 42678
Q:

Which of the following statements is/are true or false?

 

Statements :

 

A) H2S burns in air to give H2O and SO2

B) The decomposition of Ferrous Sulphate into Fe2O3, SO2 and SO3 occurs in the presence of heat.

 

A) Statements A and B both are true B) Statement A is true, while B is false
C) Statements A and B are false D) Statement B is true, while A is false
 
Answer & Explanation Answer: A) Statements A and B both are true

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

0 42593
Q:

Which of the following statements are CORRECT?

 

I. Ethanol is a good solvent for organic compounds.

II. Boiling and melting points of ethanol are low with respect to water.

III. Ethanol is used tincture iodine

 

A) Only I and II B) Only I and III
C) Only II and III D) All I, II and III
 
Answer & Explanation Answer: D) All I, II and III

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

1 42582
Q:

The Sum of three consecutive numbers is 126.Find the highest number.

 

A) 41 B) 42
C) 43 D) 44
 
Answer & Explanation Answer: D) 44

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Inventions
Exam Prep: Bank Exams

204 42552
Q:

Statement I :

Portions of glacial troughs may exhibit remarkably flat floors.

Statement II :

The flat floor in a glacial trough is produced by uniform glacial erosion.

 

A) Both the statements are individually true and Statement II is the correct explanation of Statement I B) Both the statements are individually true but Statement II is not the correct explanation of Statement I
C) Statement I is true but Statement II is false   D) Statement I is false but Statement II is true
 
Answer & Explanation Answer: A) Both the statements are individually true and Statement II is the correct explanation of Statement I

Explanation:

Glaciers cut distinctive U-shaped valleys with a flat floor and steep sides. These are an example of a glacial erosion landform.

Example: As the main glacier erodes deeper into the valley, the tributary is left higher up the steep sides of the glacier.

 

Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: Bank Exams

0 42488
Q:

The process of transferring of charge from a charged object to the earth is called ______________.

 

A) neutralisation B) negation
C) terraforming D) earthing
 
Answer & Explanation Answer: D) earthing

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

2 42452
Q:

Plaster of Paris ______.

 

I. changes into gypsum on mixing with water

II. is CaSO4.2H2O

III. is used for decoration

 

A) Only I and II   B) Only I and III  
C) Only II and III   D) All I, II and III  
 
Answer & Explanation Answer: B) Only I and III  

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

0 42405
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

86 42377