Birlasoft Ltd. interview experience Real time questions & tips from candidates to crack your interview

Node Js Backend Developer

Birlasoft Ltd.
upvote
share-icon
1 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Node JS, Algorithms, System Design, Aptitude, OOPS
Tip
Tip

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application process
Where: Other
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Interview rounds

01
Round
Easy
Video Call
Duration60 minutes
Interview date7 Oct 2021
Coding problem5

Technical Interview round that lasted for around 60 minutes. Questions were based on Node JS concepts.

1. Node Js Question

How does Node JS work?

Problem approach

Node.js is lightweight and efficient because it is built on an event-driven design with asynchronous I/O. It uses uses JavaScript as its scripting language and runs Chrome’s V8 JavaScript engine. It's used in desktop programs and with a popular framework called electron because it has APIs for accessing OS-level functionality like file systems, networks, and so on.

2. Technical Question

What are middlewares?

Problem approach

Middleware are basically just functions that have full access to both request and response objects.

var app = express();

app.use(cookieParser());
app.use(bodyParser());
app.use(logger());
app.use(authentication());

app.get('/', function (req, res) {
// ...
});

app.listen(3000);

Whether you wish to design your own middleware or use the framework's built-in middlewares, an Express application is simply Node.js with a host of middleware functions, Express made the process natural and intuitive.

3. Node Js Question

What is Event Emitter?

Problem approach

EventEmitter is a Node.js class that includes all the objects that are basically capable of emitting events. This can be done by attaching named events that are emitted by the object using an eventEmitter.on() function. Thus whenever this object throws an even the attached functions are invoked synchronously.
Example:
const EventEmitter = require('events');
class MyEmitter extends EventEmitter {}
const myEmitter = new MyEmitter();
myEmitter.on('event', () => {
console.log('an event occurred!');
});
myEmitter.emit('event');

4. Node Js Question

List down the two arguments that async.queue takes as input?

Problem approach

1. Concurrency Value
2. Task Function

5. Node Js Question

What are promises in Node.js?

Problem approach

Promises allows you to link handlers to the final success value or failure reason of an asynchronous activity. This allows asynchronous methods to return values in the same way that synchronous methods do: instead of returning the final value, the asynchronous method provides a promise for the value at a later time.The great thing about promises is that they can be used to create dependency chains (do Promise C only when Promise A and Promise B complete).
Promises are based on the premise that they represent the outcome of an asynchronous process. A promise can be in one of three states:
pending - A promise's initial state. 
fulfilled - A promise's final state.
rejected - The state of a promise representing a failed operation. Once a promise is fulfilled or rejected, it is immutable (i.e. it can never change again).

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
Senior Software Engineer
3 rounds | 7 problems
Interviewed by Birlasoft Ltd.
1638 views
0 comments
0 upvotes
Senior Consultant
3 rounds | 8 problems
Interviewed by Birlasoft Ltd.
1168 views
0 comments
0 upvotes
Software Engineer
3 rounds | 3 problems
Interviewed by Birlasoft Ltd.
904 views
0 comments
0 upvotes
Software Engineer
1 rounds | 1 problems
Interviewed by Birlasoft Ltd.
3246 views
0 comments
0 upvotes