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, 12:38 PM EDT
DBMS or RDBMS have the normalization?
Barath Kumar MPosted Dec 11, 2020, 7:50 PM EST
Thanks for sharing :)
raghwendra chaubeyPosted Nov 8, 2018, 6:59 PM EST
Very useful. Thanks for sharing
Ramzanali MominPosted Oct 27, 2018, 2:03 AM EDT
Great Article
Salman MushtaqPosted Sep 27, 2018, 3:51 AM EDT
Very useful article. Thanks for sharing.
Manali GhugarePosted Aug 13, 2018, 11:26 PM EDT
Its very helpful.....Thank u sir:)
Amol KumbhkarnaPosted Apr 9, 2018, 12:47 AM EDT
Great article Sibeesh ... Keep It Up...
pradeep kumarPosted Mar 6, 2017, 8:43 AM EST
Thank you so much , very useful
SubashPosted Nov 6, 2016, 10:19 PM EST
Thank you very much useful tip
Sibeesh VenuTOP 100Posted Apr 1, 2016, 10:37 PM EDT
Imtiyaz Ansari Thanks :)
Sibeesh VenuTOP 100Posted Apr 1, 2016, 10:37 PM EDT
Vijaya G Thanks :)
Sibeesh VenuTOP 100Posted Apr 1, 2016, 10:36 PM EDT
Sr Karthiga Thanks :)
Sibeesh VenuTOP 100Posted Apr 1, 2016, 10:36 PM EDT
Amit Singh Yes dude, they will
Sibeesh VenuTOP 100Posted Apr 1, 2016, 10:35 PM EDT
Vivek Kumar Thanks :)
Sibeesh VenuTOP 100Posted Apr 1, 2016, 10:35 PM EDT
Arul R Thanks :)
Sibeesh VenuTOP 100Posted Apr 1, 2016, 10:35 PM EDT
Aqib Shehzad Thanks :)
Sibeesh VenuTOP 100Posted Apr 1, 2016, 10:30 PM EDT
Teddy Olson Thanks :)
Imtiyaz AnsariPosted Mar 29, 2016, 3:17 AM EDT
Nice Experience Share
Vijaya GPosted Feb 29, 2016, 1:26 AM EST
It is very helpfull
Sr KarthigaPosted Feb 23, 2016, 2:43 PM EST
good one
Sr KarthigaPosted Feb 23, 2016, 2:43 PM EST
Nice explanation
Amit Kumar SinghPosted Feb 4, 2016, 6:59 PM EST
Hey Venu .... on exp also they asked Question related to Programming
Vivek KumarPosted Feb 4, 2016, 9:33 AM EST
Nice article
Arul RPosted Jan 17, 2016, 6:01 AM EST
Thanks for nice article
Muhammad Aqib ShehzadPosted Jan 5, 2016, 2:42 AM EST
Nice one Dear
Teddy OlsonPosted Jan 4, 2016, 7:33 PM EST
Thank you for the write up! I would have had at least 4 incorrect. Cheers from Minnesota
Sibeesh VenuTOP 100Posted Jan 4, 2016, 7:13 PM EST
Ankur Mistry Thank you
Sibeesh VenuTOP 100Posted Jan 4, 2016, 7:13 PM EST
ROHAN THAKUR Thank you
Sibeesh VenuTOP 100Posted Jan 4, 2016, 7:13 PM EST
Akhil Garg Thank you
Sibeesh VenuTOP 100Posted Jan 4, 2016, 7:13 PM EST
Karthikeyan K Thank you
Sibeesh VenuTOP 100Posted Jan 4, 2016, 7:12 PM EST
Sridhar Sharma Thank you
Sibeesh VenuTOP 100Posted Jan 4, 2016, 7:12 PM EST
Santhakumar Munuswamy Thank you
Ankur MistryTOP 100Posted Jan 4, 2016, 5:55 PM EST
Thanks for sharing
ROHAN THAKURPosted Jan 4, 2016, 6:28 AM EST
nice article...
Akhil GargPosted Jan 4, 2016, 5:49 AM EST
Thanks for sharing...
Karthikeyan KPosted Jan 4, 2016, 3:18 AM EST
Nice share bro :-)
Sridhar SharmaPosted Jan 4, 2016, 3:16 AM EST
Thanks :)
Santhakumar MunuswamyPosted Dec 22, 2015, 5:41 AM EST
Thanks for nice share
Sibeesh VenuTOP 100Posted Dec 20, 2015, 8:34 PM EST
kalu singh rao Thank you
Sibeesh VenuTOP 100Posted Dec 20, 2015, 8:34 PM EST
Humayun Kabir Mamun Thank you
Sibeesh VenuTOP 100Posted Dec 20, 2015, 8:34 PM EST
Shridhar Sharma Thank you
Sibeesh VenuTOP 100Posted Dec 20, 2015, 8:34 PM EST
Mohit Jain Thank you
Sibeesh VenuTOP 100Posted Dec 20, 2015, 8:34 PM EST
Ali Ahmed Thank you
Sibeesh VenuTOP 100Posted Dec 20, 2015, 8:34 PM EST
Lalit Raghav Thank you
kalu singh raoPosted Dec 18, 2015, 4:21 AM EST
Good one
Humayun Kabir MamunPosted Dec 17, 2015, 11:49 PM EST
Nice...
Shridhar SharmaPosted Dec 17, 2015, 11:45 PM EST
nice share
Mohit JainPosted Nov 17, 2015, 8:01 PM EST
Nice
Ali AhmedPosted Nov 4, 2015, 4:31 AM EST
Very helpful sir.
Lalit RaghavPosted Oct 25, 2015, 1:44 AM EDT
thanks sir
Sibeesh VenuTOP 100Posted Oct 22, 2015, 9:15 PM EDT
Rupali Shinde Thanks lot
Rupali ShindePosted Oct 22, 2015, 8:07 PM EDT
Thanks sir
Sibeesh VenuTOP 100Posted Sep 13, 2015, 9:15 PM EDT
Sourabh Panchal Thank you
Sourabh PanchalPosted Sep 13, 2015, 5:10 AM EDT
Thanks for sharing sir..
Sibeesh VenuTOP 100Posted Aug 22, 2015, 1:49 AM EDT
Harminder Singh Thank you so much
Harminder SinghPosted Aug 21, 2015, 10:35 PM EDT
Superb Sir
Sibeesh VenuTOP 100Posted Aug 17, 2015, 2:08 AM EDT
Rajeesh Menoth Thanks buddy
Rajeesh MenothPosted Aug 15, 2015, 4:06 AM EDT
Good One..Thank you for sharing...
Sibeesh VenuTOP 100Posted Jun 22, 2015, 4:43 AM EDT
Debendra Dash Welcome :)
Sibeesh VenuTOP 100Posted Jun 22, 2015, 4:43 AM EDT
Suryansh Singh Welcome :)
Debendra DashPosted Jun 21, 2015, 9:44 PM EDT
THANKS SIR...
Lalit RaghavPosted Jun 1, 2015, 12:56 AM EDT
thanks Sir
Sibeesh VenuTOP 100Posted Apr 29, 2015, 8:50 PM EDT
Khargesh Rajput You can use it buddy. As I said, properties are fast than built-in functions.
Khargesh RajputPosted Apr 29, 2015, 8:25 PM EDT
thanks sir I was always confused in Length and Reverse ,whether I have to use these or not, not its clear
Khargesh RajputPosted Apr 28, 2015, 9:36 PM EDT
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, 12:24 PM EDT
Thanks for sharing interview.
har gokul govindPosted Mar 28, 2015, 12:24 PM EDT
Can anyone explain how alert adding works?
Tanya GeorgievaPosted Feb 13, 2015, 12:08 PM EST
alert('5' + 5 + 5); Output= 555
johnson yuanPosted Feb 9, 2015, 9:15 PM EST
if min == max, then value[min] === value[max], we don't need to go next.
johnson yuanPosted Feb 9, 2015, 9:14 PM EST
if (min >= max) return true;
johnson yuanPosted Feb 9, 2015, 9:13 PM EST
I think the IsPallindrome will better if change to this:
Sibeesh VenuTOP 100Posted Feb 8, 2015, 11:25 PM EST
Nagaraj S Thank you
Nagaraj SPosted Feb 8, 2015, 9:06 PM EST
Hi, in the 16th answer there seems to be link missing. Please update it.
Sibeesh VenuTOP 100Posted Jan 20, 2015, 3:36 AM EST
Aruna Teja You are a good reader :)
Sibeesh VenuTOP 100Posted Jan 20, 2015, 3:35 AM EST
Aruna Teja Wow!. Thanks a lot for finding that mistake. I have changed it.
Aruna TejaPosted Jan 20, 2015, 1:41 AM EST
Thank you .But alert(5 + '5' ); Output=555 .I think it should be 55.
Sibeesh VenuTOP 100Posted Dec 31, 2014, 11:35 PM EST
khargesh rajput Thank you , I am glad you liked it.
Khargesh RajputPosted Dec 31, 2014, 8:09 PM EST
Congrates and thanks for sharing sir
Sibeesh VenuTOP 100Posted Dec 31, 2014, 1:01 AM EST
Jaganathan Bantheswaran Thanks buddy, I was continuously attending interviews at that time, so I was confident about the answers.
Jaganathan BantheswaranPosted Dec 31, 2014, 12:55 AM EST
Its great to know that you answered all the questions..
Sibeesh VenuTOP 100Posted Dec 30, 2014, 11:57 PM EST
SILUVAI PREMILDON Thank you so much.
SILUVAI PREMILDONPosted Dec 30, 2014, 11:37 PM EST
Really nice.Thank you for sharing such a wonderful experience...........,
Sibeesh VenuTOP 100Posted Dec 30, 2014, 9:38 PM EST
raman middha So did you join there?I am curious to know that .
Sibeesh VenuTOP 100Posted Dec 1, 2014, 7:05 PM EST
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 VenuTOP 100Posted Dec 1, 2014, 7:04 PM EST
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, 7:57 AM EST
Sibeesh Venu thanks :)
raman middhaPosted Dec 1, 2014, 7:57 AM EST
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 SaxenaTOP 100Posted Dec 1, 2014, 7:56 AM EST
congrts Bro...
Sibeesh VenuTOP 100Posted Dec 1, 2014, 7:20 AM EST
raman middha Congrats Buddy :)
Sibeesh VenuTOP 100Posted Dec 1, 2014, 7:13 AM EST
raman middha BTW which is your native? And ask for a re location to your place if you want.
Sibeesh VenuTOP 100Posted Dec 1, 2014, 7:12 AM EST
raman middha Select which one is near to your native.
raman middhaPosted Dec 1, 2014, 6:24 AM EST
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 VenuTOP 100Posted Nov 27, 2014, 1:48 AM EST
Ravitheja Garre May i know how many years of experience you have? The questions depends on the experience buddy.
Ravitheja GPosted Nov 27, 2014, 1:01 AM EST
Hi Raman,Can i know what are the que thy asked for u
Sibeesh VenuTOP 100Posted Nov 25, 2014, 6:31 PM EST
Mahsa Hassankashi Thank you dear. I am glad you liked it :)
Mahsa HassankashiPosted Nov 25, 2014, 8:23 AM EST
Thank you, perfect.
Sibeesh VenuTOP 100Posted Nov 23, 2014, 9:03 PM EST
Ismail Hakki Sen Thank You :)
Ismail Hakki SenPosted Nov 23, 2014, 5:44 PM EST
"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 VenuTOP 100Posted Nov 17, 2014, 2:12 AM EST
raman middha Yeah please call HR once. In my case they were vary fast in these procedures.
raman middhaPosted Nov 16, 2014, 10:32 PM EST
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 VenuTOP 100Posted Nov 10, 2014, 6:33 PM EST
sabarish kumar Or you may need to update your resume daily in Naukri ,Monster
Sibeesh VenuTOP 100Posted Nov 10, 2014, 6:33 PM EST
sabarish kumar Do you have any reference in Infosys? If yes, the process will be faster.
Sibeesh VenuTOP 100Posted Nov 10, 2014, 6:31 PM EST
sabarish kumar Hey just call HR number and ask once.
sabarish kumarPosted Nov 10, 2014, 7:47 AM EST
can you give me sufficient information , how to get calls and attending interviews.
sabarish kumarPosted Nov 10, 2014, 7:46 AM EST
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 VenuTOP 100Posted Nov 7, 2014, 9:04 PM EST
raman middha BTW when did you attend the interview?
Sibeesh VenuTOP 100Posted Nov 7, 2014, 9:04 PM EST
raman middha it took around 1 month.
Sibeesh VenuTOP 100Posted Nov 7, 2014, 9:03 PM EST
jsb Thank you :)
raman middhaPosted Nov 7, 2014, 4:17 AM EST
after how many days you got offer from infosys..as i am still waiitng for offer.. :)
Joginder BangerPosted Nov 7, 2014, 2:00 AM EST
Good explain with another link....Good Luck @@@
Sibeesh VenuTOP 100Posted Nov 6, 2014, 6:30 PM EST
Basuki Nath Thank you
Basuki NathPosted Nov 6, 2014, 5:52 PM EST
Good
Sibeesh VenuTOP 100Posted Nov 5, 2014, 6:08 PM EST
Karthik Pavi Thank you
Sibeesh VenuTOP 100Posted Nov 5, 2014, 6:08 PM EST
Karthik Pavi Yeah you can ask about your performance . Or when the result will published?.
Sibeesh VenuTOP 100Posted Nov 5, 2014, 6:06 PM EST
ramu v Thanks :)
Karthik PaviPosted Nov 5, 2014, 6:43 AM EST
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 4, 2014, 7:23 PM EST
really nice
Nimit JoshiTOP 100Posted Nov 4, 2014, 5:42 PM EST
Thanks for sharing
Vishal JadhavPosted Nov 3, 2014, 12:43 AM EST
Nice info Sibeesh. Thanks. And all the best for career.
Dinesh SinghPosted Nov 2, 2014, 9:40 PM EST
after how many days Infosys sent offer letter to you?
Rasmita DashPosted Nov 1, 2014, 11:54 AM EDT
Thanks for sharing your experience....
Sandeep VemulaPosted Oct 30, 2014, 9:10 PM EDT
nice ...
Amit TanwarPosted Oct 30, 2014, 7:48 PM EDT
thanx for sharing..
Mohseen JamalPosted Oct 30, 2014, 4:20 PM EDT
You got some serious skills already with just 3 years of exp. Impressive sir..
M SharmilaPosted Oct 30, 2014, 2:55 AM EDT
Thanks for sharing..:-)
sabarish kumarPosted Oct 29, 2014, 10:34 AM EDT
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, 10:33 AM EDT
can i know?
sabarish kumarPosted Oct 29, 2014, 10:33 AM EDT
your attended inetrview based on fake of 3 year or real experience?
Sibeesh VenuTOP 100Posted Oct 29, 2014, 3:03 AM EDT
Sumit Jolly :)
Guest UserPosted Oct 29, 2014, 1:46 AM EDT
+1
Sibeesh VenuTOP 100Posted Oct 28, 2014, 11:36 PM EDT
Sahil Sharma Thank you :)
Sahil SharmaPosted Oct 28, 2014, 9:48 PM EDT
Nice description, thanks for sharing.
Sibeesh VenuTOP 100Posted Oct 28, 2014, 7:34 AM EDT
Vithal Wadje Yeah sure :) Thanks :)
Vithal WadjeTOP 100Posted Oct 28, 2014, 7:21 AM EDT
thanks ,expecting more from you in future ,you are doing great work
Sibeesh VenuTOP 100Posted Oct 28, 2014, 7:19 AM EDT
Vithal Wadje Yeah I will do as you said buddy . Thank you .
Vithal WadjeTOP 100Posted Oct 28, 2014, 7:15 AM EDT
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 VenuTOP 100Posted Oct 28, 2014, 7:12 AM EDT
Vithal Wadje Wow. I am glad you like it. Thanks a lot :)
Sibeesh VenuTOP 100Posted Oct 28, 2014, 7:00 AM EDT
Dinesh Beniwal Wow. I am glad you like it. Thanks a lot :)
Dinesh BeniwalTOP 10Posted Oct 28, 2014, 6:54 AM EDT
Great work, thanks for sharing.
Sibeesh VenuTOP 100Posted Oct 28, 2014, 6:31 AM EDT
Humayun Kabir Mamun Thanks a lot :)
Humayun Kabir MamunPosted Oct 28, 2014, 6:05 AM EDT
Thanks for sharing, i hope it will help others...