IT Trainer Questions


Q:

How can you avoid callback hells ?

Answer

There are lots of ways to solve the issue of callback hells:


1. Modularization: break callbacks into independent functions
2. Use a control flow library, like async
3. Use generators with Promises
4. Use async/await (note that it is only available in the latest v7 release and not in the LTS version)

Report Error

View answer Workspace Report Error Discuss

Subject: Java
Job Role: Analyst , IT Trainer

3 2794
Q:

3 x 3 + 3 - 3 + 3 = ?

A) 9 B) 12
C) -3 D) 3
 
Answer & Explanation Answer: B) 12

Explanation:

Using BODMAS law,

3 x 3 + 3 - 3 + 3 =

3 x 3 = 12

= 12 + 3 - 3 + 3

=  9 + 3

= 12

 

Hence, 3 x 3 + 3 - 3 + 3 = 12.

Report Error

View Answer Report Error Discuss

19 2785
Q:

The difference of squares of two numbers is 180. The square of the smaller number is 8 times the larger number. Find two numbers.

A) 10 & 12 B) 10 & 18
C) 12 & -18 D) -12 & 18
 
Answer & Explanation Answer: D) -12 & 18

Explanation:

Given, difference of the squares of two numbers is 180.

k2 - l2 - 180

 

Also, square of the smaller number is 8 times the larger.

= l= 8k

 

Thus, k2 - 8a - 180 = 0

k2 – 18k + 10k - 180 = 0

→  k(k - 18) + 10(k – 18) = 0

= (k + 10)(k – 18) = 0

→  k = -10, 18

 

Thus, the other number is

324 - 180 = l2 

 

→ Numbers are 12, 18 or -12, 18.

Report Error

View Answer Report Error Discuss

Filed Under: Numbers
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

0 2783
Q:

What is the reciprocal of a negative number?

Answer

The reciprocal of a negative number is always a negative number. So that the number and its reciprocal multiply to 1. 


 


All real numbers except 0 have reciprocals.

Report Error

View answer Workspace Report Error Discuss

Subject: Arithmetical Reasoning Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

3 2778
Q:

What travels around the world but stays in one spot?

Answer

Therefore the answer for What travels around the world but stays in one spot is STAMP or any other thing that acts as a stamp does.


Ex. the letter in the envelope etc...


 


Since, Several things have the possibility, but the word travel evokes that it would move. 

Report Error

View answer Workspace Report Error Discuss

4 2773
Q:

Which sentence is punctuated correctly?

A) One question you should always ask yourself: “Am I pleased with the results?” B) Always ask yourself this question: “Am I pleased with the results?
C) Always ask yourself a question like: “Am I pleased with the results?” D) One question you should always ask yourself is: “Am I pleased with the results?”
 
Answer & Explanation Answer: A) One question you should always ask yourself: “Am I pleased with the results?”

Explanation:

The second would employ a comma, or semi-colon, and not a colon so it is not properly punctuated.

 

The third sentence would not be correct because it uses 'like', usually used for comparison. Since you are not comparing two questions, it would not be appropriate.

 

The fourth sentence has 'is' before the colon, which is a implies declaration and not listing. So, again, it would not be appropriate.

 

Hence, the first sentence, however, is punctuated correctly.

Report Error

View Answer Report Error Discuss

7 2767
Q:

When should you stop at green and go at red?

Answer

While eating a watermelon, we all go along the red and stops at green.

Report Error

View answer Workspace Report Error Discuss

5 2756
Q:

Importance of project life cycle?

Answer

A project has a beginning and an end and passes through several phases of development known as life cycle phases. Every project has certain phases of development. A clear understanding of these phases allows managers and executives to maintain control of the project more efficiently.
These phases are varied depending upon the industry involved but all follow the same basic steps.


 


How Important is Project Life Cycle::


1. This is a tried and tested method for delivering projects on time, within budget and to the expected quality targets.


2. Aids communication and helps define roles within the project organisation as it provides a framework for the project that is visible and understood by all members of the project.


3. The project lifecycle will allow the project manager to link progress directly to each phase and recognise the completion of each phase


4. The phases within the project lifecycle provide an understanding of the evolution of the project, being able to identify areas that need greater attention at different times such as risk management in the early stages and more Project Evaluation Reviews during the Implementation stage.


5. At each stage, approval is generally required from outside the project team before proceeding to the next stage.


6. The project life cycle also allows for the gate procedure to be used.


7. At each stage, approval is generally required from outside the project team before proceeding to the next stage.

Report Error

View answer Workspace Report Error Discuss

11 2756