Questions

Q:

Which of the following is true?

A) It is appropriate to use assertions to validate arguments to methods marked public B) It is appropriate to catch and handle assertion errors
C) It is NOT appropriate to use assertions to validate command-line arguments D) None
 
Answer & Explanation Answer: C) It is NOT appropriate to use assertions to validate command-line arguments

Explanation:

A is incorrect. It is acceptable to use assertions to test the arguments of private methods.

 

B is incorrect. While assertion errors can be caught, Sun discourages you from doing so.

Report Error

View Answer Report Error Discuss

Filed Under: Programming

0 3802
Q:

Who of the following has won the Femina Miss India 2014 crown?

A) Vanya Mishra B) Koyal Rana
C) Megan Young D) Navneet Kaur
 
Answer & Explanation Answer: B) Koyal Rana

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

1 3801
Q:

How many times the following program would print 'Jamboree'?

main()

{

     printf ( "\nJamboree");

     main ();

}

Answer

Till the stack doesn't overflow

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

2 3800
Q:

Classify the Hashing Functions based on the various methods by which the key value is found.

Answer

Direct method,


 Subtraction method,


 Modulo-Division method,


 Digit-Extraction method,


 Mid-Square method,


 Folding method,


Pseudo-random method

Report Error

View answer Workspace Report Error Discuss

Subject: Technology

5 3800
Q:

"Tigris River" flows through which of the following countries ?

A) Iran B) Italy
C) Iraq D) Egypt
 
Answer & Explanation Answer: A) Iran

Explanation:
Report Error

View Answer Report Error Discuss

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

16 3800
Q:

Which of these provides your body with energy?

A) Carbohydrates B) Fats
C) Vitamins D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:

Nutrients are the substances in food that provide the raw materials and energy the body needs to carry out all its essential processes.

There are six groups of nutrients:

1. Carbohydrates.

2. Fats.

3. Proteins.

4. Vitamins.

5. Minerals.

6. Water.

Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO

8 3799
Q:

A manometer is used to measure

A) earthquake B) pressure
C) temperature D) density
 
Answer & Explanation Answer: B) pressure

Explanation:

A manometer is used to measure a pressure difference between two points.

a_manometer_is_used_to_measure1553165853.png image

Report Error

View Answer Report Error Discuss

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

7 3799
Q:

In general, which is the cause of a sea breeze?

A) Pressure B) Specific heat
C) Heat D) All the above
 
Answer & Explanation Answer: B) Specific heat

Explanation:

The usual cause of sea breeze is the difference in specific heat capacity between land and water Land heats and cools more quickly than water.

 

What is the cause of a sea breeze?

The air over the land is warmed and rises, to a greater temperature than that over the sea. This produces a convection current, with cooler air flowing in from over the sea to replace that rising from the land. At night the land cools more than the sea, so the action reverses to produce a land-breeze, blowing off the land.

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

3 3798