Professional Documents
Culture Documents
2. a) Develop a C++ program using classes and member functions to find area of circle and
rectangle. (45)
b) Develop a JAVA program to perform sorting. (45)
c) Viva-voce (10)
3. a) Write a C++ program to swap two values using call by value. (45)
b) Develop a Java application to illustrate how user-defined exceptions are handled. (45)
c) Viva-voce (10)
7. a) Write a C++ program for file handling using sequential file access. (45)
b) Write a JAVA program to implement exception handling for dividing 2 numbers. (45)
c) Viva-voce (10)
8. a) Write a C++ program for file handling using random file access. (45)
b) Write a JAVA program to handle division by zero exception. (45)
c) Viva-voce (10)
10. a) Write a C++ program to find area of circle and rectangle using virtual function. (45)
b) Write a JAVA program to sort the numbers in ascending and descending order. (45)
c) Viva-voce (10)
C++ QUESTIONS ALL TOPICS COVERED
11. a) Write a C++ program to overload insertion and extraction operator. (45)
b) Write a JAVA program with three threads named as “one”,” two”, “three” and initiate
these threads from the main thread and show the result (45)
c) Viva-voce (10)
12. a) Develop a C++ program using class concept with static data member and member
function. (45)
b) Write a JAVA program to illustrate multilevel inheritance. (45)
c) Viva-voce (10)
17. a) Write a C++ program to swap two numbers using call by reference. (45)
b) Develop a java program to perform various string operations such as string compare,
string length and string concatenation. (45)
c) Viva-voce (10)