We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2
ASSIGNMENT - II
1. Write short notes on :
a) What do you understand by the following two declarations? i) const int *pOne;
ii) int const *pTwo;
b) What do you mean by garbage collection?
c) Differentiate between static and dynamic binding. d) What is copy constructor and its use? e) What is the value of the following expression? (!((4-4%3)<5&&(6/4>3))) f) What is meant by membership operator in C++? g) Define the term of Multilevel Inheritance. h) Name various standard classes of C++. i) What is Pure virtual function? 1. Write a program to compare the two given strings using a pointer. 2. What are templates? Write a function template to find the minimum of three numbers. 3. What is a nested class? What are its advantages? How it is defined and declared in C++? 4. What is virtual destructor? What is the use of declaring it under multiple inheritances? 5. Explain the various techniques of defining pure virtual function. 6. Discuss the term function overloading . 7. What is an exception? Why it is necessary to handle an exception by special code? 8. What are files and how these are handled in C++? 9. What is size of operator? 10. Define this pointer. 11. What is dynamic memory allocation? 12. Discuss the rules of defining constructors. 13. How do you call a virtual function in base class? 14. Write the use of function overridding. 15. What is initializers list in c++? 16. What do you mean by type conversion? Give an example of basic to object conversion. 17. What is difference between early binding and late binding in C++? 18. Define Operator overloading. Explain how to overload unary operator and binary operator. 19. Write a program in C++ that display entered string into reverse order. 20. What are function template of C++? Discuss the concept of error handling functions supported in C++. 21. Differentiate between a local and static object. 22. What are the properties of a static data member? 23. What are C++ streams? 24. Explain with the help of an example the different storage classes used in C++. 25. What is friend function? What are the characteristics of friend function? 26. What is mean by polymorphism? 27. List the operators which are not possible to overload. 28. Write C++ program to overload +operator to add two matrices. 29. What is Data hiding? How it is achieved in C++? 30. What are Dangling pointer? 31. What is the use of Abstract class? 32. Difference between sequential and random access file. 33. Explain how to overload unary operator and binary operator. 34. What are the advantage of using ne operator as compared to the function malloc()? Explain with example.