0% found this document useful (0 votes)
13 views4 pages

Oops Set 2

The document outlines the practical examination for the Object Oriented Programming Laboratory for B.E/B.Tech students in the third semester, detailing various programming tasks to be completed in Java. Students are required to implement programs covering topics such as data structures, sorting algorithms, multi-threading, file operations, JavaFX UI controls, and exception handling. The exam consists of one question to be answered within three hours, with a maximum score of 100 marks distributed across different assessment criteria.

Uploaded by

crackersff
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)
13 views4 pages

Oops Set 2

The document outlines the practical examination for the Object Oriented Programming Laboratory for B.E/B.Tech students in the third semester, detailing various programming tasks to be completed in Java. Students are required to implement programs covering topics such as data structures, sorting algorithms, multi-threading, file operations, JavaFX UI controls, and exception handling. The exam consists of one question to be answered within three hours, with a maximum score of 100 marks distributed across different assessment criteria.

Uploaded by

crackersff
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

B.E / B.Tech.

PRACTICAL END SEMESTER EXAMINATIONS, NOVEMBER/DECEMBER 2022

Third Semester

CS3381 - OBJECT ORIENTED PROGRAMMING LABORATORY

(Regulations 2021)

Time: 3 Hours Answer any one Question Max. Marks 100

Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva- Record Total


required/Procedure Program/Drawing & Results Voce
20 30 30 10 10 100

1. Implement a java program that illustrates the following Concept

(i) Creation of a simple package (ii) Accessing a package (ii) Implementing interfaces
2. Write a Java program to perform the following operations:
(i) Insert an element into a binary search tree.
(ii) Delete an element from a binary search tree.
(iii) Search for a key element in a binary search tree.

3. Implement a Java program to perform the following operations:


(i) Insert an element into a sequential search tree.
(ii) Delete an element from a sequential search tree.

(iii) Search for a key element in a sequential search tree.

4. a) Java programs for implementing the following sorting methods:


(i) Bubble sort (ii) Selection sort
(iii)Implement Java programs by using sorting methods: quadratic sorting algorithms
(1)Selection sorting (2)Insertion sorting

Page 1 of 4
5. Write Java programs to implement the following using a singly linked list
(a) Stack ADT(b) Queue ADT

Implement a Java program to implement the following using classes and objects
(a) Stack ADT(b) Queue ADT

6. Develop a Bank Application that manages deposit and withdrawal.

Develop a java code to implement a Bank Application that manages deposits, account
balances, and withdrawals by using the inheritance concept.

7. Write a java program that implements a multi-threaded application that has three threads.
The first thread generates a random integer every second and if the value is even, the second
thread computes the square of the number and prints. If the value is even, the third thread
will print the value of the cube of the number.

8. Implement a program to perform file operations i) new File creation, ii) retrieve file the
properties (information about the file) iii) File read and write.

9. Implement a code to demonstrate the features of i) generics class ii) generics method

10. Develop applications using JavaFX UI controls i) Label ii) button

11. Develop applications using JavaFX UI controls i) Radio Button ii) Checkbox

12. Develop applications using JavaFX UI controls i) Text Field ii) Password

13. Develop applications using JavaFX UI controls i) Hyperlink ii) Menu

14 Implement a Java code using JavaFX Layouts properties: i) BorderPane ii)HBox

15. Implement any two properties of JavaFX Layouts.

Page 2 of 4
16. Implement a Java Program to create an abstract class named Shape that contains two integers
and an empty method named printArea (). Provide three classes named Rectangle, Triangle,
and Circle such that each one of the classes extends the class Shape. Each one of the classes
contains only the method printArea () that prints the area of the given shape.

17. Implement a Java Program to create an abstract class named Shape that contains two integers
and an empty method named printArea (). Provide three classes named Rectangle, Triangle,
and Circle such that each one of the classes extends the class Shape. Each one of the classes
contains only the method printArea() that prints the area of the given shape by using an interface.

18. a) Develop a simple calculator application using Java Concept.

a. Implement an exception handling throwing an exception for Checking the


@symbol in email-id
19. a) Implement a java code for the multiplication table by using Multi-threading.

a. Implement an exception handling throwing an exception for password mismatch

Page 3 of 4
Page 4 of 4

You might also like