Questions

Q:

We want to round off x, a Float to an Int value. The correct way to do so would be

A) Y = ( int ) ( x + 0.5 ) ; B) Y = int ( x + 0.5) ;
C) Y = ( int ) x + 0.5; D) Y = ( int ) ( ( int ) x + 0.5 )
 
Answer & Explanation Answer: A) Y = ( int ) ( x + 0.5 ) ;

Explanation:

Rounding off a value means replacing it by a nearest value that is approximately equal or smaller or greater to the given number.

 

y = (int)(x + 0.5); here x is any float value. To roundoff, we have to typecast the value of x by using (int)

 

Example:

 

#include

 

int main ()

 

{

 

  float x = 2.6;

 

  int y = (int)(x + 0.5);

 

  printf ("Result = %d\n", y );

 

  return 0;

 

}

 

Result : 3

Report Error

View Answer Report Error Discuss

Filed Under: Programming

2 5303
Q:

Which award the Electronic Vaccine Intelligence Network (EVIN) app won in 2017 ?

A) Padma Award B) GSMA Asia Mobile Award
C) Best app of the year D) National Award
 
Answer & Explanation Answer: B) GSMA Asia Mobile Award

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk

9 5302
Q:

Paper Currency Act was enacted by British Government of India in which year ?

 

A) 1870 B) 1861
C) 1858 D) 1865
 
Answer & Explanation Answer: B) 1861

Explanation:

Paper Currency Act was enacted by British Government of India in 1861.

 

Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

1 5300
Q:

Light - year measures which of the following ?

A) Intensity of Light B) Mass
C) Distance D) Time
 
Answer & Explanation Answer: C) Distance

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

11 5300
Q:

Full convertibility of a rupee means ?

A) Determination of rate of exchange between rupee and foreign currencies freely by the market forces of demand and supply B) Repayment of loans in terms of rupees
C) Payment for imports in terms of rupees D) Purchase of foreign exchange for rupees freely
 
Answer & Explanation Answer: A) Determination of rate of exchange between rupee and foreign currencies freely by the market forces of demand and supply

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy
Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

5 5296
Q:

Which of the following ministry has turned down the proposal to rename West Bengal to ‘Bangla’ ?

A) Ministry of Home Affairs B) Ministry of Law and Justice
C) Ministry of Culture D) Ministry of External Affairs
 
Answer & Explanation Answer: D) Ministry of External Affairs

Explanation:

Foreign Affairs Ministry has turned down the proposal to rename West Bengal to ‘Bangla’, citing diplomatic confusion over similarities with the neighbouring country Bangladesh, according to reports. The West Bengal Assembly had passed a resolution last year stating that the name of the state would be changed to ‘Bangla’ in Bengali, ‘Bengal’ in English and ‘Bangal’ in Hindi.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

21 5292
Q:

Select the synonym of

 

panorama

 

A) puny B) wee
C) diminutive D) spectacle
 
Answer & Explanation Answer: D) spectacle

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 5291
Q:

' Mohs scale ' is used to indicate the

A) degree of brittleness of a substance B) degree of hardness of mineral
C) degree of viscosity of a liquid D) degree of elasticity of a material
 
Answer & Explanation Answer: B) degree of hardness of mineral

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

3 5290