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 3833
Q:

Which of the following is an Organic Molecule?

A) Nitrogen gas B) Ammonia
C) Fructose D) Water
 
Answer & Explanation Answer: C) Fructose

Explanation:

Fructose is an Organic molecule among the given options.

  

Organic Molecules :

An organic molecule is one which contains carbon, although not all compounds that contain carbon are organic molecules. Noticeable exceptions are carbon monoxide (CO), carbon dioxide (CO2), carbonates (e.g. calcium carbonate), carbides (e.g. calcium carbide) and cyanides (e.g. sodium cyanide). Pure carbon compounds such as diamond and graphite are also not organic compounds. Organic molecules can range in size from simple molecules to complex structures containing thousands of atoms.

 

Although carbon is present in all organic compounds, other elements such as hydrogen (H), oxygen(O), nitrogen (N), sulfur (S) and phosphorus (P) are also common in these molecules.

 

In simple, Molecules needed for life that have carbon are called Organic Molecules.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams , AIEEE
Job Role: Bank Clerk , Analyst

1 3833
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 3830
Q:

Which river of Rajasthan is known as Van Ki Asha?

A) Chambal B) Mahi
C) Banas D) Luni
 
Answer & Explanation Answer: C) Banas

Explanation:

Van Ki Asha means Hope of forest. Banas river of Rajasthan is known as Van Ki Asha. It passes through Udaipur originating from aravallis. It is the longest river with length 512 kms in Rajasthan having full flow.

Report Error

View Answer Report Error Discuss

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

3 3829
Q:

Energy is measured in units called

A) Newtons B) Watts
C) Joules D) Ohm/mtr
 
Answer & Explanation Answer: C) Joules

Explanation:

Energy is measured in units called Joules.

 

Joule is unit of work or energy in the International System of Units (SI) which is equal to the work done by a force of one newton acting through one metre.

 

1 Joule  =  107 ergs or 0.7377 foot-pounds.

Report Error

View Answer Report Error Discuss

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

4 3829
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 3829
Q:

' In CUstody ' , an english novels, is written by which one of the following

A) Vikram Seth B) Shoba De
C) Anita Desai D) VS.Naipaul
 
Answer & Explanation Answer: C) Anita Desai

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

4 3828
Q:

Which of the following became widespread during the 1980's?

A) Internet B) Radio
C) Cable television D) All the above
 
Answer & Explanation Answer: C) Cable television

Explanation:

Cable television or cable TV became widespread during the 1980's.

Report Error

View Answer Report Error Discuss

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

6 3828