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

 The expression FOR XML RAW tells SQL Server to:

A) place the values of the columns as attributes in the resulting XML document. B) place the values of the columns into elements rather than attributes.
C) place some columns into elements and others into attributes. D) None of the above is correct.
 
Answer & Explanation Answer: A) place the values of the columns as attributes in the resulting XML document.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Database

0 3891
Q:

Rank these compounds by boiling point- Pentane, Propane and Hexane.

A) Pentane > Propane > Hexane B) Propane > Pentane > Hexane
C) Hexane > Pentane > Propane D) Propane > Hexane > Pentane
 
Answer & Explanation Answer: C) Hexane > Pentane > Propane

Explanation:

The boiling point of the compounds depend on the number of carbons in them. Hexane has 6, Pentane has 5 and Propane has 3 carbons. As Hexane is with 6 carbons it has highest boiling point and next Pentane with 5 and lowest Propane with 3. 

Report Error

View Answer Report Error Discuss

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

2 3890
Q:

Which is the World's Fastest SUPERCOMPUTER and to which country it belongs ?

A) JAGUAR --- ENGLAND B) PARAM YUVA 2 --- INDIA
C) CRAY-1 --- ENGLAND D) TIANHE 2 --- CHINA
 
Answer & Explanation Answer: D) TIANHE 2 --- CHINA

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

17 3890
Q:

The energy of a photon, whose momentum is 10 MeV/c, where c is the speed of light, is given by

A) 10 MeV B) 100 MeV
C) 1 MeV D) 0.1 MeV
 
Answer & Explanation Answer: A) 10 MeV

Explanation:

A photon’s relativistic momentum is given by the equation,E = pc where p is the momentum.

P = 10 MeV/c

So, E = 10 MeV

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

2 3889
Q:

Who among the following is a winner of the Indira Gandhi Award for National Integration

A) M.G.K.Menon B) V.K.Gokak
C) Raghupati Sahai 'Firaq' D) M.F.Hussain
 
Answer & Explanation Answer: D) M.F.Hussain

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards

1 3888
Q:

Why does homeric literature still survive today?

Answer

Homer's literature had created the foundation for literature and was influential in his time and the future. And they are credited as foundational components of the Western worldview.

Report Error

View answer Workspace Report Error Discuss

Subject: Indian Culture Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk

36 3886
Q:

Which international organization has declared 2017 as the “International Year of Sustainable Tourism for Development”?

A) Asian Development Bank (ADB) B) World Trade Organisation (WTO)
C) United Nations (UN) D) International Monetary Fund (IMF)
 
Answer & Explanation Answer: C) United Nations (UN)

Explanation:

The United Nations (UN) has declared 2017 as the "International Year of Sustainable Tourism for Development" to celebrate and advance the commitment of the tourism division to building a superior world.The International Year aims to support a change in policies, business practices and consumer behavior towards a more sustainable tourism sector that can contribute effectively to the Sustainable Development Goals (SDGs).

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams , CAT , GATE , GRE
Job Role: Bank Clerk , Bank PO

4 3886