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

What happens when two atoms form a chemical bond?

A) Two atoms fuse together to form a chemical bond B) The atoms share or transfer electrons
C) A chemical bond forms when two atoms transfer or share protons to achieve a stable nucleus D) Like charges in the atoms cause them to stick together
 
Answer & Explanation Answer: B) The atoms share or transfer electrons

Explanation:

All chemistry is based on sharing electrons. A chemical bond forms when two atoms transfer or share outer electrons to complete their outer shells.

Report Error

View Answer Report Error Discuss

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

6 3828
Q:

9th BRICS summit was held in ___________ ?

A) Beijing B) Shangai
C) Xiamen D) Chengdu
 
Answer & Explanation Answer: C) Xiamen

Explanation:

9th BRICS summit was held in Xiamen, China with the theme "BRICS: Stronger Partnership for a Brighter Future".

Report Error

View Answer Report Error Discuss

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

10 3828
Q:

What does 'M' stand for in Roman numerals?

A) 1 B) 50
C) 500 D) 1000
 
Answer & Explanation Answer: D) 1000

Explanation:

Letters of the alphabet used in ancient Rome to represent numbers:

I = 1;

V = 5;

X = 10;

L = 50;

C = 100;

D = 500;

M = 1000.

The numbers one through ten are written I, II, III, IV, V, VI, VII, VIII, IX, and X.

Report Error

View Answer Report Error Discuss

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

4 3828
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 3826
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 3826
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 3825