<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Interview &#8211; Sibeesh Passion</title>
	<atom:link href="https://www.sibeeshpassion.com/category/interview/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.sibeeshpassion.com</link>
	<description>My passion towards life</description>
	<lastBuildDate>Wed, 02 Jun 2021 15:16:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>/wp-content/uploads/2017/04/Sibeesh_Passion_Logo_Small.png</url>
	<title>Interview &#8211; Sibeesh Passion</title>
	<link>https://www.sibeeshpassion.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Most common interview questions which may be asked in all interviews</title>
		<link>https://www.sibeeshpassion.com/most-common-interview-questions-which-may-be-asked-in-all-interviews/</link>
					<comments>https://www.sibeeshpassion.com/most-common-interview-questions-which-may-be-asked-in-all-interviews/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Sat, 26 May 2018 12:14:29 +0000</pubDate>
				<category><![CDATA[Interview]]></category>
		<category><![CDATA[Common questions for any interview]]></category>
		<category><![CDATA[Tips for Interview]]></category>
		<guid isPermaLink="false">https://sibeeshpassion.com/?p=12808</guid>

					<description><![CDATA[[toc] Introduction So, you are going to attend an interview, and you would like to know what are all the basic question you may need to be prepared with. If yes, then you are in the right place, or else check my posts related to interview here. Here, in this post, we are not going to explain anything about technical, it is going to be some tips and tricks for you. I hope you will like this article. Background Have you ever attended an interview? If you ask me, I have attended many. Being consider that in my mind, here [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[toc]</p>
<h2>Introduction</h2>
<p>So, you are going to attend an interview, and you would like to know what are all the basic question you may need to be prepared with. If yes, then you are in the right place, or else check my posts related to interview <a href="https://sibeeshpassion.com/category/interview/">here</a>. Here, in this post, we are not going to explain anything about technical, it is going to be some tips and tricks for you. I hope you will like this article.</p>
<h2>Background</h2>
<p>Have you ever attended an interview? If you ask me, I have attended many. Being consider that in my mind, here I am going to share some of the tips, that I have learned/failed during my interviews.</p>
<h2>Common tips/questions for any interviews</h2>
<p>As this is a common topic, there are a lot of points you may need to take care. As I said earlier, here I am going to share only the key points which I am having in my mind right now.</p>
<h3>Tell me about yourself</h3>
<p>Wow, this is one of the top questions you may need to answer. This single question has many aspects in it, so may need to say about various things. I am going to list down the key points you need to say about. And here you don&#8217;t need to say about your childhood or about how many girlfriends you had so far. Haha, seriously you shouldn&#8217;t.</p>
<h4>Say thanks for the opportunity</h4>
<p>Saying/giving thanks for something that you have got, is not a bad idea. This is applicable to this situation as well. Now, you have got an opportunity for saying about yourself, that definitely worth saying thanks right? So you can say something like this.</p>
<p>&#8220;Thanks a lot for providing an opportunity to say about myself&#8221;</p>
<h4>Say your name</h4>
<p>Next, you can start saying about yourself. It should always start with your full name. You can say as mentioned below.</p>
<p>&#8220;I am Sibeesh Venu&#8221;</p>
<p>Please try to avoid the sentence like &#8220;Myself Sibeesh Venu&#8221;.</p>
<h4>Where were you born</h4>
<p>Now, you are going to say about the place you born. So isn&#8217;t it a good idea to give a one-line description of that place. So you need to find out whether your native has any nicknames. For example, you can say like below.</p>
<p>&#8220;I am born and brought up in the place called Kerala, India, which is also known as God&#8217;s own country for its beauty and culture.</p>
<h4>About your graduation/education</h4>
<p>It&#8217;s time to say about your education now. Please be noted that you don&#8217;t need to discuss all of your education. Just be specific to your PG/UG/Masters etc. For example,</p>
<p>&#8220;I am a graduate in Information Technology from Anna University, India.&#8221;</p>
<p>You can always say about your achievements in your college days. Let&#8217;s say if you have scored high grades. But, remember, keep it short and no need to say all of your achievements even though you have many. Be selective.</p>
<h4>Work experience</h4>
<p>This is very important. This is where the employee decides whether you are apt for the role or not. You can say about your first company and the last company. For example,</p>
<p>&#8220;<span style="font-weight: 400;">I have around 7 years of experience in software development wherein I have started my career at HCL CDC as an intern. My current assignment is with Cognizant technology solutions where I play the role of Project associate.&#8221;</span></p>
<h4>Strength and weakness</h4>
<p>Well, nobody is perfect in this word. When I say no one, it includes the interviewer also. So you can definitely say your weaknesses. Just list down two of your weaknesses. If you ask me, I would say as below.</p>
<p>&#8220;<span style="font-weight: 400;">My weakness is, trusting someone very easily which makes problems sometimes. And also I am bit emotional sometimes&#8221;</span></p>
<p>Now it is time to say about your strengths, you may be having lots of strengths, but remember you haven&#8217;t got all day. So again, just be specific and find any two of them, which is relevant to your current work. Let&#8217;s say if you are a software developer and you are saying your strengths as &#8220;You can swim/run faster&#8221;. In this case, these strengths have no relationship with the role you have/ or you are going to apply. Instead, you can say that you are &#8220;A good motivator&#8221;, &#8220;Good team player&#8221;, &#8220;Easy learner&#8221; etc.</p>
<h4>Family</h4>
<p>We all know a family is everything in our life. It is always a good idea to say about your family. You can mention the number of family members, and their occupations. For example,</p>
<p>&#8220;<span style="font-weight: 400;">Including me, my family consists of 3 members. My father, who is a retired teacher. My mother, a homemaker. Please try to avoid the word &#8220;Housewife&#8221;, which is actually not relevant, use homemaker instead.&#8221;</span></p>
<h4>What is special about you</h4>
<p>This is a tricky part, the employer is looking for an answer for comparing how good you are to the job. You can say something like this.</p>
<p>&#8220;<span style="font-weight: 400;">I am a passionate learner, that&#8217;s one of the reasons why I named my website Sibeesh Passion. </span><span style="font-weight: 400;">Being consider myself as a techie, I always love to learn new technologies and I usually write about them on my blog. Sharing the knowledge in the form of videos, articles, forums etc is one of my main hobbies. </span><span style="font-weight: 400;">I strongly believe that I can learn any technologies quickly, and I am a good team player too, hence I am sure that I am a perfect match for this job&#8221;</span></p>
<h4>Your goals</h4>
<p>There should be two part for this, one is short term goal and another is a long-term goal. An ideal answer may look like this.</p>
<p>&#8220;<span style="font-weight: 400;">My short-term goal is to place myself in a well-reputed company like yours where new technologies are being used. And my long-term goal is to become a successful entrepreneur and a successful community speaker&#8221;</span></p>
<h4>Conclusion</h4>
<p>Well, within this short span of time, you can not say everything about you. So a good idea is to make it short and not more than 3-5 minutes. In the end, you can say as preceding.</p>
<p>&#8220;<span style="font-weight: 400;">Well, that was a brief description of me. However, if you would like to know more about me, I am glad to share that information.&#8221;</span></p>
<h3>What is your day to day life at work</h3>
<p>An example is,</p>
<p><span style="font-weight: 400;">&#8220;Being a senior software developer, I always take the initiative to do some extra efforts, for making the product consistent. As I am working in Agile trend now, I always do coding, maintaining, testing, CI/CD etc. I always try to be a part of code reviews where I can learn new codes/implementation from other people.&#8221;</span></p>
<h3>What is your technical stack</h3>
<p>Well, this purely depends on the technical expertise you have. So I will leave this question to you.</p>
<h3>How was your work experience in the previous company</h3>
<p>You should be careful if someone asks this question. You should think positive and answer this question, though you had a bad experience with your previous organization. If you have only positive feedbacks about them, very good. But if you have any negative key points, please avoid saying those, and say only the good things. There is an inner query with this question that, why did you resign from your previous company? So you can answer something like this.</p>
<p><span style="font-weight: 400;">&#8220;My work in the previous company was amazing, however, I had to leave from there as my entire family was moved to a different city, which is quite far.</span></p>
<p>Again, this is up to you which reason you have to say them.</p>
<h3>Why do we hire you</h3>
<p>Be practical and be frank with them. For example,</p>
<p><span style="font-weight: 400;">&#8220;I believe I can learn new things very easily. I am a good team player, and I can work independently as well.&#8221;</span></p>
<h3>Do you have any questions for us</h3>
<p>This is an important part. I recommend you to keep this questions ready before you go and attend the interview. The things you must do are listed here.</p>
<ul>
<li>You can check the company website</li>
<li>See how they improve in their field</li>
<li>You can check, as a company, did they win any awards</li>
<li>How big is their technical team</li>
<li>What are the best products introduced</li>
<li>You can even share the feedback about their applications/work</li>
</ul>
<p>So, by considering the above points in mind, you can ask any queries you have in your mind. But remember to ask at least 3 questions. Be interactive with the team, so that they will understand your capability to drive a team or it proves that you are a team player.</p>
<h2><span id="conclusion">Conclusion</span></h2>
<p>Thanks a lot for reading. Please be noted that these questions are some basics which may ask in all the interviews, however it doesn&#8217;t mean that you should only prepare for these questions alone. Be confident and prepare well before attending any interview. I wish you all the very best.</p>
<p>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.</p>
<h2><span id="your-turn-what-do-you-think">Your turn. What do you think?</span></h2>
<p>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.</p>
<p>Kindest Regards<br />
Sibeesh Venu</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sibeeshpassion.com/most-common-interview-questions-which-may-be-asked-in-all-interviews/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>C sharp Interview Questions And Answers</title>
		<link>https://www.sibeeshpassion.com/c-sharp-interview-questions-and-answers/</link>
					<comments>https://www.sibeeshpassion.com/c-sharp-interview-questions-and-answers/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Sat, 24 Oct 2015 08:06:18 +0000</pubDate>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Interview]]></category>
		<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[C sharp Interview Questions And Answers]]></category>
		<category><![CDATA[Career Advice]]></category>
		<category><![CDATA[CSharp]]></category>
		<category><![CDATA[Interview Questions For Dot Net]]></category>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=10839</guid>

					<description><![CDATA[[toc] Introduction In this article, we will discuss the most asked C# interview questions and answers. If you need to know other interview questions and answers, I strongly recommend to follow this link: Interview Questions. Now in this post, we are going to share the interview questions for C# or a Dot Net developer. No matter you are experienced or fresher, it is important that you must aware of these. So please read it carefully. I hope you will like this article. Background C# is one of my favorite programming languages. So I am really happy to share you some [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>[toc]</p>



<h2 class="wp-block-heading">Introduction</h2>



<p>In this article, we will discuss the most asked C# interview questions and answers. If you need to know other interview questions and answers, I strongly recommend to follow this link: <a href="http://sibeeshpassion.com/category/interview/" target="_blank" rel="noopener noreferrer">Interview Questions</a>. Now in this post, we are going to share the interview questions for C# or a Dot Net developer. No matter you are experienced or fresher, it is important that you must aware of these. So please read it carefully. I hope you will like this article.</p>



<h2 class="wp-block-heading">Background</h2>



<p>C# is one of my favorite programming languages. So I am really happy to share you some interview questions related to C#. You can always read my other interview questions here in the below links.</p>



<ul class="wp-block-list"><li><a rel="noopener noreferrer" href="http://sibeeshpassion.com/dot-net-interview-questions-for-experienced-and-fresher/" target="_blank">Interview Questions For Experienced and Beginner .NET Professionals</a></li><li><a rel="noopener noreferrer" href="http://sibeeshpassion.com/infosys-interview-questions-for-dotnet-professionals/" target="_blank">Infosys Interview Questions For DotNet Professionals</a></li><li><a rel="noopener noreferrer" href="http://sibeeshpassion.com/sql-interview-questions-and-answers/" target="_blank">SQL Interview Questions And Answers</a></li><li><a rel="noopener noreferrer" href="http://sibeeshpassion.com/important-ado-net-interview-questions/" target="_blank">Important ADO.NET Interview Questions</a> <p>So shall we now discuss C# interview questions? </p></li></ul>



<h3 class="wp-block-heading">C# Interview Questions   </h3>



<p>What are Abstract Classes? </p>



<p>The purpose of an abstract class is to define some common behavior that can be inherited by multiple sub classes, without implementing the entire class. In C#, the abstract keyword designates both an abstract class and a pure virtual method. The purpose of an abstract class is to provide a common definition of a base class that multiple derived classes can share. For example, a class library may define an abstract class that is used as a parameter to many of its functions and require programmers using that library to provide their own implementation of the class by creating a derived class. </p>



<h4 class="wp-block-heading">Properties </h4>



<ul class="wp-block-list"><li>An abstract class cannot be instantiated.</li><li>It can be inherited.</li><li>It can have method implementations, class members.</li><li>Only abstract classes can have abstract methods.</li></ul>



<h4 class="wp-block-heading">Syntax</h4>



<script src="https://gist.github.com/SibeeshVenu/2fa66bd9f38b408fe13317d502e08dc1.js"></script>



<h4 class="wp-block-heading">What are Abstract methods?Give an example?</h4>



<h5 class="wp-block-heading">Abstract Methods</h5>



<p>Abstract methods have no implementation, so the method definition is followed by a semicolon instead of a normal method block. (See above example for syntax)</p>



<p>Derived classes of the abstract class must implement all abstract methods.<br>When an abstract class inherits a virtual method from a base class, the abstract class can override the virtual method with an abstract method.</p>



<h5 class="wp-block-heading">Example</h5>



<script src="https://gist.github.com/SibeeshVenu/08fb0fe1e57b4c9d8cd46d0caf2bfbe9.js"></script>



<script src="https://gist.github.com/SibeeshVenu/a597cb326601e52f65758c6cffd0047b.js"></script>



<h4 class="wp-block-heading">What is Interface? Explain with an example?</h4>



<p>An interface is useful when you want to be able to use some common functionality of otherwise unrelated classes- they share no implementation details, only the function signatures. In C#, function declarations within an interface are implicitly pure virtual.</p>



<p>An interface contains only the signatures of methods, properties, events or indexers. A class or struct that implements the interface must implement the members of the interface that are specified in the interface definition.</p>



<h5 class="wp-block-heading">Properties</h5>



<p>An interface can be a member of a namespace or a class and can contain signatures of methods, properties, events, indexers.<br>An interface can inherit from one or more base interfaces. A class that implements an interface can explicitly implement members of that interface. An explicitly implemented member cannot be accessed through a class instance, but only through an instance of the interface.</p>



<p><strong>Example</strong><em> </em></p>



<script src="https://gist.github.com/SibeeshVenu/3057b3fcb14f7455c4b039b217876398.js"></script>



<script src="https://gist.github.com/SibeeshVenu/d1815c018ef376231553005f421b0949.js"></script>



<script src="https://gist.github.com/SibeeshVenu/a710e1206ab1aaff58263d1b299c7b7e.js"></script>



<p><em><strong>Calling the metho</strong></em><strong>ds </strong></p>



<script src="https://gist.github.com/SibeeshVenu/e54d38f6d8751c9cf06252657197ab78.js"></script>



<script src="https://gist.github.com/SibeeshVenu/8cec8789031f25287a997b150a7fb6cf.js"></script>



<script src="https://gist.github.com/SibeeshVenu/a415a854c7cb4de11e625650a039327b.js"></script>



<h4 class="wp-block-heading">Explain The Difference Between Abstract Class and Interface ?</h4>



<p>An Abstract class doesn&#8217;t provide full abstraction but an interface does provide full abstraction; i.e. both a declaration and a definition is given in an abstract class but not so in an interface. Using Abstract we cannot achieve multiple inheritances but be using an Interface we can achieve multiple inheritances. We cannot declare a member field in an Interface. We cannot use any access modifier i.e. public, private, protected, internal etc. because within an interface by default everything is public. An Interface member cannot be defined using the keyword static, virtual, abstract or sealed.</p>



<h4 class="wp-block-heading">Explain Generic Collections &amp; Array Lists ?</h4>



<p>Generics allow you to delay the specification of the data type of programming elements in a class or a method until it is actually used in the program. In other words, generics allow you to write a class or method that can work with any data type. Generic Collections helps us to create flexible type-safe, strong type collections at compile time.</p>



<h5 class="wp-block-heading">Syntax</h5>



<script src="https://gist.github.com/SibeeshVenu/12e01a38f7fe93800ed2d9e28af1d248.js"></script>



<h5 class="wp-block-heading">Namespace</h5>



<script src="https://gist.github.com/SibeeshVenu/0f0b6f01abc509c5a0c1ed44aecb95c2.js"></script>



<h5 class="wp-block-heading">ArrayList</h5>



<p>They are ordered a collection of objects, that can be resized automatically, that has dynamic memory allocation and which can contain different types of data. Arraylist stores its members as objects, so in order to retrieve it, we must type cast it.</p>



<h5 class="wp-block-heading">Syntax and Example</h5>



<script src="https://gist.github.com/SibeeshVenu/8533989c2ec614777133e892986e18ae.js"></script>



<h5 class="wp-block-heading">Namespace</h5>



<script src="https://gist.github.com/SibeeshVenu/8f232eefceb895791b4a5fa193d499f2.js"></script>



<h4 class="wp-block-heading">What are Finalize and Dispose? Can you list down the differences between them?</h4>



<p>Finalizers are run by the Garbage Collection before an object that is eligible for collection is reclaimed. Dispose() is meant for cleaning up unmanaged resources, like network connections, files, handles to OS stuff, &amp;c. It works best in conjunction with the using block where the compiler makes sure that Dispose() will be called immediately once you are done with an object – and also ensures that you cannot work with the object anymore once it&#8217;s disposed of.</p>



<h5 class="wp-block-heading">Dispose() Method</h5>



<ul class="wp-block-list"><li>This dispose method will be used to free unmanaged resources like files, database connection etc.</li><li>To clear unmanaged resources, we need to write code manually to raise dispose() method.</li><li>This Dispose() method belongs to the IDisposable interface.</li><li>If we need to implement this method for any custom classes we need to inherit the class from IDisposable interface.</li><li>It will not show any effect on the performance of the website and we can use this method whenever we want to free objects immediately.</li></ul>



<h5 class="wp-block-heading">Finalize() Method</h5>



<ul class="wp-block-list"><li>This method also free unmanaged resources like database connections, files etc…</li><li>It is automatically raised by garbage collection mechanism whenever the object goes out of scope.</li><li>This method belongs to object class.</li><li>We need to implement this method whenever we have unmanaged resources in our code and make sure these resources will be freed when garbage collection process was done.</li><li>It will show the effect on the performance of the website and it will not suitable to free objects immediately.</li></ul>



<h4 class="wp-block-heading">What is Dependency Injection?How can we implement it?</h4>



<p>Simply put Dependency injection is for decoupling two components. It can be explained by a simple example.</p>



<script src="https://gist.github.com/SibeeshVenu/6f2681e284b50352ed9e2457ef182515.js"></script>



<script src="https://gist.github.com/SibeeshVenu/22b96305a7e43336e28a3109883fce47.js"></script>



<p>Have a look at the code above.</p>



<p>I have an ErrorLogger class that writes an error into database. The method is actually called from another class ApplicationWatcher.<br>In a later stage, if I want to send an email instead of writing into the database, this design will not suffice. I will have created another class that has a method that sends an email and creates its instance in the application watches.</p>



<h4 class="wp-block-heading">What is Data Encapsulation and explain its Implementation?</h4>



<p>To know about the Data encapsulation in C#, I recommend you to read here:<br><a href="http://www.tutorialspoint.com/csharp/csharp_encapsulation.htm" target="_blank" rel="noopener noreferrer">Data Encapsulation and Its Implementation </a><br>That&#8217;s all. Have a great day.</p>



<h3 class="wp-block-heading">Conclusion</h3>



<p>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.</p>



<h3 class="wp-block-heading">Your turn. What do you think?</h3>



<p>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.</p>



<p>Kindest Regards<br>Sibeesh Venu</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sibeeshpassion.com/c-sharp-interview-questions-and-answers/feed/</wfw:commentRss>
			<slash:comments>8</slash:comments>
		
		
			</item>
		<item>
		<title>Important ADO.NET Interview Questions</title>
		<link>https://www.sibeeshpassion.com/important-ado-net-interview-questions/</link>
					<comments>https://www.sibeeshpassion.com/important-ado-net-interview-questions/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Sat, 24 Oct 2015 07:14:44 +0000</pubDate>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ADO.NET]]></category>
		<category><![CDATA[Interview]]></category>
		<category><![CDATA[Career Advice]]></category>
		<category><![CDATA[Dot Net]]></category>
		<category><![CDATA[Important ADO.NET Interview Questions]]></category>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=10836</guid>

					<description><![CDATA[In this article we will discuss about the most asked ADO.NET interview questions and answers. If you need to know other interview questions and answers, I strongly recommend to follow this link: Interview Questions. Now in this post we are going to share the interview questions or the information which you must know as a programmer or a developer, especially if you are a Dot Net developer. I hope you will like this article. Background I am a dot net developer. As a dot net developer, you will always use ADO.NET to handle your data. Isn&#8217;t it. So it is [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>In this article we will discuss about the most asked ADO.NET interview questions and answers. If you need to know other interview questions and answers, I strongly recommend to follow this link: <a href="http://sibeeshpassion.com/category/interview/" target="_blank" rel="noopener">Interview Questions</a>. Now in this post we are going to share the interview questions or the information which you must know as a programmer or a developer, especially if you are a Dot Net developer. I hope you will like this article.</p>
<p><strong>Background</strong></p>
<p>I am a dot net developer. As a dot net developer, you will always use ADO.NET to handle your data. Isn&#8217;t it. So it is important that you must know some information. We will read those basic information here. I am sharing those in the form of articles, you can always read my other interview questions here in the below links.</p>
<li><a href="http://sibeeshpassion.com/dot-net-interview-questions-for-experienced-and-fresher/" target="_blank" rel="noopener">Interview Questions For Experienced and Beginner .NET Professionals</a></li>
<li><a href="http://sibeeshpassion.com/infosys-interview-questions-for-dotnet-professionals/" target="_blank" rel="noopener">Infosys Interview Questions For DotNet Professionals</a></li>
<li><a href="http://sibeeshpassion.com/sql-interview-questions-and-answers/" target="_blank" rel="noopener">SQL Interview Questions And Answers</a></li>
<p>So shall we now discuss about ADO.NET interview questions?</p>
<p><strong>ADO.NET Interview Questions</strong></p>
<p><strong>What is ADO.NET?</strong></p>
<p>ADO.NET is basically a set of components which can be used by a programmer to access and manipulate the data in a disconnected architecture. It gives the access to the data source such as SQL Server and XML. We use DataSet for the data operations in ADO.NET. It is a part of Microsoft .Net framework.  </p>
<p><strong>Difference between ExecuteReader, ExecuteScalar and ExecuteNonQuery ?</strong></p>
<p>Source <a href="http://www.aspsnippets.com/Articles/Difference-between-ExecuteReader-ExecuteScalar-and-ExecuteNonQuery.aspx" target="_blank" rel="noopener">http://www.aspsnippets.com/Articles/Difference-between-ExecuteReader-ExecuteScalar-and-ExecuteNonQuery.aspx </a></p>
<p><em>ExecuteNonQuery</em> </p>
<p>ExecuteNonQuery is basically used for operations where there is nothing returned from the SQL Query or Stored Procedure. Preferred use will be for INSERT, UPDATE and DELETE Operations. </p>
<p>[csharp]<br />
using (SqlConnection con = new SqlConnection(constring))<br />
{<br />
    using (SqlCommand cmd = new SqlCommand(&quot;DELETE FROM Persons WHERE Name = @Name&quot;, con))<br />
    {<br />
        cmd.CommandType = CommandType.Text;<br />
        cmd.Parameters.AddWithValue(&quot;@Name&quot;, name);<br />
        con.Open();<br />
        int rowsAffected = cmd.ExecuteNonQuery();<br />
        con.Close();<br />
    }<br />
}<br />
[/csharp]</p>
<p><em>Execute Scalar </em></p>
<p>ExecuteScalar is a handy function when you want to just need one Cell value i.e. one column and one row.<br />
For example in a case where I need to get the City of a person based on its Name. </p>
<p>[csharp]<br />
using (SqlConnection con = new SqlConnection(constring))<br />
{<br />
    using (SqlCommand cmd = new SqlCommand(&quot;SELECT City FROM Persons WHERE Name=@Name&quot;, con))<br />
    {<br />
        cmd.CommandType = CommandType.Text;<br />
        cmd.Parameters.AddWithValue(&quot;@Name&quot;, name);<br />
        con.Open();<br />
        object o = cmd.ExecuteScalar();<br />
        if (o != null)<br />
        {<br />
            string city = o.ToString();<br />
        }<br />
        con.Close();<br />
    }<br />
}<br />
[/csharp]</p>
<p><em>Execute Reader </em></p>
<p>ExecuteReader is strictly used for fetching records from the SQL Query or Stored Procedure i.e. SELECT Operation.<br />
Example would be fetching Name City for all records in the Person Table. </p>
<p>[csharp]<br />
using (SqlConnection con = new SqlConnection(constring))<br />
{<br />
    using (SqlCommand cmd = new SqlCommand(&quot;SELECT Name, City FROM Persons&quot;, con))<br />
    {<br />
        cmd.CommandType = CommandType.Text;<br />
        con.Open();<br />
        SqlDataReader dr = cmd.ExecuteReader();<br />
        while (dr.Read())<br />
        {<br />
            string name = dr[&quot;Name&quot;].ToString();<br />
            string city = dr[&quot;City&quot;].ToString();<br />
            Response.Write(&quot;Name: &quot; + name);<br />
            Response.Write(&quot;City: &quot; + city);<br />
        }<br />
        con.Close();<br />
    }<br />
}<br />
[/csharp]</p>
<p><strong>What are Data Reader, Dataset &#038; Data Adapter ? Explain the differences?</strong></p>
<p><em>Data Reader</em> </p>
<p>Data Reader is used to read the data from database and it is a read and forward only connection oriented architecture during fetch the data from database. Data Reader is used to iterate through result set that came from server and it will read one record at a time because of that memory consumption will be less and it will fetch the data very fast when compared with dataset. Generally we will use Execute Reader object to bind data to data reader. </p>
<p>[csharp]<br />
using (SqlConnection con = new SqlConnection(&quot;Connectionstring&quot;))<br />
{<br />
con.Open();<br />
SqlCommand cmd = new SqlCommand(&quot;Select UserName,LastName,Location FROM UserInformation&quot;, con);<br />
SqlDataReader dr = cmd.ExecuteReader();<br />
}<br />
[/csharp]</p>
<p><em>Dataset </em></p>
<p>Dataset is a disconnected orient architecture that means there is no need of active connections during work with datasets and it is a collection of Data Tables and relations between tables. It is used to hold multiple tables with data. You can select data form tables, create views based on table and ask child rows over relations. Also Dataset provides you with rich features like saving data as XML and loading XML data. </p>
<p>[csharp]<br />
SqlCommand cmd = new SqlCommand(&quot;select UserName,LastName,Location from UserInformation&quot;, con);<br />
SqlDataAdapter da = new SqlDataAdapter(cmd);<br />
DataSet ds = new DataSet();<br />
da.Fill(ds);<br />
[/csharp]</p>
<p><em>Data Adapter</em> </p>
<p>DataAdapter will acts as a Bridge between DataSet and database. This dataadapter object is used to read the data from database and bind that data to dataset. Dataadapter is a disconnected oriented architecture. </p>
<p>[csharp]<br />
SqlCommand cmd = new SqlCommand(&quot;select UserName,LastName,Location from UserInformation&quot;, con);<br />
SqlDataAdapter da = new SqlDataAdapter(cmd);<br />
DataSet ds = new DataSet();<br />
da.Fill(ds);<br />
[/csharp]</p>
<p><strong>ADO stands for?</strong></p>
<p>ActiveX Data Object</p>
<p><strong>What are the main objects used in ADO.NET?</strong></p>
<p><em>Dataset</em></p>
<p>Dataset is a disconnected orient architecture that means there is no need of active connections during work with datasets and it is a collection of Data Tables and relations between tables. It is used to hold multiple tables with data. You can select data form tables, create views based on table and ask child rows over relations. Also Dataset provides you with rich features like saving data as XML and loading XML data. </p>
<p><em>DataReader</em></p>
<p>Data Reader is used to read the data from database and it is a read and forward only connection oriented architecture during fetch the data from database. Data Reader is used to iterate through result set that came from server and it will read one record at a time because of that memory consumption will be less and it will fetch the data very fast when compared with dataset. Generally we will use Execute Reader object to bind data to data reader. </p>
<p>That&#8217;s all. Have a great day.</p>
<p><strong>Conclusion</strong></p>
<p>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.</p>
<p><strong>Your turn. What do you think?</strong></p>
<p>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.</p>
<p>Kindest Regards<br />
Sibeesh Venu</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sibeeshpassion.com/important-ado-net-interview-questions/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>SQL Interview Questions And Answers</title>
		<link>https://www.sibeeshpassion.com/sql-interview-questions-and-answers/</link>
					<comments>https://www.sibeeshpassion.com/sql-interview-questions-and-answers/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Sat, 24 Oct 2015 06:38:39 +0000</pubDate>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Interview]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Career Advice]]></category>
		<category><![CDATA[SQL Interview Questions And Answers]]></category>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=10834</guid>

					<description><![CDATA[In this article we will discuss about the most asked SQL interview questions and answers. If you need to know other interview questions and answers, I strongly recommend to follow this link: Interview Questions. Now in this post we are going to share the interview questions or the information which you must know as a programmer or a developer, especially if you are a Dot Net developer. We will explain few questions here, if you still need some additional information on SQL, you can read here: SQL . I hope you will like this article. Background I am a dot [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>In this article we will discuss about the most asked <a href="http://sibeeshpassion.com/category/sql/" target="_blank">SQL </a>interview questions and answers. If you need to know other interview questions and answers, I strongly recommend to follow this link: <a href="http://sibeeshpassion.com/category/interview/" target="_blank">Interview Questions</a>. Now in this post we are going to share the interview questions or the information which you must know as a programmer or a developer, especially if you are a Dot Net developer. We will explain few questions here, if you still need some additional information on SQL, you can read here: <a href="http://sibeeshpassion.com/category/sql/" target="_blank">SQL </a>. I hope you will like this article.</p>
<p><strong>Background</strong></p>
<p>I am a dot net developer. As a dot net developer, there are so many things that I must be aware of. I am sharing those in the form of articles, you can always read my other interview questions here in the below links.</p>
<li><a href="http://sibeeshpassion.com/dot-net-interview-questions-for-experienced-and-fresher/" target="_blank">Interview Questions For Experienced and Beginner .NET Professionals</a></li>
<li><a href="http://sibeeshpassion.com/infosys-interview-questions-for-dotnet-professionals/" target="_blank">Infosys Interview Questions For DotNet Professionals</a></li>
<p>So shall we now discuss about SQL interview questions?</p>
<p><strong>SQL Interview Questions</strong></p>
<p><strong>What are the types of Joins in SQL? Explain?</strong></p>
<li>INNER JOIN</li>
<p>Returns all rows when there is at least one match in BOTH tables </p>
<li>LEFT JOIN</li>
<p>Return all rows from the left table, and the matched rows from the right table </p>
<li>RIGHT JOIN</li>
<p>Return all rows from the right table, and the matched rows from the left table </p>
<li>FULL JOIN</li>
<p>Return all rows when there is a match in ONE of the tables </p>
<p><strong>What is the default join in SQL? Give an example query?</strong></p>
<p>The default join is INNER JOIN. </p>
<p>Example: </p>
<p>[sql]<br />
SELECT column_name(s)<br />
FROM table1<br />
INNER JOIN table2<br />
ON table1.column_name=table2.column_name;<br />
[/sql]</p>
<p><strong>Describe all the joins with examples in SQL?</strong></p>
<p><em>SQL LEFT JOIN </em></p>
<p>The LEFT JOIN keyword returns all rows from the left table (table1), with the matching rows in the right table (table2). The result is NULL in the right side when there is no match. </p>
<p>[sql]<br />
SQL LEFT JOIN Syntax<br />
SELECT column_name(s)<br />
FROM table1<br />
LEFT JOIN table2<br />
ON table1.column_name=table2.column_name;<br />
[/sql]</p>
<p><em>SQL RIGHT JOIN </em></p>
<p>The right join returns all the rows in the right table ie table 2 with the matching ones in the left table(table1). </p>
<p>[sql]<br />
SELECT column_name(s)<br />
FROM table1<br />
RIGHT JOIN table2<br />
ON table1.column_name=table2.column_name;<br />
[/sql]</p>
<p><em>SQL FULL OUTER </em></p>
<p>The full join returns all rows from the left table (table1) and from the right table (table2) </p>
<p>[sql]<br />
SELECT column_name(s)<br />
FROM table1<br />
FULL OUTER JOIN table2<br />
ON table1.column_name=table2.column_name;<br />
[/sql]</p>
<p><strong>What is Union And Union All ? Explain the differences?</strong></p>
<p><em>SQL UNION  </em></p>
<p>The UNION operator is used to combine the result-set of two or more SELECT statements. </p>
<p>Notice that each SELECT statement within the UNION must have the same number of columns. The columns must also have similar data types. Also, the columns in each SELECT statement must be in the same order. </p>
<blockquote><p>Note: The UNION operator selects only distinct values by default.  </p></blockquote>
<p>[sql]<br />
SELECT column_name(s) FROM table1<br />
UNION<br />
SELECT column_name(s) FROM table2;<br />
[/sql]</p>
<p><em>SQL UNION ALL</em> </p>
<p>[sql]<br />
SQL UNION ALL Syntax<br />
SELECT column_name(s) FROM table1<br />
UNION ALL<br />
SELECT column_name(s) FROM table2;<br />
[/sql]</p>
<blockquote><p>Allows duplicate values. </p></blockquote>
<p><strong>Differentiate Clustered and Non clustered Index in SQL?</strong></p>
<p>A clustered index is one in which the index&#8217;s order is arranged according to the physical order of rows in the table. Due to this reason there can only be one clustered index per table, usually this is the primary key. </p>
<p>A non clustered index is one in which the order of index is not in accordance with the physical order of rows in the table. </p>
<p><em>Create Index Syntax </em></p>
<p>[sql]<br />
CREATE INDEX [ CLUSTERED | NONCLUSTERED ] PIndex ON Persons (LastName,FirstName)<br />
[/sql]</p>
<p><strong>Explain the difference between Stored Procedure and User Defined Function?</strong></p>
<p><em>Stored Procedure </em></p>
<p>Stored procedures are reusable code in database which is compiled for first time and its execution plan saved. The compiled code is executed when everytime its called. You  </p>
<p><em>Function </em></p>
<p>Function is a database object in SQL Server. Basically it is a set of SQL statements that accepts only input parameters, perform actions and return the result. Function can return only single value or a table. We can’t use function to Insert, Update, Delete records in the database table(s). It is compiled eveyrtime its invoked.  </p>
<p><em>Basic Difference </em></p>
<p>Function must return a value but in Stored Procedure it is optional( Procedure can return zero or n values).<br />
Functions can have only input parameters for it whereas Procedures can have input/output parameters .<br />
Functions can be called from Procedure whereas Procedures cannot be called from Function </p>
<p><em>Advanced Difference </em></p>
<p>Procedure allows SELECT as well as DML(INSERT/UPDATE/DELETE) statement in it whereas Function allows only SELECT statement in it.<br />
Procedures cannot be utilized in a SELECT statement whereas Function can be embedded in a SELECT statement.<br />
Stored Procedures cannot be used in the SQL statements anywhere in the WHERE/HAVING/SELECT section whereas Function can be.<br />
The most important feature of stored procedures over function is to retention and reuse the execution plan while in case of function it will be compiled every time. </p>
<p>Functions that return tables can be treated as another rowset. This can be used in JOINs with other tables.<br />
Inline Function can be though of as views that take parameters and can be used in JOINs and other Rowset operations.<br />
Exception can be handled by try-catch block in a Procedure whereas try-catch block cannot be used in a Function.<br />
We can use transactions in stored procedure but not in functions.  </p>
<p>That&#8217;s all. Have a great day.</p>
<p><strong>Conclusion</strong></p>
<p>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.</p>
<p><strong>Your turn. What do you think?</strong></p>
<p>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.</p>
<p>Kindest Regards<br />
Sibeesh Venu</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sibeeshpassion.com/sql-interview-questions-and-answers/feed/</wfw:commentRss>
			<slash:comments>12</slash:comments>
		
		
			</item>
		<item>
		<title>Interview Questions For Experienced and Beginner .NET Professionals</title>
		<link>https://www.sibeeshpassion.com/dot-net-interview-questions-for-experienced-and-fresher/</link>
					<comments>https://www.sibeeshpassion.com/dot-net-interview-questions-for-experienced-and-fresher/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Tue, 16 Jun 2015 09:43:02 +0000</pubDate>
				<category><![CDATA[CodeProject]]></category>
		<category><![CDATA[Interview]]></category>
		<category><![CDATA[Q&A]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Answers]]></category>
		<category><![CDATA[Dot Net]]></category>
		<category><![CDATA[Questions]]></category>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=4621</guid>

					<description><![CDATA[[toc] Introduction Hi, I hope you are all fine. If you are a .Net professional and if you are looking for a change in job (especially in Infosys, IBM, DELL, Aversan) you may want to read: Interview Questions For 3 Year .NET Professionals. I have described my interview experience there. Now I will share some other important series of questions that will definitely ask in any .Net interview. What employers currently look for in a candidate is logical understanding with basic knowledge. So understanding the basics is very important, even if you are an experienced candidate. So let us start. [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>[toc]</p>



<h2 class="wp-block-heading"><strong>Introduction </strong></h2>



<p>Hi, I hope you are all fine. If you are a .Net professional and if you are looking for a change in job (especially in Infosys, IBM, DELL, Aversan) you may want to read: <a href="http://sibeeshpassion.com/Infosys-Interview-Questions-For-DotNet-Professionals/" target="_blank" rel="noopener noreferrer">Interview Questions For 3 Year .NET Professionals.</a></p>



<p>I have described my interview experience there. Now I will share some other important series of questions that will definitely ask in any .Net interview. What employers currently look for in a candidate is logical understanding with basic knowledge. So understanding the basics is very important, even if you are an experienced candidate.</p>



<p>So let us start. I hope you will like this article. Please provide your valuable comments so that I can improve myself.</p>



<p>First of all you must be ready to introduce yourself. Please don&#8217;t use so many “mmmmm” and “And and and”. Be confident and don&#8217;t urge. Take your own time to describe yourself. Look straight. You can find more tips here: <a href="http://www.wikihow.com/Prepare-for-a-Job-Interview" target="_blank" rel="noopener noreferrer">How to Prepare for a Job Interview.</a></p>



<h2 class="wp-block-heading"><strong>Now we will concentrate on the technical questions.</strong></h2>



<p>Please note that these questions are asked in my interview experience, you may need to see more questions when you go for your interview.</p>



<p>1. What is the sequence of execution of the ASP.NET page life cycle?</p>



<p>The simple way is to remember SILVER.</p>



<p><em>S (It is not counted)<br>I (Init)<br>L (Load)<br>V (Validate)<br>E (Event)<br>R (Render)</em></p>



<p>Read more <a href="https://msdn.microsoft.com/en-us/library/ms178472(v=vs.85).aspx" target="_blank" rel="noopener noreferrer">here</a>.</p>



<p>2. What is the difference between a Hash Table and a Dictionary?</p>



<p>The main differences are listed below.</p>



<p><strong>Dictionary</strong>:</p>



<p>Returns an error if the key does not exist<br>No boxing and unboxing<br>Faster than a Hash table</p>



<p><strong>Hashtable</strong>:</p>



<p>Returns NULL even if the key does not exist<br>Requires boxing and unboxing<br>Slower than a Dictionary</p>



<p>3. How to use View state?</p>



<script src="https://gist.github.com/SibeeshVenu/34a3c94ddb49657ec034a87a614d25a4.js"></script>



<p>4. What are the state management techniques used in .NET?</p>



<p><strong>Client-side</strong>:</p>



<ul class="wp-block-list"><li>Hidden Field</li><li>View State</li><li>Cookies</li><li>Control State</li><li>Query Strings</li></ul>



<p><strong>Server-side</strong>:</p>



<p><em>Session</em></p>



<ul class="wp-block-list"><li>In Proc mode</li><li>State Server mode</li><li>SQL Server mode</li><li>Custom mode</li></ul>



<p><em>Application</em>.</p>



<p>Read <a href="http://www.codeproject.com/Articles/492397/State-Management-in-ASP-NET-Introduction" target="_blank" rel="noopener noreferrer">here</a>.</p>



<p>5. How can we create a new table in SQL with only the structure?</p>



<p>Here is the query to do that.</p>



<script src="https://gist.github.com/SibeeshVenu/a5cf9edbd0ecc016d0b8d5fb2b09fd66.js"></script>



<p><em>Points to be noted:</em></p>



<p>A is the source table.<br>B is the destination table.<br>The condition 1=2 is to prevent the data from being copyied.</p>



<p>6. How to add a button dynamically to a grid view?</p>



<script src="https://gist.github.com/SibeeshVenu/53e892a522ac31d40bfa7a2fe26dfdd2.js"></script>



<p>7. How to find a control inside a GridView?</p>



<script src="https://gist.github.com/SibeeshVenu/b3993cf9f80c1e6696273813fa16cb04.js"></script>



<p>Here we are finding the control myButton from the 0th row first cell.</p>



<p>8. What are abstract and interface? Provide actual examples.</p>



<p>Please read <a href="http://www.codeproject.com/Questions/43970/Real-world-examples-of-abstract-classes-and-interf" target="_blank" rel="noopener noreferrer">here</a>.</p>



<p>9. What is partial class?</p>



<p>There are the following situations of when splitting a class definition is desirable:<br>To work with large projects.<br>To split the class definitions as we needed with the keyword partial.</p>



<p>10. How to use a partial class?</p>



<script src="https://gist.github.com/SibeeshVenu/5773dd7db2a31c77533f4558f734c2ae.js"></script>



<p>11. How to remove a constraint from a table in SQL Server?</p>



<script src="https://gist.github.com/SibeeshVenu/d23dc61d7cf412cfa6c86cbe840134af.js"></script>



<p>12. How to create Table Variables In T-SQL?</p>



<p>Normally the syntax to create a table variable is the same as to create a table statement.</p>



<script src="https://gist.github.com/SibeeshVenu/8fa72f9b50dc1e8a4121190d54125038.js"></script>



<p>13. How can you delete a duplicate record from a table in SQL?</p>



<p>There are so many ways to do this. Here I am sharing what I use when I get that kind of situation.</p>



<ul class="wp-block-list"><li>I will create a temp table.</li><li>Copy the distinct data from the existing table to the temp table.</li><li>Empty the data in the existing table.</li><li>Insert the data from the temp table to the source table.</li></ul>



<p>Here is the query to do that:</p>



<script src="https://gist.github.com/SibeeshVenu/6d28476a8a74394e60e3d5a021a95ca0.js"></script>



<p>14. When to use an override and new in C#?</p>



<p>We can use override when there is virtual/abstract/override type of method in base class. We can use New when there is no virtual/abstract/override type of method in base class.</p>



<h3 class="wp-block-heading">Conclusion</h3>



<p>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.</p>



<h3 class="wp-block-heading">Your turn. What do you think?</h3>



<p>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.</p>



<p>Kindest Regards<br>Sibeesh Venu</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sibeeshpassion.com/dot-net-interview-questions-for-experienced-and-fresher/feed/</wfw:commentRss>
			<slash:comments>27</slash:comments>
		
		
			</item>
		<item>
		<title>Infosys Interview Questions For DotNet Professionals</title>
		<link>https://www.sibeeshpassion.com/infosys-interview-questions-for-dotnet-professionals/</link>
					<comments>https://www.sibeeshpassion.com/infosys-interview-questions-for-dotnet-professionals/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Mon, 18 Aug 2014 10:48:45 +0000</pubDate>
				<category><![CDATA[Career Advice]]></category>
		<category><![CDATA[Interview]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Dot Net Q&A]]></category>
		<category><![CDATA[Infosys Interview]]></category>
		<category><![CDATA[Infosys Interview Questions For DotNet Professionals]]></category>
		<category><![CDATA[Interview Questions For Dot Net]]></category>
		<guid isPermaLink="false">https://sibeeshpassion.com/?p=281</guid>

					<description><![CDATA[[toc] Introduction 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 Background On August 18, 2014 I attended an interview with Infosys, Chennai. When I entered the compound, there [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>[toc]</p>



<h3 class="wp-block-heading">Introduction</h3>



<p>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.</p>



<p>You can read another series of interview questions here : <a href="http://sibeeshpassion.com/category/interview/" target="_blank" rel="noopener noreferrer">Interview Questions For Software Engineers</a></p>



<h3 class="wp-block-heading">Background</h3>



<p>On <em>August 18, 2014</em> 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.</p>



<h3 class="wp-block-heading">Points to be remember</h3>



<p>There are some mistakes I made in the interview, and I don&#8217;t want you to do the same.</p>



<ul class="wp-block-list"><li>Please ensure that you are maintaining eye contact with the interviewer.</li><li>Be confident of what you say. Don&#8217;t change your answer if the interviewer tries to make you do so.</li><li>Please avoid the unwanted examples.</li><li>Please never use any other technical terms that may provoke the interviewer into asking questions about it.</li><li>If you don&#8217;t know the answer, please say &#8220;I don&#8217;t know&#8221;. It is always better to say so instead of going with the wrong answer.</li></ul>



<p>You can find more tips here: <a href="http://www.wikihow.com/Prepare-for-a-Job-Interview" target="_blank" rel="noopener noreferrer">How to Prepare for a Job Interview</a></p>



<h3 class="wp-block-heading">Questions asked and answers</h3>



<p>(Here I am giving the answers that I answered .)</p>



<p><strong>Question 1:</strong> Tell me about yourself?</p>



<p><strong>Answer:</strong> You can find many answers to this question in the internet. Please see the following link:</p>



<p><a href="http://placement.freshersworld.com/power-preparation/Interview-preparation/tell-me-about-yourself-35714" target="_blank" rel="noopener noreferrer">Tell me about yourself</a></p>



<p><strong>Question 2:</strong> What is your role in your project? What is the team size?</p>



<p><strong>Answer:</strong> I said &#8220;My main role is coding, unit testing, big fixing and maintenance. My team size is 7&#8221;.</p>



<p><strong>Question 3:</strong> What is the hierarchy of your team?</p>



<p><strong>Answer:</strong> First I was confused by this question. Then I answered &#8220;Project Manager, Team Leader, Software Engineers, Trainees&#8221;.</p>



<p><strong>Question 4:</strong> Describe the projects that you have worked on?</p>



<p><strong>Answer:</strong> 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.</p>



<p><strong>Question 5:</strong> What is the employee size in your company? You don&#8217;t need to be accurate. You can provide the approximate value.</p>



<p><strong>Answer:</strong> I said &#8220;150 to 200&#8221;.</p>



<p><em>Then he moved to the programming section.</em></p>



<p><strong>Question 6:</strong> Write an algorithm and program to determine whether or not a word is a palindrome.</p>



<p>We can do it in either of the following two ways</p>



<ul class="wp-block-list"><li>Using a built-in function as in the following</li></ul>



<script src="https://gist.github.com/SibeeshVenu/9f4993420d0546720a10b3ebff8855ab.js"></script>



<p>Ref: <a href="http://www.codeproject.com/Tips/153399/To-check-string-is-palindrome-or-not-in-NET-C" target="_blank" rel="noopener noreferrer">To check string is palindrome or not in .NET (C#)</a></p>



<ul class="wp-block-list"><li>Without using a built-in function</li></ul>



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



<script src="https://gist.github.com/SibeeshVenu/d82f8dcec4a5b80a44d0aacfb47236f2.js"></script>



<p>Ref: You can find more here: <a href="http://www.dotnetperls.com/palindrome" target="_blank" rel="noopener noreferrer">C# Palindrome</a></p>



<p><strong>Question 7:</strong> Write a program to determine the count of a specific character in a string.</p>



<p><strong>Answer:</strong></p>



<script src="https://gist.github.com/SibeeshVenu/d3cf541eaee6d815ae7a1e3ec3ba20f3.js"></script>



<p>Please see this for more suggestions: <a href="http://www.codeproject.com/Questions/177626/count-number-of-characters-in-a-string" target="_blank" rel="noopener noreferrer">count the number of characters in a string.</a></p>



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



<script src="https://gist.github.com/SibeeshVenu/1d6e350e3c1eb478fac97943d2edd21c.js"></script>



<p>Answer: I said &#8220;Here we have a constructor A; a constructor should not have a return type. So the code above will throw a compilation error.&#8221;</p>



<p><strong>Question 9:</strong> What may be the output of the following program?</p>



<script src="https://gist.github.com/SibeeshVenu/610aa6170a1acbe0afceadffe8483627.js"></script>



<p><strong>Answer:</strong> I said the output will be as preceding.</p>



<p>Hi you are in class A</p>



<p>Hi you are in class B</p>



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



<p><strong>Question 10:</strong> Write the output of the following program?</p>



<script src="https://gist.github.com/SibeeshVenu/a9afe1f0a04654f4d4c148daf06f73a6.js"></script>



<p><strong>Answer:</strong> 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.</p>



<p><strong>Question 11:</strong> Abstract and interface real time examples.</p>



<p><strong>Answer:</strong> Please read it here: <a href="http://www.codeproject.com/Questions/341625/Real-time-example-of-interface" target="_blank" rel="noopener noreferrer">Real time example of interface</a></p>



<p><strong>Question 12:</strong> Describe authentication, types, differences?</p>



<p><strong>Answer:</strong> Forms, Windows, Passport. Please read more here: <a href="http://www.codeproject.com/Articles/98950/ASP-NET-authentication-and-authorization" target="_blank" rel="noopener noreferrer">ASP.NET authentication and authorization</a></p>



<p><strong>Question 13:</strong> Why DBMS? Why don&#8217;t we save data in separate files?</p>



<p>Answer: I didn&#8217;t know what exactly he meant, I got stuck there for a while. Finally I came up with the answer that &#8220;Normalization&#8221; is the main advantage of a DBMS.</p>



<p>Read more here: <a href="http://courses.cs.washington.edu/courses/cse544/99sp/lectures/intro/sld010.htm" target="_blank" rel="noopener noreferrer">Why use a DBMS?</a></p>



<p><strong>Question 14:</strong> What is the differences between a Primary key and a Unique key?</p>



<p><strong>Answer:</strong> Primary key doesn&#8217;t allow NULL, a unique key does.</p>



<p><strong>Question 15:</strong> What exactly is happening when we make a field a primary key?</p>



<p><strong>Answer:</strong> A clustered index will be created for that specific field.</p>



<p><strong>Question 16:</strong> How may clustered index we can create in table?</p>



<p><strong>Answer:</strong> Basically we can create only one clustered index, but there is a way to have more. Please read here: <a href="http://technet.microsoft.com/en-us/library/ms165305(v=sql.105).aspx" target="_blank" rel="noopener noreferrer">Only one clustered index can be created on table . (Visual Database Tools)</a></p>



<p><strong>Question 17:</strong> What is the difference between a clustered and a non-clustered index?</p>



<p><strong>Answer:</strong> I explained, please read here: <a href="http://www.codeproject.com/Articles/173275/Clustered-and-Non-Clustered-Index-in-SQL" target="_blank" rel="noopener noreferrer">Clustered and Non-Clustered Index in SQL 2005</a></p>



<p><strong>Question 18:</strong> What is a Distributed System?</p>



<p><strong>Answer:</strong> A collection of autonomous computers. Find out more <a href="http://www.csc.villanova.edu/~schragge/CSC8530/Intro.html" target="_blank" rel="noopener noreferrer">http://www.csc.villanova.edu/~schragge/CSC8530/Intro.html</a></p>



<figure class="wp-block-image alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2014/08/Distributed-System.gif"><img fetchpriority="high" decoding="async" width="421" height="295" src="http://sibeeshpassion.com/wp-content/uploads/2014/08/Distributed-System.gif" alt="Distributed System" class="wp-image-12442"/></a><figcaption>Distributed System</figcaption></figure>



<p>Image Courtesy : MSDN</p>



<p><strong>Question 19:</strong> What will be the output for the below mentioned lines in JQuery?</p>



<script src="https://gist.github.com/SibeeshVenu/64d6dcfb8306fc5a3f8a02e5af1cb69d.js"></script>



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



<script src="https://gist.github.com/SibeeshVenu/5bb28d85a3d40c2a4869c523a51d0be9.js"></script>



<p>Hmmm finally he said &#8220;You are selected for the next round&#8221; 🙂</p>



<p>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 🙂</p>



<h3 class="wp-block-heading">Conclusion</h3>



<p>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 <strong>Good Luck</strong> .</p>



<h3 class="wp-block-heading">Your turn. What do you think?</h3>



<p>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.</p>



<p>Kindest Regards<br>Sibeesh Venu</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sibeeshpassion.com/infosys-interview-questions-for-dotnet-professionals/feed/</wfw:commentRss>
			<slash:comments>67</slash:comments>
		
		
			</item>
	</channel>
</rss>
