i
Infosys
Filter interviews by
SOLID principles are a set of five design principles that help developers create more 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: Objects of a superclass should be replaceable with objects of its subclasses with...
Sealed class is used to prevent inheritance and ensure that the class cannot be extended.
Prevents inheritance, ensuring that the class cannot be extended
Helps in maintaining code integrity and security
Used when a class is not intended to be inherited or overridden
Types of constructors include default, parameterized, copy, and static constructors.
Default constructor has no parameters
Parameterized constructor takes one or more parameters
Copy constructor creates a new object as a copy of an existing object
Static constructor is used to initialize static data members
ASP.NET Core is a cross-platform, high-performance framework for building modern, cloud-based, internet-connected applications.
Cross-platform support allows development on Windows, macOS, and Linux
High performance with improved speed and scalability
Modular design for flexibility and easy maintenance
Built-in dependency injection for better code organization
Support for Docker containers for easy deployment
Startup file is a configuration file in ASP.NET that specifies settings and behavior for the application.
Startup file is typically named 'Startup.cs' in ASP.NET Core projects.
It contains configuration for services, middleware, and the request processing pipeline.
The 'ConfigureServices' method is used to add services to the dependency injection container.
The 'Configure' method is used to configure the HTTP request pipel...
API lifetimes refer to the duration for which an API is available and supported.
API lifetimes can vary depending on the service provider or platform.
Some APIs may have a limited lifetime and be deprecated after a certain period.
Developers should be aware of API lifetimes to plan for potential changes or updates.
Regularly check for updates or announcements regarding API lifetimes to stay informed.
Transient objects are created each time they are requested, while scoped objects are created once per request.
Transient objects are created every time they are requested, leading to potentially higher memory usage.
Scoped objects are created once per request and are shared within the scope of that request.
Example: Transient objects are typically used for lightweight services, while scoped objects are used for services t
I applied via Company Website and was interviewed in May 2024. There were 2 interview rounds.
Dependency injection is a design pattern in which a class receives its dependencies from external sources rather than creating them itself.
Allows for better code reusability and testability
Promotes loose coupling between classes
Commonly used in ASP.NET Core for managing services and components
RESTful APIs are a type of web service that follows the principles of REST (Representational State Transfer) architecture.
RESTful APIs use standard HTTP methods like GET, POST, PUT, DELETE to perform CRUD operations on resources.
They are stateless, meaning each request from a client to the server must contain all the information necessary to understand the request.
RESTful APIs typically return data in JSON or XML forma...
Stored procedures are precompiled SQL queries stored in a database for reuse.
Stored procedures are used to improve performance by reducing the need to send multiple queries to the database server.
They can be parameterized to accept input values and return results.
Stored procedures can contain logic and business rules, making them reusable and secure.
Examples include procedures for inserting, updating, and deleting data
I applied via Recruitment Consulltant and was interviewed in Apr 2024. There was 1 interview round.
View state is a hidden field on an ASP.NET web page that stores state information.
View state is used to persist page and control state across postbacks.
It is stored as a hidden field on the page and is encrypted by default.
View state can be disabled to improve performance, but it may lead to loss of state information.
View state is used to persist the state of a web form across postbacks in ASP.NET.
View state can be enabled or disabled at the page level or control level.
Different types of view state include enabled, disabled, and encrypted.
View state can be used to store values of controls on a web form between postbacks.
I applied via Noukari.com and was interviewed in Feb 2024. There were 3 interview rounds.
Basic Opps and technical questions related to ASP.Net Core
Infosys interview questions for designations
I applied via Infosys and was interviewed in Sep 2022. There were 2 interview rounds.
MVC models are a design pattern for web applications. Action Listeners are used to handle user input.
MVC stands for Model-View-Controller
Model represents the data and business logic
View is the user interface
Controller handles user input and updates the model and view
Action Listeners are used in GUI programming to handle user input events
For example, a button click can trigger an Action Listener to perform a specific ac
Get interview-ready with Top Infosys Interview Questions
I applied via Naukri.com and was interviewed in Jan 2022. There were 4 interview rounds.
What people are saying about Infosys
I applied via Recruitment Consulltant and was interviewed in Mar 2024. There were 2 interview rounds.
Reverse a string
Rotate the array
LINQ query to retrieve data from a collection
Use 'from' to specify the data source
Use 'where' to filter the data
Use 'select' to define the shape of the result
Example: var result = from item in collection where item.Property == value select item;
SOLID is a set of five principles for writing clean, maintainable, and scalable object-oriented code.
Single Responsibility Principle (SRP) - A class should have only one reason to change.
Open/Closed Principle (OCP) - Classes should be open for extension but closed for modification.
Liskov Substitution Principle (LSP) - Objects of a superclass should be replaceable with objects of its subclasses without affecting the pro...
I applied via Naukri.com and was interviewed in Dec 2022. There were 2 interview rounds.
OOPs concepts in C# include inheritance, encapsulation, polymorphism, and abstraction.
Inheritance allows a class to inherit properties and methods from another class.
Encapsulation is the practice of hiding implementation details and exposing only necessary information.
Polymorphism allows objects of different types to be treated as if they are the same type.
Abstraction is the process of hiding complex implementation det...
Abstraction focuses on the outside view of an object while encapsulation deals with the internal workings of an object.
Abstraction is the process of hiding complex implementation details and showing only necessary information to the user.
Encapsulation is the process of wrapping data and methods into a single unit (class) and restricting access to the data from outside the class.
Abstraction is achieved through interface...
I applied via Naukri.com and was interviewed before Oct 2022. There were 2 interview rounds.
Delete vs Truncate, roles in previous project, garbage collector
Delete removes rows one by one, while truncate removes all rows at once
Roles in previous project may include developer, tester, project manager, etc.
Garbage collector in .NET automatically manages memory by reclaiming unused objects
1 Interview rounds
based on 3 reviews
Rating in categories
Technology Analyst
56k
salaries
| ₹3 L/yr - ₹11 L/yr |
Senior Systems Engineer
49.3k
salaries
| ₹2.8 L/yr - ₹9.2 L/yr |
System Engineer
38.8k
salaries
| ₹2.5 L/yr - ₹5.5 L/yr |
Technical Lead
30.6k
salaries
| ₹5.2 L/yr - ₹19.5 L/yr |
Senior Associate Consultant
27.1k
salaries
| ₹6.2 L/yr - ₹16.8 L/yr |
TCS
Wipro
Cognizant
Accenture