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 3784
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 3783
Q:

Which state does not have bicameral legislature in India?

A) Jammu & Kashmir B) Tamil Nadu
C) Telangana D) Andhra Pradesh
 
Answer & Explanation Answer: B) Tamil Nadu

Explanation:

Seven of Indian states have bicameralism. Andhra Pradesh, Bihar, Jammu and Kashmir, Karnataka, Maharashtra, Telangana and Uttar Pradesh are those with bicameralism legislature in India.

 

Hence, Tamil Nadu is the only one which is not having bicameral legislature in India among the given states.

Report Error

View Answer Report Error Discuss

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

2 3783
Q:

Dimond is

A) an element B) a compound
C) a mixture D) a liquid
 
Answer & Explanation Answer: A) an element

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

3 3783
Q:

Each hemoglobin molecule can transport two molecules of oxygen.

A) TRUE B) FALSE
Answer & Explanation Answer: B) FALSE

Explanation:

FALSE. Each hemoglobin molecule can transport four molecules of oxygen.


 


Hemoglobin, or Hb, is a protein molecule found in red blood cells (erythrocytes) made of four subunits: two alpha subunits and two beta subunits. Heme the component of hemoglobin responsible for binding oxygen consists of an iron ion that binds oxygen and a porphyrin ring that binds the globin molecules, one molecule binds one molecule of oxygen and can bind up to four oxygen molecules.

Report Error

View Answer Workspace Report Error Discuss

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

1 3782
Q:

Who is the author of the book "The way of Knife: The CIA, A secret army and a war at the ends of the earth" ?

A) Mark Twain B) Irika John
C) Mario Pujo D) Mark Mazzetti
 
Answer & Explanation Answer: D) Mark Mazzetti

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

8 3782
Q:

Buoyancy depends on

A) the mass of the liquid displaced B) the mass of the body
C) the depth to which the body is immersed D) the shaped of the body
 
Answer & Explanation Answer: A) the mass of the liquid displaced

Explanation:

Buoyancy or Upthrust, is an upward force exerted by a fluid that opposes the weight of an immersed object.

In a column of fluid, pressure increases with depth as a result of the weight of the overlying fluid.

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: AIEEE , GATE
Job Role: Analyst

8 3782
Q:

Which of the following is / are fund managers for National Pension System (NPS) in 2017 ?

A) Axis provident fund B) Yes bank pension fund
C) ICICI prudential pension D) Punjab National provident fund
 
Answer & Explanation Answer: C) ICICI prudential pension

Explanation:

At present in 2017, there are only seven NPS fund managers viz. HDFC Pension Fund, ICICI Prudential Pension, Kotak Pension Fund, LIC Pension Fund,  Reliance Capital Pension, SBI Pension Fund and UTI Retirement Solutions.

Report Error

View Answer Report Error Discuss

8 3781