Analyst Questions


Q:

When do you override hashcode and equals() ?

Answer

HashCode method return int value. So the Hash value is the int value returned by the hash function .


If you want to do equality check or want to use your object as key in HashMap, we must override hashcode and equals() method.

Report Error

View answer Workspace Report Error Discuss

Subject: Java
Job Role: Analyst , IT Trainer

5 3337
Q:

What is an error-first callback ?

Answer

Error-first callbacks are used to pass errors and data as well. You have to pass the error as the first parameter, and it has to be checked to see if something went wrong. Additional arguments are used to pass data.


 


fs.readFile(filePath, function(err, data) {
if (err) {
// handle the error, the return is important here
// so execution stops here
return console.log(err)
}
// use the data object
console.log(data)
})

Report Error

View answer Workspace Report Error Discuss

2 3337
Q:

Which one of the following foreign agencies will assist the municipal agencies to improve quality of municipal schools through its School Excellence Programmes(SEP) ?

A) IMF B) UNDP
C) ADB D) UNICEF
 
Answer & Explanation Answer: C) ADB

Explanation:

Asian Development Bank (ADB) announced that it will assist the municipal agencies to improve quality of municipal schools through its School Excellence Programme (SEP).

Report Error

View Answer Report Error Discuss

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

2 3337
Q:

Which property classification would include tools?

Report Error

View answer Workspace Report Error Discuss

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

2 3336
Q:

Landslides, mudflows, slump, and creep are all examples of

A) runoff B) soil formation
C) mechanical weathering D) mass movement
 
Answer & Explanation Answer: D) mass movement

Explanation:

Mass wasting, also known as slope movement or mass movement, is the geomorphic process by which soil, sand, regolith, and rock move downslope typically as a solid, continuous or discontinuous mass, largely under the force of gravity, but frequently with characteristics of a flow as in debris flows and mudflows.

 

Landslides,_mudflows,_slump,_and_creep_are_all_examples_of1562827917.jpg image

Report Error

View Answer Report Error Discuss

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

15 3333
Q:

A student's average marks in five subjects is 82. If the average marks of first two subject is 86.5 and the average marks of last two subjects is 84. Find the marks of third subject?

A) 69 B) 67
C) 71 D) 73
 
Answer & Explanation Answer: A) 69

Explanation:

The total marks of all 5 subjects = 82 x 5 = 410

Total marks of 1st two subjects = 86.5 x 2 = 173

Total marks of last two subjects = 84 x 2 = 168

Now, marks in 3rd subject = 410 - (173 + 168) = 410 - 341 = 69.

Report Error

View Answer Report Error Discuss

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

24 3333
Q:

Lines are used in art to indicate

A) shadows and highlights B) direction and motion
C) boundaries between forms D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

Lines are used in art to indicate

 

a. boundaries between forms.
b. direction and motion.
c. shadows and highlights.
d. spatial depth on flat surfaces.

 

Lines_are_used_in_art_to_indicate1556257325.jpg image

Report Error

View Answer Report Error Discuss

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

2 3333
Q:

General purpose utility gloves are

A) for surgeries B) for cleaning procedures
C) for handling tubes D) All of the above
 
Answer & Explanation Answer: B) for cleaning procedures

Explanation:

General purpose gloves - utility gloves are recommended for cleaning procedures, such as handling soiled linens or decontaminating care areas. Utility gloves are more tear and puncture resistant than other gloves.

utility_gloves1532521373.jpg image

Report Error

View Answer Report Error Discuss

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

1 3333