You are on page 1of 2

C++ QUESTIONS ALL TOPICS COVERED

1. a) Write a C++ program using functions for default arguments. (45)


b) Write a JAVA program using interfaces to calculate the area of rectangle and circle.
(45)
c) Viva-voce (10)

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)

4. a) Write a C++ program for various types of constructors. (45)


b) Develop a JAVA program to perform various strings functions. (45)
c) Viva-voce (10)

5. a) Develop a C++ program for constructor overloading. (45)


b) Develop a JAVA program for generating threads. (45)
c) Viva-voce (10)

6. a) Develop a C++ program to overload unary operators. (45)


b) Write a JAVA program with packages to arrange the list of numbers in ascending
order. (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)

9. a) Develop a C++ program for multi-level inheritance. (45)


b) Write a JAVA program to create two packages and import these packages in main
class and show the result. (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)

13. a) Write a C++ program for function overloading. (45)


b) Write a JAVA program to design a simple calculator. (45)
c) Viva-voce (10)

14. a) Write a C++ program to perform complex number subtraction by overloading an


operator using friend function. (45)
b) Develop a JAVA program using the concept of multithreading. (45)
c) Viva-voce (10)
15. a) Write a C++ program to find the biggest of two integer, two floating point numbers
using function templates. (45)
b) Write a JAVA program with a class named as “circle” that implements an interface
named as “circleinterface” and define the methods named as “area” and “circum” in the
class to find the area and circumference of the circle. (45)
c) Viva-voce (10)

16. a) Write a C++ program for runtime polymorphism. (45)


b) Write a JAVA program to perform the concept to single 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)

You might also like