0% found this document useful (0 votes)
5 views1 page

OOPs labModel questions

The document outlines a model examination for the Object Oriented Programming Laboratory for CSE II/III students. It includes various programming tasks in Java, such as implementing search algorithms, data structures, exception handling, multi-threading, and JavaFX applications. Each task requires students to demonstrate their understanding of object-oriented programming concepts and Java syntax.

Uploaded by

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

OOPs labModel questions

The document outlines a model examination for the Object Oriented Programming Laboratory for CSE II/III students. It includes various programming tasks in Java, such as implementing search algorithms, data structures, exception handling, multi-threading, and JavaFX applications. Each task requires students to demonstrate their understanding of object-oriented programming concepts and Java syntax.

Uploaded by

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

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

LAB MODEL EXAMINATION

Branch/Year/Sem/Sec : CSE/ II / III


Subject Code/Name : CS3381 / Object Oriented Programming Laboratory

1a) Write a java program to Solve problems by using sequential search.


1 b) Write a java program to Solve problems by using binary search
1 c) Write a java program to Solve problems by using quadratic sorting algorithms (selection)
1 d) Write a java program to Solve problems by using quadratic sorting algorithms (insertion)
2 a) Write a java program to Develop stack data structures using classes and objects.
2 b) Write a java program to Develop QUEUE data structures using classes and objects.
3 a) Write a java program to develop a code to check whether a number is odd or even using the constructor.
4. Write a java program to calculate the area of rectangle,circle and triangle using the concept of abstract
class.
5 a) Write a java program to create an abstract class named Shape that contains two integers and an empty
method named printArea() using Interface
5 b) Write a java program to Develop a Java code to find an area of the square and rectangle using a java
interface.
5 c) Write a java program to create an interface that interface is having two methods called add() and sub().
Create a class for overloading the given methods for the addition and subtraction of two numbers.
6. Write a java program to implement exception handling and creation of user defined exceptions.
7. Write a java program to find the maximum value from the given type of elements using a generic
function.
8.Write a java program to implement a multi-threaded application that has three threads. First thread
generates a random integer every 1 second and if the value is even, the second thread computes the square
of the number and prints. If the value is odd, the third thread will print the value of the cube of the number
9. Write a java program to read 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.
10 a)Write a java program to Develop applications using JavaFX controls and layouts.
10 b)Write a java program to Develop applications using JavaFX controls and menus.

You might also like