i
Infosys
Filter interviews by
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
Extension methods allow adding new methods to existing types without modifying the original type
Extension methods are static methods that can be called as if they were instance methods of the extended type
They are defined in static classes and must be in the same namespace as the extended type
They are commonly used to add functionality to existing types or interfaces without modifying them directly
Union combines and removes duplicates, Union All combines without removing duplicates.
Union removes duplicates from the result set, while Union All does not.
Union is slower than Union All because it has to perform an additional step to remove duplicates.
Union is used when you want to combine two result sets and remove duplicates, while Union All is used when you want to combine two result sets without removing duplicat
Constructor chaining is the process of calling one constructor from another constructor within the same class.
Allows for reusing code and avoiding duplication
Can be achieved using 'this' keyword in the constructor
Example: public MyClass(int x) : this(x, 0) {}
CTE stands for Common Table Expressions, which is a temporary result set that can be referenced within a SELECT, INSERT, UPDATE, or DELETE statement.
CTEs are defined using the WITH keyword in SQL.
They help improve readability and maintainability of complex queries.
CTEs can be recursive, allowing for hierarchical data querying.
Example: WITH CTE AS (SELECT * FROM table_name) SELECT * FROM CTE;
Example: WITH RECURSIVE CTE ...
A constructor is a special method in a class that is automatically called when an object of that class is created.
Constructors have the same name as the class they belong to.
They are used to initialize the object's state.
Constructors can be parameterized or default (no parameters).
Example: public class Person { public Person(string name) { this.Name = name; } }
Use bulk insert or batch processing to send large amounts of data through the database.
Use bulk insert operations provided by the database management system.
Consider using batch processing techniques to optimize performance.
Use stored procedures or parameterized queries for efficient data transfer.
I have used the MVC (Model-View-Controller) design pattern in my project.
Separates the application into three main components: Model, View, and Controller
Promotes code reusability, modularity, and maintainability
Example: ASP.NET MVC framework
Singleton pattern ensures a class has only one instance and provides a global point of access to it.
Characteristics include private constructor, static instance variable, static method to access instance, lazy initialization, and thread safety.
Example: public class Singleton { private static Singleton instance; private Singleton() {} public static Singleton getInstance() { if (instance == null) { instance = new Singlet
Use LINQ to fetch data from the 'students' table in ascending order of 'studentid'.
Use LINQ query syntax or method syntax to retrieve data from the 'students' table.
Order the data by 'studentid' in ascending order using the 'OrderBy' or 'OrderByDescending' method.
Ensure that the LINQ query is executed against the database to fetch the data.
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
OOPs (Object-Oriented Programming) is a programming paradigm based on the concept of objects, which can contain data and code.
OOPs focuses on creating reusable code and organizing it into classes and objects.
Key concepts include encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation involves bundling data and methods that operate on the data into a single unit.
Inheritance allows a class to inherit prop...
Routing is the process of selecting a path for network traffic to travel from source to destination.
Routing determines the best path for data packets to travel on a network
It involves making decisions based on routing algorithms and network protocols
Examples include IP routing in the internet and routing tables in routers
Clustered index physically orders the data in the table, while non-clustered index does not.
Clustered index determines the physical order of data in the table, while non-clustered index does not.
Clustered index is faster for retrieval of data, while non-clustered index is faster for retrieval of specific data.
Clustered index can only have one per table, while non-clustered index can have multiple per table.
Apti, reasoning and verbal communication
CLR stands for Common Language Runtime, it is the virtual machine component of Microsoft's .NET framework.
CLR is responsible for managing the execution of .NET programs.
It provides services such as memory management, exception handling, and security.
CLR compiles the intermediate language code into native code using Just-In-Time (JIT) compilation.
It allows different languages to be used within the .NET framework, as lon...
Kestrel is a cross-platform web server while IIS is a Windows-only web server.
Kestrel is a lightweight, open-source web server developed by Microsoft and optimized for ASP.NET Core applications.
IIS (Internet Information Services) is a full-featured web server developed by Microsoft for Windows servers.
Kestrel can be used as a standalone server or behind a reverse proxy like IIS or Nginx.
IIS provides additional features...
Oops concepts in C# include inheritance, polymorphism, encapsulation, and abstraction.
Inheritance allows a class to inherit properties and behavior from another class.
Polymorphism allows objects to be treated as instances of their parent class.
Encapsulation hides the internal state of an object and only exposes necessary functionality.
Abstraction allows classes to define abstract methods that must be implemented by sub
The main difference between .NET and .NET Core is that .NET Core is a cross-platform, open-source framework while .NET is a Windows-only framework.
NET Core is cross-platform and can run on Windows, macOS, and Linux, while .NET is limited to Windows.
.NET Core is open-source and has a more modular design compared to the monolithic .NET framework.
.NET Core is optimized for microservices and containerized applications.
Both...
Infosys interview questions for designations
I applied via Referral and was interviewed in Jul 2024. There were 2 interview rounds.
Get interview-ready with Top Infosys Interview Questions
I applied via Company Website and was interviewed in Aug 2024. There was 1 interview round.
Application pool is a group of one or more worker processes, IIS is a web server, hosting app in dev env involves setting up IIS, abstraction focuses on hiding implementation details, encapsulation bundles data and methods together, optimizing database involves indexing and query optimization, check for application crashes in event logs or monitoring tools.
Application pool is a group of one or more worker processes tha...
I applied via Naukri.com and was interviewed in May 2024. There was 1 interview round.
The function of an object is to store data and behavior related to a specific entity in a program.
Objects store data in the form of properties
Objects can have methods which define behavior
Objects can be used to model real-world entities like cars, employees, etc.
Objects can be instantiated from classes or created dynamically
Procedure is a set of instructions that performs a specific task, while function returns a value.
Procedure does not return a value, while function does.
Functions can be called from within SQL statements, while procedures cannot.
Functions can be used in SELECT, WHERE, and HAVING clauses, while procedures cannot.
Example: CREATE PROCEDURE myProcedure AS ... vs CREATE FUNCTION myFunction() RETURNS ...
Example: EXECUTE myPro
Aggregate functions perform a calculation on a set of values and return a single value.
Aggregate functions include functions like SUM, AVG, COUNT, MIN, and MAX.
They are commonly used in SQL queries to perform calculations on groups of rows.
For example, you can use the SUM function to calculate the total sales amount for a group of products.
readonly keyword is used in C# to declare that a field can only be assigned a value during initialization or in a constructor.
readonly keyword can only be used on fields, not properties.
The value of a readonly field can only be changed in the constructor of the class.
Using readonly fields can help ensure that certain values remain constant throughout the lifetime of an object.
I applied via Approached by Company and was interviewed in Oct 2024. There was 1 interview round.
MVC architecture is a software design pattern that separates an application into three main components: Model, View, and Controller.
Model represents the data and business logic of the application
View is responsible for displaying the data to the user
Controller acts as an intermediary between Model and View, handling user input and updating the Model accordingly
MVC helps in achieving separation of concerns, making the c
SQL joins are used to combine rows from two or more tables based on a related column between them.
Use INNER JOIN to return rows when there is at least one match in both tables
Use LEFT JOIN to return all rows from the left table, and the matched rows from the right table
Use RIGHT JOIN to return all rows from the right table, and the matched rows from the left table
Use FULL JOIN to return rows when there is a match in on
OOPs concepts are fundamental principles of object-oriented programming like Inheritance, Polymorphism, Encapsulation, and Abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Polymorphism: Ability of an object to take on many forms.
Encapsulation: Bundling of data with the methods that operate on that data.
Abstraction: Hiding the complex implementation details and showing only t
What people are saying about Infosys
2 Interview rounds
based on 17 reviews
Rating in categories
Technology Analyst
56.2k
salaries
| ₹3 L/yr - ₹11 L/yr |
Senior Systems Engineer
49.7k
salaries
| ₹2.8 L/yr - ₹8 L/yr |
System Engineer
39k
salaries
| ₹2.5 L/yr - ₹5.5 L/yr |
Technical Lead
30.7k
salaries
| ₹5.2 L/yr - ₹19.5 L/yr |
Senior Associate Consultant
27.1k
salaries
| ₹4.3 L/yr - ₹16.8 L/yr |
TCS
Wipro
Cognizant
Accenture