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:

"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 3802
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 3802
Q:

The uranium mines being develope by UCIL at Lambapur and Domiasiat are located, respectively, in which of the following states?

A) Jharkhand and Arunachal Pradesh B) West Bengal and Assam
C) Andhra Pradesh and Meghalaya D) Maharashtra and Sikkim
 
Answer & Explanation Answer: C) Andhra Pradesh and Meghalaya

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography

18 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:

What is a Solution and what are the two parts of a solution?

Answer

A solution is a homogeneous type of mixture of two or more substances.


A solution has two parts::


1. A solute and


2. A solvent.


 


The solute is the substance that dissolves, and the solvent is the majority of the solution.

Report Error

View answer Workspace Report Error Discuss

Subject: Chemistry Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

2 3800
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