Filter interviews by
Had to check if every opening bracket has a closing pair.
Node JS uses event-driven architecture and non-blocking I/O to handle multiple requests efficiently.
Node JS uses event loop to handle multiple requests by delegating I/O operations to the system kernel asynchronously.
It can process multiple requests concurrently without getting blocked by I/O operations.
Node JS leverages callbacks and Promises to manage asynchronous operations and ensure smooth execution of code.
Exampl...
Callback hell is a situation where multiple nested callbacks make the code difficult to read and maintain.
Occurs when multiple asynchronous operations are nested within each other
Leads to deeply nested code which is hard to read and debug
Can be avoided by using promises, async/await, or libraries like async.js
Currying is a technique in functional programming where a function with multiple arguments is transformed into a sequence of functions, each taking a single argument.
Currying helps in partial application of functions.
It allows for creating reusable functions with fixed parameters.
Example: const add = a => b => a + b; add(2)(3) returns 5.
Event loop is a mechanism that allows for asynchronous programming by handling events and callbacks.
Event loop is a single-threaded mechanism that processes tasks in a non-blocking way.
It continuously checks the event queue and executes the appropriate callback functions.
Commonly used in JavaScript for handling asynchronous operations like setTimeout, setInterval, and promises.
Middleware in express.js is a function that has access to the request and response objects, and can modify them or terminate the request-response cycle.
Middleware functions can perform tasks like logging, authentication, error handling, etc.
Middleware is added using app.use() method before defining routes.
Middleware functions can also be added locally to specific routes using app.use() before the route handler.
Example:...
Top trending discussions
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
Custom hooks in React are reusable functions that allow you to extract component logic into separate functions for better code organization and reusability.
Custom hooks are created using the 'use' prefix and can be used to share logic between components.
Use cases for custom hooks include fetching data from an API, handling form state, managing local storage, and more.
Example of a custom hook for API call: const useFetc...
useMemo is used to memoize a value, while useCallback is used to memoize a function.
useMemo is used to memoize a value and recompute it only when its dependencies change.
useCallback is used to memoize a callback function and prevent unnecessary re-renders.
Example: useMemo can be used to memoize the result of a complex computation, while useCallback can be used to memoize an event handler function.
Class-based components use ES6 classes and have lifecycle methods, while functional components are simpler and use functions.
Class-based components use ES6 classes to create components, while functional components are created using functions.
Class-based components have lifecycle methods like componentDidMount and componentDidUpdate, while functional components do not.
Functional components are simpler and more lightweig...
Implementing the lifecycle of a React component in a functional component
Use the useEffect hook to replicate lifecycle methods like componentDidMount, componentDidUpdate, and componentWillUnmount
Pass an empty array as the second argument to useEffect to mimic componentDidMount
Pass a variable or state as the second argument to useEffect to mimic componentDidUpdate
Return a cleanup function inside useEffect to mimic compo
Various state management techniques in React include Context API, Redux, and local state.
Context API: React's built-in solution for passing data through the component tree without having to pass props down manually at every level.
Redux: A popular state management library for React applications, allowing for a centralized store to manage application state.
Local state: Managing state within individual components using us
Redux is a predictable state container for JavaScript apps. Middlewares are functions that intercept actions before they reach the reducer.
Redux follows a unidirectional data flow architecture.
Middlewares in Redux are functions that can intercept, modify, or dispatch actions.
Common use cases for middlewares include logging, asynchronous API calls, and handling side effects.
Examples of popular Redux middlewares are Redu...
Hoisting in JavaScript is the behavior where variable and function declarations are moved to the top of their containing scope during the compilation phase.
Variable declarations are hoisted to the top of their scope, but not their initializations.
Function declarations are fully hoisted, meaning they can be called before they are declared.
Hoisting can lead to unexpected behavior if not understood properly.
Event bubbling is the propagation of events from the target element up through its ancestors in the DOM tree.
Events triggered on a child element will 'bubble up' and trigger on parent elements.
Event listeners can be attached to parent elements to handle events from multiple child elements.
Stopping event propagation can be done using event.stopPropagation() or event.stopImmediatePropagation().
Block scope and function scope are two types of scopes in JavaScript that determine the visibility and accessibility of variables.
Block scope refers to the visibility of variables within a block of code enclosed by curly braces. Variables declared with 'let' and 'const' have block scope.
Function scope refers to the visibility of variables within a function. Variables declared with 'var' have function scope.
Variables de...
Yes, I have experience working with semantic tags in HTML.
Used semantic tags like <header>, <nav>, <main>, <section>, <article>, <aside>, <footer> for better structure and SEO.
Understand the importance of using semantic tags for accessibility and search engine optimization.
Semantic tags help in organizing content and making it more readable for developers and browsers.
Various methods for creating an object in JavaScript include object literals, constructor functions, ES6 classes, and Object.create() method.
Object literals: var obj = { key: value };
Constructor functions: function ObjectName() { this.key = value; } var obj = new ObjectName();
ES6 classes: class ClassName { constructor() { this.key = value; } } var obj = new ClassName();
Object.create() method: var obj = Object.create(pr
Shallow copy only copies the references of nested objects, while deep copy creates new copies of nested objects.
Shallow copy creates a new object but does not create copies of nested objects, only copies their references.
Deep copy creates a new object and also creates new copies of all nested objects.
Shallow copy can be achieved using Object.assign() or spread operator, while deep copy can be achieved using JSON.parse(
The code will throw an error because 'a' is declared but not initialized.
The code will result in a ReferenceError because 'a' is declared but not assigned a value.
Variables declared with 'const' must be initialized at the time of declaration.
Initializing 'a' with a value before calling test() will prevent the error.
CSS can be used to arrange elements in a row and column layout using flexbox or grid layout properties.
Use display: flex; for a row layout and display: flex; flex-direction: column; for a column layout
Use justify-content and align-items properties to align items in the main axis and cross axis respectively
For grid layout, use display: grid; and grid-template-columns or grid-template-rows to define the layout
Yes, I have utilized CSS preprocessors such as SASS and LESS.
I have experience using SASS to streamline my CSS workflow by utilizing variables, mixins, and nesting.
I have also worked with LESS to improve code organization and maintainability through features like variables and functions.
The color applied will be based on the specificity of the selector, with ID having higher specificity than class.
ID has higher specificity than class in CSS
Color applied will be based on the selector with higher specificity
Example: If ID selector has color red and class selector has color blue, the color applied will be red
I applied via Company Website and was interviewed in Oct 2024. There were 2 interview rounds.
Pricing Rule & Product Rule are mathematical concepts used in calculus to find derivatives of functions.
Pricing Rule is used to find the derivative of a function that involves a product of two functions.
Product Rule is used to find the derivative of a function that involves the product of two functions.
Pricing Rule: (f(x)g(x))' = f'(x)g(x) + f(x)g'(x)
Product Rule: (fg)' = f'g + fg'
Option constraints are restrictions placed on the values that can be assigned to an option in a software system.
Option constraints define the valid range of values for an option.
They can include minimum and maximum values, allowed data types, and specific values.
For example, an option for selecting a color may have constraints that limit the choices to 'red', 'blue', or 'green'.
Configuration attributes are settings that define the behavior of a software system.
Configuration attributes can include parameters such as database connection strings, logging levels, and feature toggles.
They are typically stored in configuration files or databases.
Changing configuration attributes can alter the behavior of the software without modifying its code.
Configuration attributes are used to customize the soft...
Record Triggered Flow is a type of Flow in Salesforce that is triggered when a record is created or updated.
Record Triggered Flow is used to automate processes in Salesforce based on changes to records.
It can be set to run before or after the record is saved.
Record Triggered Flow can access and update related records as well.
It is a powerful tool for automating complex business processes in Salesforce.
MDQ (Multi Dimensional Quote) is a tool used in software development to estimate the effort required for a project by considering multiple dimensions.
MDQ takes into account various factors such as complexity, team experience, technology stack, and project scope.
It helps in providing a more accurate estimation of the time and resources needed for a project.
For example, a project with a high complexity level and a new te...
Pricing waterfall is a method used to analyze and optimize pricing strategies by breaking down the pricing process into different components.
Pricing waterfall helps in understanding the impact of various factors on pricing decisions.
It involves analyzing costs, competition, customer demand, and other market factors to determine the optimal pricing strategy.
Examples of components in a pricing waterfall include fixed cos...
A discount schedule is a set of rules or guidelines that determine the amount of discount a customer receives based on various factors.
Discount schedules can be based on factors such as quantity purchased, customer loyalty, or promotional events.
For example, a discount schedule may offer a 10% discount for purchases of 10 items or more.
Another example could be a loyalty program where customers receive increasing discou...
Different pricing methods include cost-plus pricing, value-based pricing, competition-based pricing, and dynamic pricing.
Cost-plus pricing involves adding a markup to the cost of production.
Value-based pricing sets prices based on the perceived value to the customer.
Competition-based pricing involves setting prices based on competitors' prices.
Dynamic pricing adjusts prices in real-time based on demand and other factor
CPQ offers multiple products including Configure, Price, Quote, Contract Management, and Billing.
Configure: Allows users to customize products based on customer needs
Price: Calculates pricing based on configurations and discounts
Quote: Generates quotes for customers based on configured products
Contract Management: Manages contracts and agreements with customers
Billing: Handles invoicing and payment processing
QCP is a software plugin used for calculating quotes for products or services.
QCP is a tool used in sales or e-commerce platforms to provide accurate pricing information to customers.
It can factor in variables such as quantity, discounts, taxes, and shipping costs to generate a final quote.
QCP can be customized to fit the specific pricing structure and rules of a business.
Examples of QCP include plugins for online shop...
Special Field in CPQ refers to a custom field that is unique to a specific use case or industry.
Special fields can be used to capture industry-specific data or unique requirements.
Examples include fields for pricing rules in the manufacturing industry or contract terms in the telecommunications industry.
Yes, I have worked on Amendment. It involves making changes to existing software code or documentation.
Amendment involves modifying existing code or documentation to improve functionality or fix issues.
Examples include updating a software feature to meet new requirements, fixing bugs in the code, or enhancing performance.
Amendment may also involve revising documentation to reflect changes made to the software.
Renewal in CPQ refers to the process of renewing a contract or subscription for a product or service.
Renewal in CPQ involves generating a renewal quote for an existing contract or subscription.
The renewal flow typically includes reviewing the terms of the existing contract, making any necessary adjustments, and generating a new quote for the renewed contract.
Customers may have the option to renew their contract for a s...
Quote to Cash Flow is the process of generating revenue from the initial quote to the final payment.
Quote to Cash Flow involves the entire sales process from creating a quote for a product or service to receiving payment for that product or service.
It includes activities such as quoting, invoicing, order fulfillment, and payment collection.
The goal of Quote to Cash Flow is to streamline the sales process and improve ca...
Package level setting refers to configuration settings that apply to an entire package of software components.
Package level settings are configuration options that affect all components within a software package.
These settings are typically defined at the package level and apply globally.
Examples include setting default values for variables, defining access control rules, or specifying logging levels.
Package level sett...
Bundle product is a group of related products sold together, while nested bundle is a bundle within a bundle.
Bundle product is a collection of multiple products sold together as a single unit.
Nested bundle is a bundle that contains another bundle within it.
Example: A laptop bundle may include a laptop, a laptop bag, and a mouse. Within this bundle, there could be a nested bundle for extended warranty options.
Guided selling is a sales technique where the salesperson guides the customer through the buying process, offering personalized recommendations and advice.
Involves salesperson providing personalized recommendations to customers
Helps customers make informed decisions during the buying process
Often used in e-commerce websites to suggest products based on customer preferences
Usages based product refers to a pricing model where customers are charged based on their usage of the product or service.
Customers are charged based on the amount or frequency of their usage.
Common in industries like cloud computing, SaaS, and utilities.
Examples include pay-as-you-go cloud services, metered electricity usage, and usage-based insurance.
Batch APEX is a feature in Salesforce that allows developers to process records in bulk using Apex code.
Batch APEX is used to handle large volumes of data in Salesforce.
It is commonly used for tasks like data cleansing, data migration, and data processing.
Batch APEX classes implement the Database.Batchable interface and are executed asynchronously.
Developers can monitor and manage Batch APEX jobs through the Salesforce
I applied via Referral and was interviewed in Oct 2024. There was 1 interview round.
Java 8 introduced several new features including lambda expressions, streams, and functional interfaces.
Lambda expressions: Allow for more concise and readable code by enabling functional programming.
Streams: Provide a way to work with collections of objects in a more functional style.
Functional interfaces: Interfaces with a single abstract method, used to enable lambda expressions.
Optional class: Helps to avoid null p...
Spring boot annotations are used to simplify the development process by providing metadata to the Spring framework.
1. @SpringBootApplication - Main annotation to indicate the main class of a Spring Boot application.
2. @RestController - Annotation for RESTful web services.
3. @Autowired - Dependency injection annotation.
4. @GetMapping, @PostMapping, @PutMapping, @DeleteMapping - Annotations for mapping HTTP requests to c...
String Builder is not synchronized and faster, while String Buffer is synchronized and slower.
String Builder is not thread-safe, while String Buffer is thread-safe.
String Builder is faster due to lack of synchronization, while String Buffer is slower due to synchronization.
String Builder is recommended for single-threaded operations, while String Buffer is recommended for multi-threaded operations.
String pool is a storage area in memory where strings are stored to optimize memory usage by reusing common strings.
String pool helps in reducing memory usage by storing only one copy of each unique string.
Strings created using double quotes are stored in the string pool.
Strings created using new keyword are not stored in the string pool.
There are two main types of memory in a computer system: stack memory and heap memory.
Stack memory is used for static memory allocation and is managed by the compiler. It is typically faster but limited in size.
Heap memory is used for dynamic memory allocation and is managed by the programmer. It is slower but has a larger size.
Examples: C programming language uses stack memory for function calls and heap memory for dy
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
I applied via Job Fair and was interviewed in Dec 2024. There was 1 interview round.
I applied via Company Website and was interviewed in Dec 2024. There was 1 interview round.
Use a subquery to find the second highest rank in a dataset.
Use a subquery to select the maximum rank from the dataset.
Then use another subquery to select the maximum rank that is less than the maximum rank found in the first subquery.
A simple program using modulo operator to determine if a number is odd or even.
Use the modulo operator (%) to check if the number divided by 2 leaves a remainder
If the remainder is 0, the number is even. If the remainder is 1, the number is odd
Example: num % 2 == 0 (even), num % 2 == 1 (odd)
I applied via Job Portal
Use SQL query with GROUP BY and HAVING clause to find duplicates in a table.
Use GROUP BY clause to group rows with same values
Use HAVING clause to filter out groups with count greater than 1
Example: SELECT column_name, COUNT(*) FROM table_name GROUP BY column_name HAVING COUNT(*) > 1
Angular is a popular open-source front-end web application framework developed by Google.
Angular is used for building dynamic web applications.
It allows for the creation of single-page applications.
Angular uses TypeScript for building applications.
It provides features like data binding, dependency injection, and routing.
Angular has a large community and ecosystem of libraries and tools.
Examples: AngularJS, Angular 2, A
Routing is the process of selecting a path for network traffic to travel from source to destination.
Routing involves determining the best path for data packets to travel through a network
Routers use routing tables to make decisions on where to send data packets
Routing protocols like OSPF and BGP help routers communicate and update routing information
There are various types of forms, such as physical forms, digital forms, legal forms, etc.
Physical forms: Paper-based forms that are filled out by hand.
Digital forms: Electronic forms that are filled out online or through software.
Legal forms: Forms used for legal purposes, such as contracts or agreements.
Lazy loading in Angular is a technique used to load modules only when they are needed, improving performance by reducing initial load time.
Lazy loading helps in reducing the initial bundle size of the application by loading modules asynchronously.
It improves the performance of the application by only loading the modules that are required at a particular time.
Lazy loading is achieved by using the loadChildren property i...
The rxjs operator in Angular is used for reactive programming and handling asynchronous data streams.
RxJS operators are functions that build on the observables foundation to enable sophisticated manipulation of asynchronous data streams.
Operators can be used to filter, transform, combine, and more on observables.
Example: map(), filter(), mergeMap(), switchMap()
Testing frameworks are tools that help automate the process of testing software applications.
Testing frameworks provide a structure for writing and executing test cases.
They offer features like test data management, test case organization, and reporting.
Examples include JUnit for Java, NUnit for .NET, and pytest for Python.
To load an Angular application, you can use the Angular CLI command 'ng serve' to start a development server.
Use the Angular CLI command 'ng serve' to start a development server
Navigate to the project directory in the terminal and run 'ng serve'
Open a web browser and go to 'http://localhost:4200/' to view the application
based on 1 review
Rating in categories
Technical Lead
7
salaries
| ₹14.5 L/yr - ₹37 L/yr |
Senior Software Engineer
6
salaries
| ₹16 L/yr - ₹19.4 L/yr |
Cloud Automation Engineer
6
salaries
| ₹15.8 L/yr - ₹22.6 L/yr |
Software Engineer
3
salaries
| ₹10.5 L/yr - ₹17 L/yr |
Scrum Master
3
salaries
| ₹18.5 L/yr - ₹24 L/yr |
TCS
Accenture
Wipro
Cognizant