i
Deqode
Filter interviews by
I was interviewed in Mar 2023.
SOLID principles are a set of five design principles for writing maintainable and scalable code.
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: Clients should ...
Action filters are attributes that can be applied to controller actions to modify the way they execute.
Action filters are used to perform tasks before or after an action method executes.
They can be used to modify the result of an action method or to cancel the execution of an action method.
Examples of action filters include Authorization filters, Exception filters, and Result filters.
ES6 introduced several new features and improvements to JavaScript, making it more powerful and efficient.
Arrow functions for more concise syntax
Let and const for block-scoped variables
Classes for easier object-oriented programming
Template literals for easier string interpolation
Default parameters and rest parameters for function arguments
Destructuring assignment for easier data extraction
Promises for asynchronous prog
Yes, let and const variables are hoisted but not initialized.
let and const variables are hoisted to the top of their block scope, but they are not initialized until the actual line of code is executed.
This means that you cannot access a let or const variable before it is declared in the code.
For example, trying to access a let variable before it is declared will result in a ReferenceError.
Global context refers to the overall environment or setting in which something exists or operates.
Global context encompasses all variables, functions, and objects that are accessible throughout an entire program.
It can be thought of as the 'big picture' view of a program's execution.
In web development, global context includes the window object in JavaScript.
Temporal dead zone is a period during the variable creation process where accessing the variable results in a ReferenceError.
Occurs when trying to access a variable before it has been declared with let or const
Happens due to the variable being in the temporal dead zone until it is declared
Example: accessing a variable before its declaration will result in a ReferenceError
Modules in Node.js are reusable blocks of code that encapsulate related functionality.
Modules in Node.js can be built-in modules like fs (file system) or third-party modules like express.
Modules help in organizing code into separate files for better maintainability and reusability.
Modules can be imported using the require() function in Node.js.
Indexes in MongoDB improve query performance by allowing the database to quickly locate and retrieve specific documents.
Indexes help to speed up query performance by allowing the database to quickly locate specific documents based on the indexed fields.
Without indexes, MongoDB would have to perform a collection scan, which can be slow and resource-intensive.
Indexes can be created on single fields or compound fields to ...
Hooks are a feature in React that allow you to use state and other React features in functional components. useRef is a hook that allows you to create a mutable object that persists for the lifetime of the component.
Hooks are used to add state and lifecycle methods to functional components in React
useRef is used to create a mutable reference that persists between renders
useRef can be used to access DOM elements directl
Mongoose is an Object Data Modeling (ODM) library for MongoDB that provides a higher level of abstraction and simplifies interactions with the database.
Mongoose provides schema validation which helps maintain data integrity.
Mongoose simplifies querying and data manipulation with built-in functions.
Mongoose supports middleware functions for pre and post processing of data operations.
posted on 16 Dec 2024
I applied via Campus Placement and was interviewed in Nov 2024. There were 2 interview rounds.
The aptitude test was relatively straightforward, consisting of both aptitude and technical questions, with a difficulty level ranging from easy to medium.
I applied via Company Website and was interviewed in Jul 2024. There were 2 interview rounds.
posted on 13 Aug 2024
I applied via Referral and was interviewed in Jul 2024. There was 1 interview round.
Single page application is a web application that loads a single HTML page and dynamically updates the content as the user interacts with the app.
SPA uses AJAX and HTML5 to create fluid and responsive user experience.
It eliminates the need for page reloading during use, making it faster and more efficient.
Examples include Gmail, Facebook, and Google Maps.
State management is the process of managing the state of an application, including data flow, user interface updates, and user interactions.
State management involves storing and updating the state of an application to ensure data consistency.
It helps in managing user interface updates based on changes in the application state.
State management is crucial for handling user interactions and maintaining a seamless user exp...
I applied via LinkedIn and was interviewed in Sep 2024. There was 1 interview round.
The aptitude test was of moderate level.
It checked on the concepts of oops
I will prioritize tasks, communicate effectively with team members, and utilize time management techniques to meet deadlines.
Prioritize tasks based on importance and urgency
Break down tasks into smaller manageable chunks
Communicate effectively with team members to coordinate efforts
Utilize time management techniques such as Pomodoro technique or Agile methodologies
Identify and eliminate any potential roadblocks or bott...
I applied via Job Portal
useCallback and useMemo are hooks in React used for performance optimization.
useCallback is used to memoize a function and prevent unnecessary re-renders.
useMemo is used to memoize a value and prevent unnecessary re-computations.
Both hooks are used to optimize performance by reducing unnecessary re-renders and re-computations.
useCallback is useful when passing down functions to child components.
useMemo is useful when c...
Async/await is a syntactic sugar over Promises in JavaScript.
Async/await makes asynchronous code look and behave like synchronous code.
Promises are objects that represent the eventual completion or failure of an asynchronous operation.
Async/await is easier to read and write than Promises.
Async/await can only be used in functions that are marked as async.
Promises can be used anywhere in the code.
Classes are reference types while structs are value types.
Classes support inheritance while structs do not.
Classes have default access modifier as internal while structs have it as private.
Classes have a destructor while structs do not.
Classes are allocated on heap while structs are allocated on stack.
Classes can be null while structs cannot.
Dispatch Queue is a thread-safe way to execute tasks asynchronously, while Operations are a way to encapsulate tasks.
Dispatch Queue is a high-level API for managing concurrent operations.
Operations are objects that encapsulate a single task or multiple tasks.
Dispatch Queue is simpler to use and recommended for most use cases.
Operations provide more control over task dependencies and cancellation.
Both can be used togeth
based on 8 reviews
Rating in categories
Solution Engineer
195
salaries
| ₹4 L/yr - ₹14.2 L/yr |
Senior Solution Engineer
106
salaries
| ₹7.3 L/yr - ₹22 L/yr |
Software Engineer
39
salaries
| ₹3.5 L/yr - ₹15 L/yr |
Softwaretest Engineer
26
salaries
| ₹3.4 L/yr - ₹4.9 L/yr |
Devops Engineer
20
salaries
| ₹3.6 L/yr - ₹11.5 L/yr |
TCS
Infosys
Wipro
HCLTech