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

Heat is associated with

A) K.E of random motion of molecules B) K.E of orderly motion of molecules
C) Total K.E of random and orderly motion of molecules D) None of these
 
Answer & Explanation Answer: A) K.E of random motion of molecules

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics

5 3514
Q:

Select the correct statement about the pharynx.

A) The auditory tube drains into the nasopharynx B) The laryngopharynx blends posteriorly into the nasopharynx
C) The palatine tonsils are embedded in the lateral walls of the nasopharynx D) The pharyngeal tonsil is located in the laryngopharynx
 
Answer & Explanation Answer: A) The auditory tube drains into the nasopharynx

Explanation:
Report Error

View Answer Report Error Discuss

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

3 3512
Q:

What has triggered the need for multitasking in PCs?

Answer

1. Increased speed and memory capacity of microprocessors together with the support for virtual memory and


2. Growth of client server computing

Report Error

View answer Workspace Report Error Discuss

1 3511
Q:

The Mughals ruled India for one and half centuries effectively and gave Political unity to the country. In which of the following fields could they not succeed fully?

A) An efficient system of administration B) Political stability
C) Development of trade and industry D) Establishment of a common culture and unification of all communities to become a homogeneous nation
 
Answer & Explanation Answer: D) Establishment of a common culture and unification of all communities to become a homogeneous nation

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

1 3509
Q:

Who invented Bifocal Lens?

A) John Adams B) Benjamin Franklin
C) James Madison D) Thomas Jefferson
 
Answer & Explanation Answer: B) Benjamin Franklin

Explanation:

Benjamin Franklin has long been credited with the invention of bifocal lenses and he was the first to wear bifocal lenses. He did not produce them himself but instead had some optician in London or France make them for him to overcome Presbyopia, a condition that Franklin suffered. He was tired switching between lenses for far and near sightedness. And that resulted in inventing Bifocal Lenses.

Report Error

View Answer Report Error Discuss

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

6 3508
Q:

Which will be the new sponsor of the Indian cricket team from April 2017 ?

A) Paytm B) Star
C) Oppo D) Reliance-Jio
 
Answer & Explanation Answer: C) Oppo

Explanation:

OPPO, the mobile manufacturing brand has dealt with Indian Cricket Team for its sponsorship for 05 years. OPPO has paid Rs. 1079 crore for this deal. The BCCI has signed a five-year contract with OPPO and this contract will begin from April.

Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk

7 3505
Q:

The Forbidden City is located in which country?

A) Mongolia B) Nepal
C) Bhutan D) China
 
Answer & Explanation Answer: D) China

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Famous Places

4 3504