Filter interviews by
I applied via Referral and was interviewed before Jan 2022. There were 4 interview rounds.
Prepare list with switch to select 2 tabs with details
Top trending discussions
posted on 17 Dec 2024
posted on 11 Mar 2024
I applied via Naukri.com and was interviewed in Feb 2024. There was 1 interview round.
I applied via Naukri.com and was interviewed in Jul 2022. There was 1 interview round.
Indexes are used to improve database performance. Clustered indexes determine the physical order of data, while non-clustered indexes do not.
Indexes are used to speed up data retrieval operations in a database.
Clustered indexes determine the physical order of data in a table, while non-clustered indexes do not.
A table can have only one clustered index, but multiple non-clustered indexes.
Clustered indexes are generally ...
Query to delete duplicate rows from a table
Use GROUP BY clause to group the rows by their unique values
Use HAVING clause to filter out the groups with count greater than 1
Use DELETE statement to delete the duplicate rows
Singleton pattern restricts the instantiation of a class to a single instance and provides a global point of access to it.
Create a private constructor to restrict instantiation of the class
Create a private static instance of the class
Create a public static method to access the instance
Ensure thread safety if necessary
Examples: Database connection, Logger, Configuration settings
Handle exceptions in stored procedures by using TRY-CATCH blocks.
Use TRY-CATCH blocks to catch and handle exceptions
Log the error message and severity level
Rollback the transaction if necessary
Rethrow the error if it cannot be handled
Use RAISERROR to raise custom error messages
SOLID principles are a set of five design principles that help in creating maintainable and scalable software.
S - Single Responsibility Principle: A class should have only one reason to change.
O - Open-Closed Principle: Software entities should be open for extension but closed for modification.
L - Liskov Substitution Principle: Subtypes should be substitutable for their base types.
I - Interface Segregation Principle: C...
throw is used to throw an exception while throw exception is used to throw a specific exception.
throw is used to throw any type of exception while throw exception is used to throw a specific type of exception.
throw exception is followed by the type of exception that needs to be thrown.
throw can be used to throw any object while throw exception can only be used to throw an exception object.
Example: throw new Exception("
posted on 12 May 2022
I applied via Naukri.com and was interviewed in Apr 2022. There were 3 interview rounds.
let, var, and const are all used to declare variables in JavaScript, but they have different scoping rules and behaviors.
let and const were introduced in ES6, while var has been around since the beginning of JavaScript.
let and const are block-scoped, while var is function-scoped.
Variables declared with const cannot be reassigned, while let and var can be.
const variables must be initialized when they are declared, while...
Scopes in JavaScript determine the accessibility of variables and functions.
Global scope: variables and functions declared outside any function are accessible globally
Local scope: variables and functions declared inside a function are only accessible within that function
Block scope: variables declared with let and const are only accessible within the block they are declared in
Function scope: variables declared with var...
Callback hell is a situation where nested callbacks make code unreadable. Promises are a solution to this problem.
Callback hell occurs when there are too many nested callbacks in asynchronous code
It makes the code difficult to read and maintain
Promises are a way to handle asynchronous operations without nested callbacks
Promises can be used to chain multiple asynchronous operations together
Promises have a resolve and re...
Express.js is a popular Node.js web framework used for building web applications. Body-parser is a middleware used to parse incoming request bodies.
Express.js is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.
It provides a way to handle HTTP requests and responses, routing, middleware, and more.
Body-parser is a middleware used to parse inc...
Arrow functions are a concise way to write functions in JavaScript.
They have a shorter syntax than traditional function expressions.
They do not have their own 'this' keyword.
They are not suitable for methods, constructors, or prototype methods.
Example: const add = (a, b) => a + b;
Example: const square = x => x * x;
Node.js is a server-side JavaScript runtime environment.
Node.js is built on top of the V8 JavaScript engine from Google Chrome.
It allows developers to write server-side code in JavaScript.
Node.js has a non-blocking I/O model, making it efficient for handling large amounts of data.
Node.js has a vast library of modules available through npm (Node Package Manager).
Passport.js is an authentication middleware for Node.js.
Passport.js provides a simple way to authenticate users with various authentication strategies such as local, OAuth, OpenID, etc.
It is highly customizable and can be integrated with any Node.js web application framework.
Passport.js maintains user sessions and provides a consistent API for authentication across different strategies.
Example: Using Passport.js with E...
Node is a runtime environment for executing JavaScript code, while Express is a web application framework built on top of Node.
Node provides the platform for running JavaScript code outside of a web browser
Express is a lightweight framework that simplifies building web applications on top of Node
Express provides features like routing, middleware, and templating that make it easier to build web applications
Node and Expr...
Node.js is single-threaded to optimize performance and simplify programming.
Node.js uses an event-driven, non-blocking I/O model.
This allows for efficient handling of multiple requests without creating new threads.
Node.js also uses a single event loop to manage all I/O operations.
This simplifies programming by eliminating the need for complex thread synchronization.
However, Node.js can still take advantage of multi-cor
Function hoisting is a JavaScript behavior where function declarations are moved to the top of their scope.
Function declarations are moved to the top of their scope during the compilation phase.
Function expressions are not hoisted.
Hoisting can lead to unexpected behavior and bugs if not understood properly.
Event loop is a mechanism that allows JavaScript to perform non-blocking I/O operations.
Event loop is a loop that constantly checks the message queue and executes the next message if there is any.
Phases are the different stages of the event loop, such as timers, I/O callbacks, idle, and poll.
Event loop is crucial for Node.js to handle multiple requests simultaneously without blocking the main thread.
Example: setTimeout...
I applied via Approached by Company and was interviewed in May 2022. There was 1 interview round.
I applied via Company Website
Aptitude + Coding Test
I applied via Company Website and was interviewed in Dec 2021. There were 5 interview rounds.
I suggested implementing a microservices architecture to improve scalability and maintainability.
Proposed breaking down the monolithic application into smaller, independent services
Suggested using containerization to improve deployment and scaling
Recommended implementing a service registry and discovery mechanism
Suggested using an API gateway to manage traffic and enforce security policies
posted on 10 Oct 2023
I applied via Job Portal and was interviewed before Oct 2022. There were 2 interview rounds.
Automated testing of a complex financial transaction system with multiple user roles and permissions
Created automated test scripts using Selenium to simulate different user roles accessing the system
Tested various scenarios such as fund transfers, account creation, and transaction history
Implemented data-driven testing to validate different input combinations and edge cases
Used API testing tools like Postman to verify ...
based on 1 interview
Interview experience
based on 1 review
Rating in categories
Software Engineer
35
salaries
| ₹1.2 L/yr - ₹10 L/yr |
Senior Software Engineer
21
salaries
| ₹5 L/yr - ₹14 L/yr |
Software Developer
10
salaries
| ₹4 L/yr - ₹11.3 L/yr |
Business Analyst
6
salaries
| ₹5.4 L/yr - ₹6.6 L/yr |
Front end Developer
6
salaries
| ₹9.2 L/yr - ₹20 L/yr |
Infosys
TCS
Wipro
HCLTech