0% found this document useful (0 votes)
15 views

OOPs Lab Question Bank

Oops questions to study

Uploaded by

znovelgame
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

OOPs Lab Question Bank

Oops questions to study

Uploaded by

znovelgame
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

DEPARTMENT OF INFORMATION TECHNOLOGY

CS3381 - OBJECT ORIENTED PROGRAMMING LABORATORY

Question Bank

1. Solve problem by using sequential search algorithms (Selection, insertion)

2. Solve problem by using binary search sorting algorithms (Selection, insertion)

3. Solve problem by using quadratic sorting algorithms. (Selection, insertion)

4. Develop stack and queue data structures using classes and objects.

5. Develop a java application with an employee class with members for generate pay
Slip using inheritance.

6. Write a java program to create abstract class for calculating area of different shape.

7. Write a java program to create interface for calculating area of different shape.

8. write a java program for implementing user defined exceptions handling.

9. write a java program for implementing multi-threaded application.

10. write a java program that reads a file name from the user, displays information about
whether the file exists, whether the file is readable, or writable, the type of file and the
length of the file in bytes.

11. write a java program for implementing generic class.

12. Design a calculator as a mini project using event driven programming paradigm of
java with the following options a) Decimal Manipulations b) Scientific Manipulations.
13. Develop queue data structures using classes and objects.

14. Write a Java Program to create an abstract class named sum of Two and sum of Three.
Perform addition of two numbers and addition of three numbers

15. Write a program to Check Prime Number using Interface.

16. Write a Java program to find the sum value of two given type of elements using a generic
class.

17. Write a java program that implements a multithread application that has three threads. First
thread generates random integer every one second and if the value is odd, second thread
computes the square of the number and prints the value is even, the third will print the
cube of the number.

18. Create a Java Application to calculate GPA for 5 subjects using the marks of the subject
and credits of the subject and implement a user defined exception for subject mark, credits,
subject name, and subject code.

19. Write Java programs to implementing Arithmetic exception and implementing Array
IndexOutOfBound exception.

20. Write a Java program that keeps a number from the user and generates an integer
between 1 and 12 and displays the name of the month.

1. Solve problem by using sequential search algorithms (Selection, insertion)

2. Solve problem by using binary search sorting algorithms (Selection, insertion)

3. Solve problem by using quadratic sorting algorithms. (Selection, insertion)

4. Develop stack and queue data structures using classes and objects.
5. Develop a java application with an employee class with members for generate pay
Slip using inheritance.

6. Write a java program to create abstract class for calculating area of different shape.

7. Write a java program to create interface for calculating area of different shape.

8. write a java program for implementing user defined exceptions handling.

9. write a java program for implementing multi-threaded application.

10. write a java program that reads a file name from the user, displays information about
whether the file exists, whether the file is readable, or writable, the type of file and the
length of the file in bytes.

11. write a java program for implementing generic class.

12. Write a program to demonstrate static variables, methods, and blocks.

13. Develop queue data structures using classes and objects.

14. Write a Java Program to create an abstract class named sum of Two and sum of Three.
Perform addition of two numbers and addition of three numbers

15. Write a program to Check Prime Number using Interface.

16. Write a Java program to find the sum value of two given type of elements using a generic
class.

17. Write a java program to illustrate usage of try/catch with finally clause.

18. Write a program to demonstrate static variables, methods, and blocks.


19. Write Java programs to implementing Arithmetic exception and implementing Array Index
OutOfBound exception.

20. a) Write a program to give the example for method overriding concepts.

b) Write a program to give the example for ‘super’ keyword.

You might also like