NOVEMBER 2009 50410/SAE3A/SAZ3A Time:3 hours Maximum:75 marks SECTION A - (10x2 =20 marks) Answer any TEN questions. All questions carry equal marks. 1. Name any four C++ keywords. 2. What are manipulators? 3. Mention the advantages of inline functions. 4. What is the role of a destructor? 5. What are virtual functions? 6. Mention the use of a file pointer. 7. What are the operations performed on arrays? 8. What is composite data type? Give an example. 9. Define the term recursion. 10. Name the operations performed on linked list. 11. What are binary trees? 12. What is meant by traversal? SECTION B - (5x5 =25 marks) Answer any FIVE questions. All questions carry equal marks. 13. Explain various C++ operators. 14. Explain the role of scope resolution operator. 15. What are default argument values? How are they assigned? 16. What is meant by type conversion? Mention the methods of converting datatypes with examples. 17. Explain the applications of stack. 18. Compare arrays and linked lists. 19. Mention the differences between graph and tree. SECTION C - (3x10 =30 marks) Answer any THREE questions. All questions carry equal marks. 20. Explain the structure of C++ program with an example. 21. Discuss on different types of parameter passing. 22. Explain different inheritance types. 23. Write a C++ program to count the number of lines, words, blank spaces of a given text file. 24. Write short notes on : (a) Hash tables. (b) Circular queue. -------------------------------------------------------------------------------------------------------------------------------