IT Trainer Questions


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

Memory is made up of

A) Large number of cells B) Set of wires
C) Set of circuits D) None of the above
 
Answer & Explanation Answer: A) Large number of cells

Explanation:

In computing, memory refers to the computer hardware integrated circuits that store information for immediate use in a computer.

Most semiconductor memory is organized into memory cells or bistable flip-flops, each storing one bit (0 or 1).

Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: AIEEE , Bank Exams , CAT , GRE
Job Role: Analyst , Bank Clerk , Bank PO , Database Administration , IT Trainer

2 3217
Q:

That which cannot be corrected

A) Incorrigible B) Illegible
C) Illegal D) Indelible
 
Answer & Explanation Answer: A) Incorrigible

Explanation:

The One-word substitute for That which cannot be corrected is Incorrigible.

Report Error

View Answer Report Error Discuss

Filed Under: Alphabet Test
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer , Software Architect

4 3209
Q:

3 BM (SHTR)

Answer

The given letter equation 3 BM (SHTR) imples that 3 Blind Mice (See How They Run).

Report Error

View answer Workspace Report Error Discuss

Subject: Word Puzzles Exam Prep: AIEEE , Bank Exams , CAT , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

1 3207
Q:

Iteration is most similar in meaning to

A) Ending B) Looping
C) Starting D) None of the above
 
Answer & Explanation Answer: B) Looping

Explanation:

Iteration is most similar in meaning to the word repeatation i.e, looping.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: AIEEE , Bank Exams , CAT , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

4 3205
Q:

The network layer concerns with

A) Packets B) Frames
C) Bytes D) All of the above
 
Answer & Explanation Answer: A) Packets

Explanation:

The network layer concerns with the packets. It brings the packets from the source to the destination.

Report Error

View Answer Report Error Discuss

5 3204
Q:

The following bar graph shows the percentage of chairs produced by two companies Neel Kamal and Raj Kamal during five different years. Bar graph also shows the total no. of chairs produced in different years associated with it. Study the graph carefully to answer the following questions.

bar_g1527828671.jpg image

Question 1)  Find the average no. of chairs produced by Raj Kamal in the years 2004, 2006 and 2007 together.

 

Question 2)  What is the ratio of no. of chairs produced by Neel Kamal in the years 2007 and 2008 together to that by Raj Kamal in the same years together?

 

Question 3)  If 12% chairs out of total chairs produced in the year 2008 were defective and in them ratio of defective chairs by Raj Kamal and Neel Kamal is 2 : 3 then find the no. of defective chairs produced by Neel Kamal in the year 2008.

Answer

Answer 1)  


1/3 x (54 x 150 + 60 x 300 + 36 x 450)


= 1/3 x 42300


= 14100.


 


Answer 2)


Required ratio of chairs = 64 x 450 + 56 x 50036 x 450 + 44 x 500


= 56800/38200


= 284/191.


 


Answer 3)


 


Required number of chairs =  35 x 12100 x 50000
= 3600.


 

Report Error

View answer Workspace Report Error Discuss

7 3194
Q:

A man and his son are in a terrible accident and are rushed to the hospital in critical care. The doctor looks at the boy and exclaims "I can't operate on this boy, he's my son!" How could this be?

Answer

This is only possible when that doctor is boy's mother.

Report Error

View answer Workspace Report Error Discuss

15 3190