One of my friend gone through the written test of a small company in Gurgaon. I decided to post some of questions from the test, so that the fresher's as well as experience holder get benefits. These are common questions and one need to know when going for interview.
This written test was for senior software engineer purely contains .net and C# questions.
Question 1: What is OOPs?
Answer: Object oriented programming like C#.
Question 2: What is XPath?
Answer: XPath is used to navigate through the elements and attributed in XML document.
Question 3: What is Strong type and Week type?
Answer: week type language support the any type variable declaration like java script supports var (no specific data type). Strong type language do not support var like C#.
Question 4: What is polymorphism?
Answer: Polymorphism means different forms, two types of polymorphism
1. runtime polymorphism
2. static polymorphism
Question 5: Difference between interface and abstract class?
Answer: Interface can have only function prototype and all functions should be implemented in inherited class. while abstract class can have function implementation.
Question 6: What is WCF, WPF, WWF?
Answer: WCF: windows communication foundation
WPF: Windows presentation foundation
WWF: Windows workflow foundation
Question 7: What is Address, Contract and binding?
Answer: Address: An address that indicates where the endpoint can be found.
Contract: A contract that identifies the operations available.
Binding: A binding that specifies how a client can communicate with the endpoint.
Question 8: What is root class of .NET?
Answer: System.Object
Question 9: What is multicast delegate?
Answer: Multicast delegate is a delegate which allow to execute more than one method in single event.
Question 10: Can web services supports method overloading Explain with and example?
Answer: Yes, its same as simple method overloading just add a [web method] before the methods.
Question 11: What is difference between web services and WCF?
Answer: WCF = Web services + .NET Remoting
Question 12: Difference between View State and Session state?
Answer: View State is a client side storage management and store data while page postback. Session state is server side management and keep user specific data for session.
Question 13: What is machine.config?
Answer: machine.config file apply settings to all applications running on the same machine.
FRIENDS SOME OF THE ANSWERS ARE NOT CORRECT OR APPROPRIATE.PLS REFER TO SOME GOOD BOOKS FOR CORRECT ANSWERS.IT'S GOOD TO LEAVE A QUES. THAN TO GIVE A WRONG ANSWER.
ReplyDeleteThanks for comment.
ReplyDeleteI tried my best to give the correct answers, but sometimes it goes wrong. meanwhile i request to visitors that if any one feel that any answer is wrong, please comment with correct answer. We will verify it and correct in original post.
nice try
ReplyDelete