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

Currency of Peru is

A) Chilean Peso B) Euro
C) Sol D) Dollar
 
Answer & Explanation Answer: C) Sol

Explanation:

Peru is a country in South America. Lima is the capital city of Peru. Sol is the currency of Peru.

Report Error

View Answer Report Error Discuss

2 3793
Q:

What is the chemical name for vitamin A?

A) Retinol B) Riboflavin
C) Thiamine D) Niacin
 
Answer & Explanation Answer: A) Retinol

Explanation:

Vitamin A is a group of unsaturated nutritional organic compounds that includes retinol, retinal, retinoic acid, and several provitamin A carotenoids.

IUPAC Name :: (2E,4E,6E,8E)-3,7-dimethyl-9-(2,6,6-trimethylcyclohexen-1-yl)nona-2,4,6,8-tetraen-1-ol

 

Vitamin Name - Chemical Name

Vitamin A   -     Retinol

Vitamin B1  -    Thiamine

Vitamin B2  -    Riboflavin

Vitamin B3  -    Niacin

Vitamin B5  -    Pantothenic acid

Vitamin B6  -    Pyridoxin

Vitamin B7  -    Biotin

Vitamin B9  -    Folic acid

Vitamin B12  -   Cyanocobalamin

Vitamin C     -   Ascorbic acid

Vitamin D     -   Calciferol

Vitamin E      -   Tocoferol

Vitamin K      -   Phylloquinone and Menaquinones

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

5 3792
Q:

By which Amendment Act of the Constitution of India were the Directive Principles of the State Policy given precedence over the Fundamental Right whereever they come into conflict?

A) 40th B) 42nd
C) 44th D) 46th
 
Answer & Explanation Answer: B) 42nd

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

7 3792
Q:

................mixtures are used for making a glass

A) Quartz and Mica B) Salt and Quartz
C) Sand and Salt D) Sand and Silicates
 
Answer & Explanation Answer: D) Sand and Silicates

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science

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

Which best describes the meaning of the term theorem?

A) A conclusion proved by deductive reasoning B) A statement explaining the meaning of a geometric term
C) A conjecture based on inductive reasoning D) A statement that is accepted as true without proof
 
Answer & Explanation Answer: A) A conclusion proved by deductive reasoning

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO

0 3790
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 3790