Introduction
Last week I attended an interview with Infosys, Chennai. When I entered the compound, there were very 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. 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.
- 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.
Questions asked and answers
Here I am giving the answers that I answered.
1. Tell me about yourself?
A. You can find many answers to this question in the internet. Please see the following link:
Tell me about yourself
2. What is your role in your project? What is the team size?
A. I said "My main role is coding, unit testing, bug fixing, and maintenance. My team size is 7".
3. What is the hierarchy of your team?
A. First I was confused by this question. Then I answered "Project Manager, Team Leader, Software Engineers, Trainees".
4. Describe the projects that you have worked on?
A. 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.
5. What is the employee size in your company? You don't need to be accurate. You can provide the approximate value.
A. I said "150 to 200".
Then he moved to the programming section.
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:
a) Using a built-in function as in the following:
- string strRev,strReal = null;
- Console.WriteLine("Enter the string..");
- strReal = Console.ReadLine();
- char[] tmpChar = strReal.ToCharArray();
- Array.Reverse(tmpChar);
- strRev=new string(tmpChar);
- if(strReal.Equals(strRev, StringComparison.OrdinalIgnoreCase))
- {
- Console.WriteLine("The string is pallindrome");
- }
- else
- {
- Console.WriteLine("The string is not pallindrome");
- }
- Console.ReadLine();
Ref: To check string is palindrome or not in .NET (C#)
b) 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.
- private static bool chkPallindrome(string strVal)
- {
- try
- {
- int min = 0;
- int max = strVal.Length - 1;
- while (true)
- {
- if (min > max)
- return true;
- char minChar = strVal[min];
- char maxChar = strVal[max];
- if (char.ToLower(minChar) != char.ToLower(maxChar))
- {
- return false;
- }
- min++;
- max--;
- }
- }
- catch (Exception)
- {
- throw;
- }
- }
Ref: You can find more here: C# Palindrome
7. Write a program to determine the count of a specific character in a string.
A.
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace FindCountCharOccurance
- {
- class Program
- {
- static void Main(string[] args)
- {
- string strOccur,strChar = null;
- Console.WriteLine("Enter the string in which you need to find the count of a char occurance");
- strOccur = Console.ReadLine();
- Console.WriteLine("Enter the char to be searched..");
- strChar = Console.ReadLine();
- int intCnt =strOccur.Length- strOccur.Replace(strChar, string.Empty).Length;
- Console.WriteLine("Count of occurance is "+intCnt);
- Console.ReadLine();
- }
- }
- }
Please see this for more suggestions: count the number of characters in a string.
8. Next he gave me a program like the following and asked me what the output of this will be.
- public class A
- {
- public int A()
- {
- Console.WriteLine("Hi you are in class A");
- }
- }
A. 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."
9. What may be the output of the following program?
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace RefClass
- {
- class Program
- {
- static void Main(string[] args)
- {
- B bObj= new B();
- Console.ReadLine();
- }
- }
- public class A
- {
- public A()
- {
- Console.WriteLine("Hi you are in class A");
- }
- }
- public class B:A
- {
- public B()
- {
- Console.WriteLine("Hi you are in class B");
- }
- }
- }
A. I said the output will be:
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.
10. Write the output of the following program.
- class Program
- {
- static void Main(string[] args)
- {
- B bObj= new B(2);
- Console.ReadLine();
- }
- }
- public class A
- {
- public A()
- {
- Console.WriteLine("Hi you are in class A");
- }
- public A(int x)
- {
- }
- }
- public class B:A
- {
- public B()
- {
- Console.WriteLine("Hi you are in class B");
- }
- }
A. 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 parameterized constructor for class B also.
11. Abstract and interface real time examples
B.Please read it here: Real time example of interface
12. Describe authentication, types, differences?
A. Forms, Windows, Passport. Please read more here: ASP.NET authentication and authorization
13. Why DBMS? Why don't we save data in separate files?
A. 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?
14. What is the differences between a Primary key and a Unique key?
A. Primary key doesn't allow NULL, a unique key does.
15. What exactly is happening when we make a field a primary key?
A. A clustered index will be created for that specific field.
16. How may clustered index we can create in table?
A. 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 <Tablename>. (Visual Database Tools)
17. What is the difference between a clustered and a non-clustered index?
A. I explained, please read here: Clustered and Non-Clustered Index in SQL 2005
18. What is a Distributed System?
A. A collection of autonomous computers.

Image Courtesy : http://msdn.microsoft.com/en-us/library/cc239737.aspx
- alert('5' + 5 + 5);
- alert(5 + 5 + '5');
- alert(5 + '5' + '5');
- alert(5 + '5' );
- alert('5' + 5 + 5); Output= 555
- alert(5 + 5 + '5'); Output=105
- alert(5 + '5' + '5'); Output=555
- alert(5 + '5' ); Output=55
Next was the direct HR round. That was a simple round. He just asked me to fill in some forms.
Finally they sent me an Offer Letter :)
Wish you good luck.
Please find the original article here.

Gowtham SelvamPosted Sep 30, 2022, 4:38 PM
DBMS or RDBMS have the normalization?
Barath Kumar MPosted Dec 12, 2020, 12:50 AM
Thanks for sharing :)
raghwendra chaubeyPosted Nov 8, 2018, 11:59 PM
Very useful. Thanks for sharing
Ramzanali MominPosted Oct 27, 2018, 6:03 AM
Great Article
Salman MushtaqPosted Sep 27, 2018, 7:51 AM
Very useful article. Thanks for sharing.
Manali GhugarePosted Aug 14, 2018, 3:26 AM
Its very helpful.....Thank u sir:)
Amol KumbhkarnaPosted Apr 9, 2018, 4:47 AM
Great article Sibeesh ... Keep It Up...
pradeep kumarPosted Mar 6, 2017, 1:43 PM
Thank you so much , very useful
SubashPosted Nov 7, 2016, 3:19 AM
Thank you very much useful tip
Sibeesh VenuPosted Apr 2, 2016, 2:37 AM
Imtiyaz Ansari Thanks :)
Sibeesh VenuPosted Apr 2, 2016, 2:37 AM
Vijaya G Thanks :)
Sibeesh VenuPosted Apr 2, 2016, 2:36 AM
Sr Karthiga Thanks :)
Sibeesh VenuPosted Apr 2, 2016, 2:36 AM
Amit Singh Yes dude, they will
Sibeesh VenuPosted Apr 2, 2016, 2:35 AM
Vivek Kumar Thanks :)
Sibeesh VenuPosted Apr 2, 2016, 2:35 AM
Arul R Thanks :)
Sibeesh VenuPosted Apr 2, 2016, 2:35 AM
Aqib Shehzad Thanks :)
Sibeesh VenuPosted Apr 2, 2016, 2:30 AM
Teddy Olson Thanks :)
Imtiyaz AnsariPosted Mar 29, 2016, 7:17 AM
Nice Experience Share
Vijaya GPosted Feb 29, 2016, 6:26 AM
It is very helpfull
Sr KarthigaPosted Feb 23, 2016, 7:43 PM
good one
Sr KarthigaPosted Feb 23, 2016, 7:43 PM
Nice explanation
Amit Kumar SinghPosted Feb 4, 2016, 11:59 PM
Hey Venu .... on exp also they asked Question related to Programming
Vivek KumarPosted Feb 4, 2016, 2:33 PM
Nice article
Arul RPosted Jan 17, 2016, 11:01 AM
Thanks for nice article
Muhammad Aqib ShehzadPosted Jan 5, 2016, 7:42 AM
Nice one Dear
Teddy OlsonPosted Jan 5, 2016, 12:33 AM
Thank you for the write up! I would have had at least 4 incorrect. Cheers from Minnesota
Sibeesh VenuPosted Jan 5, 2016, 12:13 AM
Ankur Mistry Thank you
Sibeesh VenuPosted Jan 5, 2016, 12:13 AM
ROHAN THAKUR Thank you
Sibeesh VenuPosted Jan 5, 2016, 12:13 AM
Akhil Garg Thank you
Sibeesh VenuPosted Jan 5, 2016, 12:13 AM
Karthikeyan K Thank you
Sibeesh VenuPosted Jan 5, 2016, 12:12 AM
Sridhar Sharma Thank you
Sibeesh VenuPosted Jan 5, 2016, 12:12 AM
Santhakumar Munuswamy Thank you
Ankur MistryPosted Jan 4, 2016, 10:55 PM
Thanks for sharing
ROHAN THAKURPosted Jan 4, 2016, 11:28 AM
nice article...
Akhil GargPosted Jan 4, 2016, 10:49 AM
Thanks for sharing...
Karthikeyan KPosted Jan 4, 2016, 8:18 AM
Nice share bro :-)
Sridhar SharmaPosted Jan 4, 2016, 8:16 AM
Thanks :)
Santhakumar MunuswamyPosted Dec 22, 2015, 10:41 AM
Thanks for nice share
Sibeesh VenuPosted Dec 21, 2015, 1:34 AM
kalu singh rao Thank you
Sibeesh VenuPosted Dec 21, 2015, 1:34 AM
Humayun Kabir Mamun Thank you
Sibeesh VenuPosted Dec 21, 2015, 1:34 AM
Shridhar Sharma Thank you
Sibeesh VenuPosted Dec 21, 2015, 1:34 AM
Mohit Jain Thank you
Sibeesh VenuPosted Dec 21, 2015, 1:34 AM
Ali Ahmed Thank you
Sibeesh VenuPosted Dec 21, 2015, 1:34 AM
Lalit Raghav Thank you
kalu singh raoPosted Dec 18, 2015, 9:21 AM
Good one
Humayun Kabir MamunPosted Dec 18, 2015, 4:49 AM
Nice...
Shridhar SharmaPosted Dec 18, 2015, 4:45 AM
nice share
Mohit JainPosted Nov 18, 2015, 1:01 AM
Nice
Ali AhmedPosted Nov 4, 2015, 9:31 AM
Very helpful sir.
Lalit RaghavPosted Oct 25, 2015, 5:44 AM
thanks sir
Sibeesh VenuPosted Oct 23, 2015, 1:15 AM
Rupali Shinde Thanks lot
Rupali ShindePosted Oct 23, 2015, 12:07 AM
Thanks sir
Sibeesh VenuPosted Sep 14, 2015, 1:15 AM
Sourabh Panchal Thank you
Sourabh PanchalPosted Sep 13, 2015, 9:10 AM
Thanks for sharing sir..
Sibeesh VenuPosted Aug 22, 2015, 5:49 AM
Harminder Singh Thank you so much
Harminder SinghPosted Aug 22, 2015, 2:35 AM
Superb Sir
Sibeesh VenuPosted Aug 17, 2015, 6:08 AM
Rajeesh Menoth Thanks buddy
Rajeesh MenothPosted Aug 15, 2015, 8:06 AM
Good One..Thank you for sharing...
Sibeesh VenuPosted Jun 22, 2015, 8:43 AM
Debendra Dash Welcome :)
Sibeesh VenuPosted Jun 22, 2015, 8:43 AM
Suryansh Singh Welcome :)
Debendra DashPosted Jun 22, 2015, 1:44 AM
THANKS SIR...
Lalit RaghavPosted Jun 1, 2015, 4:56 AM
thanks Sir
Sibeesh VenuPosted Apr 30, 2015, 12:50 AM
Khargesh Rajput You can use it buddy. As I said, properties are fast than built-in functions.
Khargesh RajputPosted Apr 30, 2015, 12:25 AM
thanks sir I was always confused in Length and Reverse ,whether I have to use these or not, not its clear
Khargesh RajputPosted Apr 29, 2015, 1:36 AM
Sir in polindrom without builtin you have used length function is this length is not a builtin function. I have faced such questions and i was confused about length . Please clear my doubt
Anurag SarkarPosted Apr 28, 2015, 4:24 PM
Thanks for sharing interview.
har gokul govindPosted Mar 28, 2015, 4:24 PM
Can anyone explain how alert adding works?
Tanya GeorgievaPosted Feb 13, 2015, 5:08 PM
alert('5' + 5 + 5); Output= 555
johnson yuanPosted Feb 10, 2015, 2:15 AM
if min == max, then value[min] === value[max], we don't need to go next.
johnson yuanPosted Feb 10, 2015, 2:14 AM
if (min >= max) return true;
johnson yuanPosted Feb 10, 2015, 2:13 AM
I think the IsPallindrome will better if change to this:
Sibeesh VenuPosted Feb 9, 2015, 4:25 AM
Nagaraj S Thank you
Nagaraj SPosted Feb 9, 2015, 2:06 AM
Hi, in the 16th answer there seems to be link missing. Please update it.
Sibeesh VenuPosted Jan 20, 2015, 8:36 AM
Aruna Teja You are a good reader :)
Sibeesh VenuPosted Jan 20, 2015, 8:35 AM
Aruna Teja Wow!. Thanks a lot for finding that mistake. I have changed it.
Aruna TejaPosted Jan 20, 2015, 6:41 AM
Thank you .But alert(5 + '5' ); Output=555 .I think it should be 55.
Sibeesh VenuPosted Jan 1, 2015, 4:35 AM
khargesh rajput Thank you , I am glad you liked it.
Khargesh RajputPosted Jan 1, 2015, 1:09 AM
Congrates and thanks for sharing sir
Sibeesh VenuPosted Dec 31, 2014, 6:01 AM
Jaganathan Bantheswaran Thanks buddy, I was continuously attending interviews at that time, so I was confident about the answers.
Jaganathan BantheswaranPosted Dec 31, 2014, 5:55 AM
Its great to know that you answered all the questions..
Sibeesh VenuPosted Dec 31, 2014, 4:57 AM
SILUVAI PREMILDON Thank you so much.
SILUVAI PREMILDONPosted Dec 31, 2014, 4:37 AM
Really nice.Thank you for sharing such a wonderful experience...........,
Sibeesh VenuPosted Dec 31, 2014, 2:38 AM
raman middha So did you join there?I am curious to know that .
Sibeesh VenuPosted Dec 2, 2014, 12:05 AM
raman middha And It would take at least 4 years for you to get an on site opportunity for you at INfy. So think wisely and decide.
Sibeesh VenuPosted Dec 2, 2014, 12:04 AM
raman middha Buddy I got selected in IBM,Infosys,DELL,Aversen ...Infy was ready to give me 50 % hike. And I didnt join there still. And one another company was ready to give me 100% hike, so i just joined there. What we need now is a good salaray. Then only you will get a good hime when you move from that organization to another.
raman middhaPosted Dec 1, 2014, 12:57 PM
Sibeesh Venu thanks :)
raman middhaPosted Dec 1, 2014, 12:57 PM
Both are at same distance from my native place...but infy is giving me only10 % hike while nagarro giving 40%.. but i dont know will i get onsite in infy or not... ? onsite is only point to join infosys..
Rahul Kumar SaxenaPosted Dec 1, 2014, 12:56 PM
congrts Bro...
Sibeesh VenuPosted Dec 1, 2014, 12:20 PM
raman middha Congrats Buddy :)
Sibeesh VenuPosted Dec 1, 2014, 12:13 PM
raman middha BTW which is your native? And ask for a re location to your place if you want.
Sibeesh VenuPosted Dec 1, 2014, 12:12 PM
raman middha Select which one is near to your native.
raman middhaPosted Dec 1, 2014, 11:24 AM
Hi all, thanks for you response... finally i got offer letter from infosys...:)... now i have two options Nagarro and infosys chandigarh... which one i should join.. please suggest.
Sibeesh VenuPosted Nov 27, 2014, 6:48 AM
Ravitheja Garre May i know how many years of experience you have? The questions depends on the experience buddy.
Ravitheja GPosted Nov 27, 2014, 6:01 AM
Hi Raman,Can i know what are the que thy asked for u
Sibeesh VenuPosted Nov 25, 2014, 11:31 PM
Mahsa Hassankashi Thank you dear. I am glad you liked it :)
Mahsa HassankashiPosted Nov 25, 2014, 1:23 PM
Thank you, perfect.
Sibeesh VenuPosted Nov 24, 2014, 2:03 AM
Ismail Hakki Sen Thank You :)
Ismail Hakki SenPosted Nov 23, 2014, 10:44 PM
"5. If you don't know the answer, please say "I don't know"." much people must learn that. I read all fluently. Thanks.
Sibeesh VenuPosted Nov 17, 2014, 7:12 AM
raman middha Yeah please call HR once. In my case they were vary fast in these procedures.
raman middhaPosted Nov 17, 2014, 3:32 AM
Hi Sibeesh, i attented interview on 1st november and i got a call from infosys ... and they told me i am selected but it will take 10 days more to send a confirmation on mail with offer letter... but i am still waiting for offer letter ... should i wait or should i contact to HR who called me..
Sibeesh VenuPosted Nov 10, 2014, 11:33 PM
sabarish kumar Or you may need to update your resume daily in Naukri ,Monster
Sibeesh VenuPosted Nov 10, 2014, 11:33 PM
sabarish kumar Do you have any reference in Infosys? If yes, the process will be faster.
Sibeesh VenuPosted Nov 10, 2014, 11:31 PM
sabarish kumar Hey just call HR number and ask once.
sabarish kumarPosted Nov 10, 2014, 12:47 PM
can you give me sufficient information , how to get calls and attending interviews.
sabarish kumarPosted Nov 10, 2014, 12:46 PM
ya. but i don't get any calls from recruiters even i am sending mail directly to the hr's and i regularly checking the job sites based on .net...
Sibeesh VenuPosted Nov 8, 2014, 2:04 AM
raman middha BTW when did you attend the interview?
Sibeesh VenuPosted Nov 8, 2014, 2:04 AM
raman middha it took around 1 month.
Sibeesh VenuPosted Nov 8, 2014, 2:03 AM
jsb Thank you :)
raman middhaPosted Nov 7, 2014, 9:17 AM
after how many days you got offer from infosys..as i am still waiitng for offer.. :)
Joginder BangerPosted Nov 7, 2014, 7:00 AM
Good explain with another link....Good Luck @@@
Sibeesh VenuPosted Nov 6, 2014, 11:30 PM
Basuki Nath Thank you
Basuki NathPosted Nov 6, 2014, 10:52 PM
Good
Sibeesh VenuPosted Nov 5, 2014, 11:08 PM
Karthik Pavi Thank you
Sibeesh VenuPosted Nov 5, 2014, 11:08 PM
Karthik Pavi Yeah you can ask about your performance . Or when the result will published?.
Sibeesh VenuPosted Nov 5, 2014, 11:06 PM
ramu v Thanks :)
Karthik PaviPosted Nov 5, 2014, 11:43 AM
Good one for experienced as well as freshers... I faced this question every time "that's all from our side, do u have any questions" what are all we can ask? Sometimes i thought we can ask abt my interview performance but never...
ramu vPosted Nov 5, 2014, 12:23 AM
really nice
Nimit JoshiPosted Nov 4, 2014, 10:42 PM
Thanks for sharing
Vishal JadhavPosted Nov 3, 2014, 5:43 AM
Nice info Sibeesh. Thanks. And all the best for career.
Dinesh SinghPosted Nov 3, 2014, 2:40 AM
after how many days Infosys sent offer letter to you?
Rasmita DashPosted Nov 1, 2014, 3:54 PM
Thanks for sharing your experience....
Sandeep VemulaPosted Oct 31, 2014, 1:10 AM
nice ...
Amit TanwarPosted Oct 30, 2014, 11:48 PM
thanx for sharing..
Mohseen JamalPosted Oct 30, 2014, 8:20 PM
You got some serious skills already with just 3 years of exp. Impressive sir..
M SharmilaPosted Oct 30, 2014, 6:55 AM
Thanks for sharing..:-)
sabarish kumarPosted Oct 29, 2014, 2:34 PM
b"coz i am tyring to job based on .net, and i am 2012 passout. plaese give me a information.
sabarish kumarPosted Oct 29, 2014, 2:33 PM
can i know?
sabarish kumarPosted Oct 29, 2014, 2:33 PM
your attended inetrview based on fake of 3 year or real experience?
Sibeesh VenuPosted Oct 29, 2014, 7:03 AM
Sumit Jolly :)
Guest UserPosted Oct 29, 2014, 5:46 AM
+1
Sibeesh VenuPosted Oct 29, 2014, 3:36 AM
Sahil Sharma Thank you :)
Sahil SharmaPosted Oct 29, 2014, 1:48 AM
Nice description, thanks for sharing.
Sibeesh VenuPosted Oct 28, 2014, 11:34 AM
Vithal Wadje Yeah sure :) Thanks :)
Vithal WadjePosted Oct 28, 2014, 11:21 AM
thanks ,expecting more from you in future ,you are doing great work
Sibeesh VenuPosted Oct 28, 2014, 11:19 AM
Vithal Wadje Yeah I will do as you said buddy . Thank you .
Vithal WadjePosted Oct 28, 2014, 11:15 AM
Sibeesh Venu good explanation but even it will better if you provide C#-Corner site link for certain explanation which you have given because explanation given in your link is already in C# corner site with good explanation..thanks for your effort
Sibeesh VenuPosted Oct 28, 2014, 11:12 AM
Vithal Wadje Wow. I am glad you like it. Thanks a lot :)
Sibeesh VenuPosted Oct 28, 2014, 11:00 AM
Dinesh Beniwal Wow. I am glad you like it. Thanks a lot :)
Dinesh BeniwalPosted Oct 28, 2014, 10:54 AM
Great work, thanks for sharing.
Sibeesh VenuPosted Oct 28, 2014, 10:31 AM
Humayun Kabir Mamun Thanks a lot :)
Humayun Kabir MamunPosted Oct 28, 2014, 10:05 AM
Thanks for sharing, i hope it will help others...