file · web viewwhat are the features of oop? what is a function prototype? what is meant...

4
RAJA COLLEGE OF ENGINEERING & TECHNOLOGY MADURAI-20 DEPARTMENT OF ELECDTRICAL AND ELECTRONICS ENGINEERING Short Answer Test SUB. CODE: CS6456 SUB. NAME: Object Oriented Programming YEAR : II SEMESTER : IV Date : 07.04.2017 Time : 1:50 – 4:20 PM Maximum : 100 marks Part – A (Answer All Questions) 50 x 2 = 100 Marks 1. What is the default access specifier for class member?Give Code Eg 2. Name any three OOP Language. 3. What are the features of OOP? 4. What is a function prototype? 5. What is meant by addressing and dereferencing? 6. What is the use of assert macro? 7. Compare and Contrast Structure and Union. 8. What is Inline Function? Give advantages and Disadvantages. 9. What is the use of void data type? 10. What is the use of mutable keyword? 11. List out the operators that cannot be overloaded. 12. What is a virtual function? Write the syntax. 13. Write a brief note on purew virtual function. 14. Differentiate virtual base class and abstract base class. 15. What is the difference between function overloading and function overriding. 16. What is meant by ADT conversion? 17. What are the restrictions imposed on overloading operators << and >>? 18. How the member functions are defined? 19. What is the use of scope resolution operator? 20. What are constructors and destructors? List the types. RAJA COLLEGE OF ENGINEERING & TECHNOLOGY MADURAI-20 DEPARTMENT OF ELECDTRICAL AND ELECTRONICS ENGINEERING Short Answer Test SUB. CODE: CS6456 SUB. NAME: Object Oriented Programming YEAR : II SEMESTER : IV Date : 07.04.2017 Time : 1:50 – 4:20 PM Maximum : 100 marks Part – A

Upload: vanliem

Post on 06-Feb-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: file · Web viewWhat are the features of OOP? What is a function prototype? What is meant by addressing and dereferencing? What is the use of assert macro?

RAJA COLLEGE OF ENGINEERING & TECHNOLOGY

MADURAI-20 DEPARTMENT OF ELECDTRICAL AND ELECTRONICS ENGINEERING

Short Answer Test

SUB. CODE: CS6456 SUB. NAME: Object Oriented Programming

YEAR : II SEMESTER : IV

Date : 07.04.2017 Time : 1:50 – 4:20 PM Maximum : 100 marksPart – A

(Answer All Questions) 50 x 2 = 100 Marks1. What is the default access specifier for class member?Give Code Eg2. Name any three OOP Language.3. What are the features of OOP?4. What is a function prototype?5. What is meant by addressing and dereferencing?6. What is the use of assert macro?7. Compare and Contrast Structure and Union.8. What is Inline Function? Give advantages and Disadvantages.9. What is the use of void data type?10. What is the use of mutable keyword?11. List out the operators that cannot be overloaded.12. What is a virtual function? Write the syntax.13. Write a brief note on purew virtual function.14. Differentiate virtual base class and abstract base class.15. What is the difference between function overloading and function overriding.16. What is meant by ADT conversion?17. What are the restrictions imposed on overloading operators << and >>?18. How the member functions are defined?19. What is the use of scope resolution operator?20. What are constructors and destructors? List the types.

RAJA COLLEGE OF ENGINEERING & TECHNOLOGY

MADURAI-20 DEPARTMENT OF ELECDTRICAL AND ELECTRONICS ENGINEERING

Short Answer Test

SUB. CODE: CS6456 SUB. NAME: Object Oriented Programming

YEAR : II SEMESTER : IV

Date : 07.04.2017 Time : 1:50 – 4:20 PM Maximum : 100 marks Part – A

(Answer All Questions) 50 x 2 = 100 Marks1. What is the default access specifier for class member?Give Code Eg2. Name any three OOP Language.3. What are the features of OOP?4. What is a function prototype?5. What is meant by addressing and dereferencing?6. What is the use of assert macro?7. Compare and Contrast Structure and Union.8. What is Inline Function? Give advantages and Disadvantages.9. What is the use of void data type?10. What is the use of mutable keyword?11. List out the operators that cannot be overloaded.12. What is a virtual function? Write the syntax.13. Write a brief note on purew virtual function.14. Differentiate virtual base class and abstract base class.15. What is the difference between function overloading and function overriding.16. What is meant by ADT conversion?17. What are the restrictions imposed on overloading operators << and >>?18. How the member functions are defined?19. What is the use of scope resolution operator?20. What are constructors and destructors? List the types.

Page 2: file · Web viewWhat are the features of OOP? What is a function prototype? What is meant by addressing and dereferencing? What is the use of assert macro?

21. What is a template? List the type of templates.22. What is Inheritance? List out its types.23. What is STL?Give its features.24. What are the different types of STL algorithms?25. What is an Iterator? List down the types of Iterators.26. What is an exception? How to handle it?27. What are manipulators?28. What is a container? List different types of containers.29. How do you rethrow an exception from try block?30. When terminate() and Unexpected() is called by C++ runtime?31. Why Java is platform independent and architecture neutral?32. Give the relationship between JVM , JDK and JRE33. What is the use of garbage collection in Java?34. What are the kinds of variables in Java?35. How do you declare an array in java?List types of arrays.36. List any 5 primitive data types in Java.37. Define a class, object and method in Java with code snippet.38. List the various control statements in Java.39. What are the advantages of having interface?40. List the various operators with their symbols.41. What is a package?42. What are the various ways to create a thread?43. What is the use of super keyword?44. What is the use of final keyword?45. What is multithreading?46. Differentiate Interface and Abstract class.47. How to get current priority of particular thread?48. List the different I/O streams in Java.49. Define Synchronization in java.50. List the different string functions available in Java.

21. What is a template? List the type of templates.22. What is Inheritance? List out its types.23. What is STL?Give its features.24. What are the different types of STL algorithms?25. What is an Iterator? List down the types of Iterators.26. What is an exception? How to handle it?27. What are manipulators?28. What is a container? List different types of containers.29. How do you rethrow an exception from try block?30. When terminate() and Unexpected() is called by C++ runtime?31. Why Java is platform independent and architecture neutral?32. Give the relationship between JVM , JDK and JRE33. What is the use of garbage collection in Java?34. What are the kinds of variables in Java?35. How do you declare an array in java?List types of arrays.36. List any 5 primitive data types in Java.37. Define a class, object and method in Java with code snippet.38. List the various control statements in Java.39. What are the advantages of having interface?40. List the various operators with their symbols.41. What is a package?42. What are the various ways to create a thread?43. What is the use of super keyword?44. What is the use of final keyword?45. What is multithreading?46. Differentiate Interface and Abstract class.47. How to get current priority of particular thread?48. List the different I/O streams in Java.49. Define Synchronization in java.50. List the different string functions available in Java.