i
Birlasoft
Filter interviews by
I was interviewed in Oct 2021.
Round duration - 60 minutes
Round difficulty - Easy
Technical Interview round that lasted for around 60 minutes. Questions were based on Node JS concepts.
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.
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 middl...
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 MyEm...
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.
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.
I applied via Naukri.com and was interviewed in Oct 2021. There was 1 interview round.
Node Js architecture is based on event-driven, non-blocking I/O model.
Event loop handles all I/O operations asynchronously
Single-threaded event loop allows for high scalability
Modules and packages can be easily added through NPM
Uses V8 engine for efficient JavaScript execution
Hoisting is a JavaScript mechanism where variables and function declarations are moved to the top of their scope.
Hoisting applies to variable declarations and function declarations
Variable declarations are hoisted but not their values
Function declarations are fully hoisted
Function expressions are not hoisted
Hoisting can lead to unexpected behavior and bugs
Middleware is a software layer that sits between the application and the server, allowing for additional functionality to be added.
Middleware functions are executed sequentially, and can modify the request and response objects.
Common middleware includes body-parser, cookie-parser, and express-session.
Custom middleware can be created to add specific functionality to an application.
Middleware can be used for authenticati
posted on 17 Oct 2024
I applied via Approached by Company and was interviewed in Sep 2024. There were 2 interview rounds.
MCQ Test and designing a application
Serial and parallel streams in Java are used for processing collections of data in a sequential or parallel manner.
Serial streams process elements in a single thread, while parallel streams use multiple threads for faster processing.
Parallel streams can improve performance for large datasets by utilizing multiple cores of the processor.
Serial streams are suitable for smaller datasets or when order of processing is impo...
posted on 13 Jun 2024
Node.js is a runtime environment that allows you to run JavaScript on the server side.
Node.js is built on Chrome's V8 JavaScript engine.
It is lightweight and efficient for building scalable network applications.
Node.js uses an event-driven, non-blocking I/O model, making it ideal for real-time applications like chat apps or streaming services.
NodeJs achieves multiple threading through event loop and asynchronous non-blocking I/O operations.
NodeJs uses event loop to handle multiple requests efficiently without blocking the main thread.
It utilizes asynchronous non-blocking I/O operations to perform tasks concurrently.
NodeJs can also create child processes to handle heavy computational tasks in parallel.
I applied via Naukri.com and was interviewed in Apr 2024. There were 2 interview rounds.
It was related to Basic HTML and Node. Some questions are from regioning.
It was for 30mins and expected to use Java 8 inbuilt functions
I was interviewed in Jul 2024.
Find pairs from list whose sum is equal to target
Iterate through the list and for each element, check if the target minus the element exists in a hashmap
If it exists, add the pair to the result list
If it doesn't exist, add the current element to the hashmap
posted on 24 Oct 2024
DSA - STRING AND ARRAY QUESTION
I applied via Walk-in and was interviewed in Feb 2024. There was 1 interview round.
I applied via Approached by Company and was interviewed before Apr 2022. There were 3 interview rounds.
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. It allows developers to run JavaScript on the server-side.
Node.js is event-driven and non-blocking I/O model.
It uses an event loop to handle asynchronous operations.
The event loop is a continuously running process that waits for events and executes callbacks.
Callbacks are functions that are called when an event occurs, such as a request completing ...
Event loop is a mechanism that allows Node.js to perform non-blocking I/O operations.
Event loop is a single-threaded loop that constantly checks for new events in the event queue.
It executes the callback functions associated with the events in the queue.
It allows Node.js to handle multiple requests simultaneously without blocking the execution of other requests.
It is responsible for managing the order of execution of t...
libuv is a multi-platform support library with a focus on asynchronous I/O.
libuv provides event loop, thread pool, timer, and file system APIs.
It is used by Node.js to handle I/O operations in a non-blocking way.
libuv abstracts the differences between operating systems and provides a consistent API.
It also supports network programming and inter-process communication.
Examples of libuv-based applications include Node.js,
Cluster is a group of processes that share the same resources while thread is a lightweight process that shares the same memory.
Cluster is used for scaling and load balancing while thread is used for improving performance.
Cluster can run on multiple machines while thread runs within a single process.
Cluster requires inter-process communication while thread does not.
Examples of cluster include PM2 and Node.js cluster mo...
Software Developer
1.5k
salaries
| ₹2.5 L/yr - ₹11 L/yr |
Senior Software Engineer
1.3k
salaries
| ₹5.4 L/yr - ₹24 L/yr |
Technical Lead
1.1k
salaries
| ₹10 L/yr - ₹33.8 L/yr |
Software Engineer
1.1k
salaries
| ₹2.5 L/yr - ₹10.5 L/yr |
Technical Specialist
1.1k
salaries
| ₹8 L/yr - ₹29 L/yr |
Accenture
Cognizant
Capgemini
Wipro