i
Seasia Infotech
Filter interviews by
Hooks are a new feature in React 16.8 that allow you to use state and other React features without writing a class.
Hooks are functions that let you use React state and lifecycle methods inside functional components
They allow you to reuse stateful logic across multiple components
useState is a hook that lets you add state to functional components
useEffect is a hook that lets you use lifecycle methods in functional compon...
Use useState hook to manage state in functional components
Import useState hook from React
Declare state variable using useState hook
Use state variable and setState function to update state
Pass state variable and setState function as props to child components if needed
useEffect is a hook in React that allows performing side effects in functional components.
useEffect is used to perform side effects in functional components.
It takes two arguments: a function and an array of dependencies.
The function is executed after every render cycle.
The array of dependencies is used to specify when the effect should be re-executed.
An empty array [] means the effect should only be executed once, on
Life cycle methods are functions that are invoked at various stages of a component's existence in React.Js.
There are three categories of life cycle methods: mounting, updating, and unmounting.
Mounting methods are called when a component is being created and inserted into the DOM.
Updating methods are called when a component is being re-rendered due to changes in its props or state.
Unmounting methods are called when a co...
Redux is a predictable state container for JavaScript apps.
Redux is a library for managing application state.
It provides a central store for all the state in an application.
State changes are made through actions, which are dispatched to the store.
Reducers are pure functions that take the current state and an action, and return the new state.
Selectors are functions that extract data from the state.
Middleware can be used...
Reducer is a pure function that takes the previous state and an action, and returns the new state in Redux.
Reducers specify how the application's state changes in response to actions sent to the store.
They are pure functions that take the previous state and an action, and return the new state.
Reducers should not modify the previous state, but return a new object if the state changes.
Redux uses a single root reducer fun...
Top trending discussions
posted on 3 May 2022
I applied via Company Website and was interviewed before May 2021. There were 3 interview rounds.
I have X years of experience in ____.
Worked with ____ for X years on various projects
Proficient in ____ with experience in developing complex applications
Have completed multiple courses and certifications in ____
Contributed to open-source projects in ____
I applied via Naukri.com and was interviewed before Apr 2021. There were 2 interview rounds.
SQL questions and query output.
posted on 7 Dec 2023
I applied via Naukri.com and was interviewed before Dec 2022. There were 5 interview rounds.
posted on 14 May 2024
I appeared for an interview before May 2023.
Encapsulation, Inheritance, Polymorphism, Abstraction are the 4 pillars of OOP
Encapsulation: Bundling data and methods that operate on the data into a single unit
Inheritance: Ability of a class to inherit properties and behavior from another class
Polymorphism: Ability to present the same interface for different data types
Abstraction: Hiding the complex implementation details and showing only the necessary features
Routing in MVC refers to the process of mapping URLs to controller actions in a web application.
Routing is the mechanism that directs incoming HTTP requests to the appropriate controller and action method in an MVC application.
Routes are defined in the RouteConfig.cs file in ASP.NET MVC applications.
Routes can be configured to include parameters that are passed to the controller action.
Routes can also include constrain...
posted on 8 Nov 2021
I applied via Recruitment Consultant and was interviewed in May 2021. There were 3 interview rounds.
Map object is an instance of Map class while map is a data structure that stores key-value pairs.
Map object is mutable while map is immutable
Map object can have any type of key while map keys are restricted to hashable types
Map object has methods like set(), get(), delete() while map has no such methods
Map object is used in object-oriented programming while map is used in functional programming
posted on 24 May 2021
Entity Framework is an Object-Relational Mapping (ORM) framework that enables developers to work with relational databases using .NET objects.
EF is a tool for creating data access layer in .NET applications
It allows developers to work with databases using C# or VB.NET code instead of SQL
EF supports LINQ queries and provides automatic change tracking
EF can generate database schema from code-first approach
EF can also gen...
Dependency injection is a design pattern used to remove hard-coded dependencies and make code more modular and testable.
Dependencies are injected into a class rather than being hard-coded
This allows for easier testing and swapping of dependencies
Commonly used in frameworks like Spring and Angular
Generics and collections are fundamental concepts in Java programming.
Generics allow for type safety and reusability of code.
Collections are data structures that store and manipulate groups of objects.
Examples of collections include ArrayList, LinkedList, and HashMap.
Generics can be used with collections to ensure type safety.
Collections provide methods for adding, removing, and accessing elements.
SQL injection is a type of cyber attack where malicious SQL statements are inserted into an entry field to manipulate the database.
SQL injection attacks exploit vulnerabilities in web applications that do not properly validate user input.
Attackers can use SQL injection to steal sensitive data, modify or delete data, or even take control of the entire database.
Preventing SQL injection involves using parameterized querie...
Security in REST API can be handled by implementing authentication, authorization, encryption, and input validation.
Implement authentication using tokens or OAuth2
Implement authorization by defining roles and permissions
Encrypt sensitive data using SSL/TLS
Validate input data to prevent injection attacks
Implement rate limiting to prevent DDoS attacks
SOAP is a protocol for exchanging structured information in the implementation of web services. REST is an architectural style for building web services.
SOAP stands for Simple Object Access Protocol
SOAP uses XML for message exchange
SOAP requires more bandwidth and processing power than REST
REST uses HTTP for communication
REST is more flexible and scalable than SOAP
RESTful APIs are easier to implement and maintain than
Table data can be retrieved in store procedures using SELECT statement.
Use SELECT statement to retrieve data from table in store procedures.
Specify the table name and columns to retrieve data from.
Use WHERE clause to filter data based on conditions.
Use ORDER BY clause to sort data based on column values.
An index in a table is a data structure that improves the speed of data retrieval operations.
Indexes are created on one or more columns of a table.
They allow for faster searching and sorting of data.
Indexes can be unique or non-unique.
Examples of indexes include primary keys, foreign keys, and clustered indexes.
Adding index on all columns in a table can slow down write operations and increase storage space.
Adding index on all columns can increase the storage space required for the table.
It can also slow down write operations as the index needs to be updated for every write operation.
It may improve read performance for queries that use all columns in the table.
It is generally not recommended to add index on all columns in a ta
A trigger is a piece of code that automatically executes in response to a specific event or change in a system.
Triggers are commonly used in databases to automatically perform actions when certain data is inserted, updated, or deleted.
Triggers can be used to enforce business rules, validate data, or perform complex calculations.
Examples of triggers include sending an email notification when a new record is added to a d...
Stored procedures are precompiled and can return multiple result sets, while functions are not precompiled and can only return a single value.
Stored procedures are used to perform a set of operations and can return multiple result sets.
Functions are used to perform a single operation and can only return a single value.
Stored procedures are precompiled and stored in the database, while functions are compiled at runtime.
...
Action filter is a feature in ASP.NET MVC that allows you to execute code before or after an action method is executed.
Action filters are attributes that can be applied to controller actions or globally to all actions in the application.
They can be used for authentication, caching, logging, exception handling, and more.
Examples of action filters include AuthorizeAttribute, OutputCacheAttribute, HandleErrorAttribute, an
Sequence of filters in software development
Define the problem and requirements
Choose appropriate filters based on the problem
Implement and test the filters in sequence
Refine and optimize the filters as needed
posted on 15 Aug 2024
I applied via Naukri.com and was interviewed in Jul 2024. There was 1 interview round.
posted on 7 Oct 2024
posted on 6 Mar 2025
Duration:45 min
Platform:Visual Studio Code
based on 1 review
Rating in categories
Software Developer
40
salaries
| ₹1.1 L/yr - ₹6.8 L/yr |
Associate Consultant
18
salaries
| ₹2.1 L/yr - ₹5 L/yr |
Senior Consultant
14
salaries
| ₹4.8 L/yr - ₹15.1 L/yr |
Team Lead
12
salaries
| ₹6 L/yr - ₹15.9 L/yr |
Machine Learning Engineer
11
salaries
| ₹1.8 L/yr - ₹4.8 L/yr |
Tekwissen
Softenger
XcelServ Solutions
Damco Solutions