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

3 6274
Q:

Which keystroke is used for updating a field?

A) F11 B) F12
C) F6 D) F9
 
Answer & Explanation Answer: D) F9

Explanation:

F9 keystroke is used for updating a field.

Report Error

View Answer Report Error Discuss

5 6269
Q:

When an electric bulb breaks , there is an explosive sound. That is due to

A) the chemical reaction between the gases inside the bulb B) the compressed gases inside rushing out suddenly
C) the air outside rushing in to fill the vacuum inside the bulb D) None of these
 
Answer & Explanation Answer: C) the air outside rushing in to fill the vacuum inside the bulb

Explanation:

The inside of the bulb being a vacuum, the outside air rushes in when the bulb is broken. The vibrations of the rushing air molecules produce the sound.

Report Error

View Answer Report Error Discuss

Filed Under: Physics

13 6269
Q:

Which is true of the 1912 presidential election?

A) Because all three major candidates were Progressive, the Socialist won B) Because all three major candidates were Progressive, Progressive votes were split
C) Although none of the candidates was Progressive, the Progressives decided the election D) Although none of the candidates was Progressive, Progressive ideas were important
 
Answer & Explanation Answer: B) Because all three major candidates were Progressive, Progressive votes were split

Explanation:

Because all three major candidates were Progressive, Progressive votes were split" is the one among the following that is true of the 1912 presidential election.

The correct option among all the options that are given in the question is the option "B".

Report Error

View Answer Report Error Discuss

Filed Under: World History
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

4 6268
Q:

A clock is started at 11 a.m. By 600 seconds past 6 p.m, the hour hand has turned through ?

A) 155 degrees B) 175 degrees
C) 205 degrees D) 215 degrees
 
Answer & Explanation Answer: D) 215 degrees

Explanation:

The total angle traced by the hour hand is the angle traced in 7 hours and 10 minutes.
We know that the angle traced by the hour hand in one hour is 30º and in one minute is 1/2º.
Therefore, (30º x 7) + (10 x 1/2º) = 215º is the angle traced by the hour hand.

Report Error

View Answer Report Error Discuss

Filed Under: Clock puzzles
Exam Prep: Bank Exams , CAT , GATE , GRE
Job Role: Analyst , Bank Clerk , Bank PO

15 6266
Q:

Majid Gyre is a feature of which of the following Oceans  ?

A) Indian Ocean B) Pacific Ocean
C) Atlantic Ocean D) Arctic Ocean
 
Answer & Explanation Answer: A) Indian Ocean

Explanation:

The Indian Ocean consists of one gyre, the Indian Ocean (Majid) Gyre, which exists mostly in the Southern Hemisphere. It is named after Ahmad Bin Majid, the 15th-century Arab mariner. Following shows the Oceans and their respective Gyres

 Indian Ocean            -        Majid Gyre

North Atlantic Ocean   -       Columbus Gyre

South Atlantic Ocean  -       Prince Henry Gyre

North Pacific Ocean     -      Turtle Gyre

South Pacific Ocean    -       Heyerdahl Gyre

Report Error

View Answer Report Error Discuss

Filed Under: World Geography
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

11 6257
Q:

What is Just-in-time(JIT)?

Answer

Just-in-time,or lean manufacturing, is a production management philosophy built around the continuous reduction of waste. It is suited for businesses where production efficiency is key. Anything that interferes with productivity is waste and,therefore, the enemy under JIT systems. Techniques that support JIT philosophy include reducing inbound inventory by creating supplier delivery schedules, minimizing outbound stock with customer delivery schedules and constant work in-house reducing scrap material and wasted man-hours. These techniques improve cash flow and maximize sales margins.

Report Error

View answer Workspace Report Error Discuss

Subject: Manufacturing

7 6256
Q:

The first Carnatic war in India was an extension of the Anglo-French war in 

A) Canada B) Europe
C) Africa D) America
 
Answer & Explanation Answer: B) Europe

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

7 6250