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

Who among the following was the religious guru of Shivaji?

A) Ram Das B) Tukaram
C) Jnaneshwar D) Eknath
 
Answer & Explanation Answer: A) Ram Das

Explanation:

The religious guru of Shivaji was Ram Das.

who_was_the_religious_guru_of_Shivaji1547630263.jpg image

Report Error

View Answer Report Error Discuss

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

5 3824
Q:

Who invented Gramophone?

A) Michael Faraday B) Fahrenheit
C) Alexander Graham Bell D) Thomas Alva Edison
 
Answer & Explanation Answer: C) Alexander Graham Bell

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Inventions

2 3823
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 3823
Q:

The most valuable cash crop of Brazil is 

A) Tea B) Coffee
C) Cardamom D) Spices
 
Answer & Explanation Answer: B) Coffee

Explanation:

Warm, moist climate (with a temperature of 180 C- 270C and well-distributed rainfall between 125 to 200 cms) and deep, loamy, well-drained soil made of weathered lava are most suitable for the cultivation of coffee. However,  Brazil is a quantity producer and not a quality producer.

Report Error

View Answer Report Error Discuss

Filed Under: World Geography
Exam Prep: Bank Exams
Job Role: Bank PO

1 3823
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 3822
Q:

Who is the leading wicket taker in the history of test cricket

A) Shane Warne B) Brian Lara
C) Courtney Walsh D) Muttiah Muralitharan
 
Answer & Explanation Answer: D) Muttiah Muralitharan

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports

5 3822
Q:

Which of the following describes the process of glycolysis?

A) It represents the first stage in the chemical oxidation of glucose by a cell. B) Breakdown of Glucose
C) Converts Glucose to Pyruvate D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:

Glycolysis is the chemical process that converts glucose C₆H₁₂O₆, into Pyruvate, CH₃COCOO− + H⁺.

    • It represents the first stage in the chemical oxidation of glucose by a cell.

 



    • The free energy released in this process is used to form the high-energy molecules ATP and NADH.

 Which_of_the_following_describes_the_process_of_glycolysis1556258113.png image

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: GATE , CAT , Bank Exams , AIEEE
Job Role: Bank PO , Analyst

5 3822