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

Who was named as " Wisden’s Leading Cricketer in the World " for 2016 ?

A) M S Dhoni B) Musharaf Ali
C) Virat Kohli D) Ashwin
 
Answer & Explanation Answer: C) Virat Kohli

Explanation:

i. India’s Virat Kohli was named Wisden’s Leading Cricketer in the World for 2016.

ii. Kohli had also won the prestigious ‘Polly Umrigar award’ presented to the ‘International Cricketer of the Year’ at the BCCI Annual Awards.

iii. Kohli was additionally declared Wisden India Almanack’s Cricketer of the Year for the second time in its 2017 edition.

 

Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards
Exam Prep: Bank Exams , CAT

6 3725
Q:

Which American artist's most famous portrait is that of his mother?

A) Rembrant B) Whistler
C) Vincent Van Gough D) Salava dor Dali
 
Answer & Explanation Answer: B) Whistler

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

8 3725
Q:

World’s largest aircraft supercarrier USS Gerald R Ford belongs to _____ country.

A) Russia B) India
C) China D) USA
 
Answer & Explanation Answer: D) USA

Explanation:

1. US Navy commissioned world’s largest aircraft carrier, USS Gerald R Ford into the fleet. The commissioning ceremony was held at Naval Station Norfolk, Virginia in presence of US President Donald Trump.

2. USS Gerald R. Ford is the first ship in this new class of nuclear-powered aircraft carriers for the U.S. Navy. The ship is named after the 38th President of the United States Gerald Ford and has been built by Newport News Ship Building Company. The massive 1,106-foot-long carrier is powered by two new generation nuclear reactors.

Report Error

View Answer Report Error Discuss

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

9 3724
Q:

Diamond is harder than Graphite because of

A) tetrahedral structure of diamond B) difference of crystalline structures
C) difference of layers of atoms D) hexagonal structure of graphite
 
Answer & Explanation Answer: B) difference of crystalline structures

Explanation:

Here are the differences between Diamond and Graphite :

 

diamond_is_harder_than_graphite_because_of1557300898.jpg image

 

From the above analysis, Diamond is harder than Graphite because of the difference of crystalline structures.

Report Error

View Answer Report Error Discuss

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

3 3724
Q:

Which is not associated with areas of karst topography?

A) flowing rivers B) sinkholes
C) sinking streams D) caverns
 
Answer & Explanation Answer: A) flowing rivers

Explanation:

A karst topography is that which composes of limestone and its associated features and structures. Karst topography and caves develop in limestone rocks due to their solubility in dilute acidic groundwater. The solubility of limestone in water and weak acid solutions leads to karst landscapes.

 

Flowing rivers, can be found in areas away from karst topography.

Report Error

View Answer Report Error Discuss

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

17 3722
Q:

Solve this puzzle?

logical_thinking_puzzle11538732563.jpg image

A) 18 B) 16
C) 20 D) 14
 
Answer & Explanation Answer: B) 16

Explanation:

Let the given be resembled in letters like R, G & B.

Here given,

1) R + R + R = 30

=> 3R = 30 => R = 30/3 = 10

 

2) R + G + G = 18 => R + 2G = 18 => 10 + 2G = 18 => 2G = 8 => G = 4

 

3) G - B = 2 => B = G - 2 => B = 4 - 2 => B = 2

 

Hence, R + G + B = 10 + 4 + 2 => 16.

Report Error

View Answer Report Error Discuss

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

5 3720
Q:

 In which sport Pankaj Advani won 7 world titles ?

A) Snooker B) Billiards
C) Badminton D) Chess
 
Answer & Explanation Answer: B) Billiards

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports

11 3720