Job Roles

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

The enzyme that converts glucose to ethyl alcohol is 

A) Maltase B) Zymase
C) Diastase D) Invertase
 
Answer & Explanation Answer: B) Zymase

Explanation:
Report Error

View Answer Report Error Discuss

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

96 23479
Q:

Rs. 50000 is divided into two parts One part is given to a person with 10% interest and another part is given to a person with 20 % interest. At the end of first year he gets profit 7000 Find money given by 10% ?

A) Rs. 20,000 B) Rs. 10,000
C) Rs. 30,000 D) Rs. 40,000
 
Answer & Explanation Answer: C) Rs. 30,000

Explanation:

Let first part is 'K' and second part is 'L'
then K + L = 50000---------eq1
Total profit = profit on x + profit on y
7000 = (K x 10 x 1)/100 + (L x 20 x 1)/100
70000 = K + 2L-----------------------------------eq2
70000 = 50000 + L
so L = 20000 then K = 50000 - 20000 = 30000
first part on 10% is = Rs.30000

Report Error

View Answer Report Error Discuss

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

5 6351
Q:

Sushma joins a job at 20 yrs. First 3 years salary is 10,000 p.a. Afterwards every year increment of 2,000 per year for 10 years. Then salary becomes constant till retirement. At retirement average salary is 25,000. (throughout career). At what age Sushma retires ?

A) 50 yrs B) 47 yrs
C) 45 yrs D) 42 yrs
 
Answer & Explanation Answer: A) 50 yrs

Explanation:

Let age of retirement = S
so according to the given condition 25000(x-20)
=10000 x 3 + 12000 + 14000 + 16000 + 18000 + 20000 + 22000 + 24000 + 26000 + 28000 + 30000 + 30000(S-33)
= 30000 + 210000 + 30000S-990000
= 30000S - 750000
or 25000S - 500000 = 30000x - 750000
or 5000x = 250000
or S = 50 yrs.

Report Error

View Answer Report Error Discuss

Filed Under: Problems on Ages
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Bank Clerk , Bank PO

4 5540
Q:

If in an A.P series 18th term is 29 and 29th term is 18. Then find the 49th term ?

A) -3 B) -2
C) 0 D) 1
 
Answer & Explanation Answer: B) -2

Explanation:

We know that in A.P series
18th term = a + 17d
29th term = a + 28d
But given
a + 17d = 29..........(i)
a + 28d = 18......... (ii)
Solving equation (i) and (ii), we get
d = -1
put d = -1 in any of the above equations and we get,
a = 46
Now, we know 49th term can be written as, a + 48d
putting the value of a and d in the above equation,
a + 48d = 46 + 48(-1)
= 46 - 48
= -2

Hence, the 49th term is -2.

Report Error

View Answer Report Error Discuss

Filed Under: Arithmetical Reasoning
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Bank Clerk , Bank PO

3 2251
Q:

A can write 32 pages in 6 hours and B can write 40 pages in 5 hours. If they write together, in how many hours they can write 110 pages ?

A) 7 hrs B) 6 hrs 10 min
C) 5 hrs 25min D) 8 hrs 15 min
 
Answer & Explanation Answer: D) 8 hrs 15 min

Explanation:

A can write in 1hour = 32/6 pages

Similarly, B in 1 hour = 40/5 pages

Together (A+B) in 1 hour = 32/6 + 40/5 = 40/3

So, A+B write 40/3 pages in 1 hour

A+B write 110 pages in (3/40) x 110 Hours = 8 hours 15 min.

Report Error

View Answer Report Error Discuss

Filed Under: Time and Work
Exam Prep: GATE , CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk

8 11914
Q:

An amount doubles itself in 15 years. what is the rate of interest ?

A) 7.85 % B) 9.41%
C) 6.66 % D) 4.21 %
 
Answer & Explanation Answer: C) 6.66 %

Explanation:

Let the principle be Rs. P
As the amount double itself the interest is Rs. P too
So P = P x r x 15/100
=> r = 100/15 = 20/3 % = 6.66 %.

Report Error

View Answer Report Error Discuss

Filed Under: Simple Interest
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE
Job Role: Bank Clerk , Bank PO

5 8293
Q:

How many minutes is it until 6 o'clock if 50 minutes ago it was 4 times as many minutes past 3 o'clock ?

A) 26 min B) 24 min
C) 22 min D) 20 min
 
Answer & Explanation Answer: A) 26 min

Explanation:

Let the required number of minutes = M
Total minutes between 3o'clock and 6o' clock = 180 minutes
M + 50 + 4M = 180
5M + 50 = 180
5M = 130
M = 26 minutes.

Report Error

View Answer Report Error Discuss

Filed Under: Clock puzzles
Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

23 8906