Filter interviews by
CSS Sprite is a technique used to combine multiple images into a single image to reduce the number of server requests.
CSS Sprite helps in reducing loading time by reducing the number of HTTP requests.
It involves combining multiple images into one larger image and then using CSS to display only the portion of the image needed.
This technique is commonly used for icons, buttons, and other small images on websites.
By using...
I applied via Approached by Company and was interviewed in Aug 2022. There was 1 interview round.
SAS interview questions for designations
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 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 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 Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
Interface defines a contract for a class to implement while Abstraction hides the implementation details.
Interface is a blueprint of a class that defines what methods a class must implement.
Abstraction is a concept where only relevant information is shown and irrelevant details are hidden.
Interfaces can have multiple inheritance while Abstraction can be achieved through abstract classes or interfaces.
Example: Interface...
Data flows from frontend to backend in Asp.net core through HTTP requests and responses.
Frontend sends HTTP requests to backend API endpoints
Backend processes the requests and sends back HTTP responses
Data can be passed in the request body, query parameters, or headers
Example: Frontend sends a POST request to create a new user, backend receives the request, processes it, and sends a success response
Functions are reusable code blocks that return a value, while stored procedures are precompiled SQL statements that can perform multiple operations.
Functions return a value, while stored procedures do not necessarily return a value.
Functions can be used in SQL queries, while stored procedures are called using EXECUTE statement.
Functions are easier to test and debug compared to stored procedures.
Stored procedures can co...
posted on 14 Jul 2024
I applied via Naukri.com and was interviewed in Jun 2024. There were 3 interview rounds.
Yes, I have experience implementing server driven UIs.
Implemented server driven UIs using JSON responses to dynamically update UI elements
Worked with frameworks like React and Angular to handle server driven UI updates
Used server driven UIs to efficiently manage and display large amounts of data
Closure is a function that captures variables from its surrounding scope, allowing it to access those variables even after the scope has closed.
Closure allows a function to access variables from its lexical scope even after the function has finished executing.
Types of closures include lexical closures, which capture variables from the surrounding lexical scope, and function closures, which capture variables from the fu...
Core Data is a framework provided by Apple for managing the model layer objects in an iOS application.
Core Data is used for storing, retrieving, and managing data in an iOS app.
It provides an object-oriented interface to work with data.
Operations include creating, reading, updating, and deleting data.
Example: Creating a new record in Core Data for a user profile.
Example: Fetching a list of items from Core Data to displ
based on 6 reviews
Rating in categories
Senior Software Engineer
75
salaries
| ₹8 L/yr - ₹22 L/yr |
Software Specialist
72
salaries
| ₹13 L/yr - ₹26.7 L/yr |
Senior Software Developer
35
salaries
| ₹9 L/yr - ₹38.3 L/yr |
Senior Software Specialist
29
salaries
| ₹17.5 L/yr - ₹36 L/yr |
Senior Business Manager
29
salaries
| ₹29 L/yr - ₹94 L/yr |
IBM
Oracle
Salesforce
Accenture