Skip to main content

Posts

Showing posts from October, 2016

C++ Interview Questions

A list of top frequently asked C++ interview questions and answers are given below. 1) What is C++? C++ is an object oriented programming language created by Bjarne Stroustrup. It is released in 1985. 2) What are the advantages of C++? C++ doesn't only maintains all aspects from C language, it also simplify memory management and add several features like: Includes a new datatype known as a class. Allows object oriented programming. 3) What is the difference between C and C++? No. C C++ 1) C follows the procedural style programming. C++ is multi-paradigm. It supports both procedural and object oriented. 2) Data is less secured in C. In C++, you can use modifiers for class members to make it inaccessible for outside users. 3) C follows the top-down approach. C++ follows the bottom-up approach. 4) C does not support function overloading. C++ supports function overloading. 5) In C, you can't use functions in structure. In C++, you can use functions in stru

Interview Question for 3-6 Year experience in .Net Technologies-PART -I

Hai Friends, With lot of encouragement and support, I am posting the Part II of the questions and answers for 3-6 years experienced people. These questions will be helpful for those who are preparing for the interview or attending the interviews. This will be helpful for the last minute preparation in quickest way. If anyone has better answer, please reply to this post and I will include them. C# / ASP.net/ .Net framework / other .Net related questions: 1. What is the difference between IEnumerable and IQueryable? Ans.  IEnumerable and IQueryable are used to query data from  collections and  database.  The IEnumerable is basically inherited from IQueryable, so it’s having all the features of the IQueryable in addition to its having additional own features. S.No IEnumerable IQueryable 1. Exists in System.Collections Namespace Exists in System.Linq Namespace 2. Can move to forward only in the collection. Can move to forward, backward or in between the items. 3.

OOPs Concepts: When to use

Hai Friends, This post is regarding the main OOPs concepts and what is there use and when it’s good to use them. Below are the concepts which are included in this post: ·                       Encapsulation ·                       Abstraction ·                       Overloading ·                       Method Overriding ·                       Constructor ·                       Interface ·                       Inheritance ·                       Abstract class   These OOPs concepts you can use while implementing the functionality of your projects in accordance with the requirements and situations. Hope it will be useful to learn and in the implementation of the projects. 1) In which situation encapsulation is used in your project? Encapsulation is hiding and binding of the data. Accessing the public properties by using private variables is one of the good examples of Encapsulation in all the projects. e.g. private string _name; public String N

Scenario Based Questions in Microsoft Technologies - .Net with Answers

Hai Friends, As we know that getting more experience and then going for the interview requires more knowledge and if we see, it requires more practical knowledge. So in the continuation, I am trying to post few questions of OOPS which are scenario based and will be helpful when you are going for the interviews with 3+ years experience. These questions will definitely make you to think something more which you were thinking before about the answer of a particular question. With the hope that these questions and answers will be helpful to you, I am posting them and will try to update and include more in the future. These questions are scenario based questions in .Net technologies which will help to prepare for the interviews. Few questions are related to OOP’s concepts, and then few on Garbage Collector and memory related. So you can prepare them accordingly. These questions will be useful for those who are having the 3+ years experience and looking out for the opportunities in good com