Infosys Interview Questions For DotNet Professionals



In this article I am going to share my interview experience with Infosys as a dot net developer. This post covers most of the interview questions asked by the interviewer. If you are going to attend any dot net interview, I recommend you to go through this article. It covers the basic dot net interview questions too. I hope you will fine this post useful.

You can read another series of interview questions here : Interview Questions For Software Engineers


On August 18, 2014 I attended an interview with Infosys, Chennai. When I entered the compound, there were many candidates. The atmosphere and culture in Infosys was very nice. I have attended many interviews in my life, but the interview with Infosys was something different. I thought to share that experience with you all.

Points to be remember

There are some mistakes I made in the interview, and I don’t want you to do the same.

  • Please ensure that you are maintaining eye contact with the interviewer.
  • Be confident of what you say. Don’t change your answer if the interviewer tries to make you do so.
  • Please avoid the unwanted examples.
  • Please never use any other technical terms that may provoke the interviewer into asking questions about it.
  • If you don’t know the answer, please say “I don’t know”. It is always better to say so instead of going with the wrong answer.

You can find more tips here: How to Prepare for a Job Interview

Questions asked and answers

(Here I am giving the answers that I answered .)

Question 1: Tell me about yourself?

Answer: You can find many answers to this question in the internet. Please see the following link:

Tell me about yourself

Question 2: What is your role in your project? What is the team size?

Answer: I said “My main role is coding, unit testing, big fixing and maintenance. My team size is 7”.

Question 3: What is the hierarchy of your team?

Answer: First I was confused by this question. Then I answered “Project Manager, Team Leader, Software Engineers, Trainees”.

Question 4: Describe the projects that you have worked on?

Answer: I described them. Please include the technologies you used in your projects and what kind of architecture (for example: 3-tire, n- tier) you used.

Question 5: What is the employee size in your company? You don’t need to be accurate. You can provide the approximate value.

Answer: I said “150 to 200”.

Then he moved to the programming section.

Question 6: Write an algorithm and program to determine whether or not a word is a palindrome.

We can do it in either of the following two ways

  • Using a built-in function as in the following

Ref: To check string is palindrome or not in .NET (C#)

  • Without using a built-in function

When I wrote the first program, the interviewer asked me to write the same without using a built-in function.

Ref: You can find more here: C# Palindrome

Question 7: Write a program to determine the count of a specific character in a string.


Please see this for more suggestions: count the number of characters in a string.

Question 8: Next he gave me a program like the following and asked me what the output of this will be?

Answer: I said “Here we have a constructor A; a constructor should not have a return type. So the code above will throw a compilation error.”

Question 9: What may be the output of the following program?

Answer: I said the output will be as preceding.

Hi you are in class A

Hi you are in class B

Even though you are creating an object of the derived class, it will invoke the base class first.

Question 10: Write the output of the following program?

Answer: It will throw a compilation error. B does not contain a constructor that takes 1 argument. If you want to make this program run, you must create a constructor with parameters for class B also.

Question 11: Abstract and interface real time examples.

Answer: Please read it here: Real time example of interface

Question 12: Describe authentication, types, differences?

Answer: Forms, Windows, Passport. Please read more here: ASP.NET authentication and authorization

Question 13: Why DBMS? Why don’t we save data in separate files?

Answer: I didn’t know what exactly he meant, I got stuck there for a while. Finally I came up with the answer that “Normalization” is the main advantage of a DBMS.

Read more here: Why use a DBMS?

Question 14: What is the differences between a Primary key and a Unique key?

Answer: Primary key doesn’t allow NULL, a unique key does.

Question 15: What exactly is happening when we make a field a primary key?

Answer: A clustered index will be created for that specific field.

Question 16: How may clustered index we can create in table?

Answer: Basically we can create only one clustered index, but there is a way to have more. Please read here: Only one clustered index can be created on table . (Visual Database Tools)

Question 17: What is the difference between a clustered and a non-clustered index?

Answer: I explained, please read here: Clustered and Non-Clustered Index in SQL 2005

Question 18: What is a Distributed System?

Answer: A collection of autonomous computers. Find out more

Distributed System
Distributed System

Image Courtesy : MSDN

Question 19: What will be the output for the below mentioned lines in JQuery?

That was little tricky at that time. For a while I thought, and I just wrote the question to a paper, and replied.

Hmmm finally he said “You are selected for the next round” 🙂

Next was the direct HR round. That was a simple round. He just asked me to fill in some forms. And then, after a week they sent me an Offer Letter 🙂


Did I miss anything that you may think which is needed? Could you find this post as useful? I hope you liked this article. Please share me your valuable suggestions and feedback. The questions and answers mentioned may or may not ask in your interview. So please refer all the interview questions and answers from all the experts :). Be prepared. I wish you Good Luck .

Your turn. What do you think?

A blog isn’t a blog without comments, but do try to stay on topic. If you have a question unrelated to this post, you’re better off posting it on C# Corner, Code Project, Stack Overflow, Asp.Net Forum instead of commenting here. Tweet or email me a link to your question there and I’ll definitely try to help if I can.

Kindest Regards
Sibeesh Venu