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

OOPList of Assignments Jul-Dec 2024

The document outlines a list of programming assignments for a Skill-based Lab Course in Object Oriented Programming with Java for SE (Computer Engineering) students during the July-December 2024 semester. It includes various tasks focused on Java programming concepts such as input handling, basic constructs, arrays, classes, exception handling, multithreading, and GUI applications. Additionally, there are written assignments on Java features, thread lifecycle, and JDBC architecture.

Uploaded by

shubhambabutale
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)
10 views4 pages

OOPList of Assignments Jul-Dec 2024

The document outlines a list of programming assignments for a Skill-based Lab Course in Object Oriented Programming with Java for SE (Computer Engineering) students during the July-December 2024 semester. It includes various tasks focused on Java programming concepts such as input handling, basic constructs, arrays, classes, exception handling, multithreading, and GUI applications. Additionally, there are written assignments on Java features, thread lifecycle, and JDBC architecture.

Uploaded by

shubhambabutale
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

List of Assignments (Jul-Dec 2024)

Lab Name:Skill based Lab Course: Object Oriented Programming with Java
Lab Code : CSL304
Class :SE (Computer Engineering ) Sem : III

1. Program on accepting input through keyboard.


a. WAP to print the Percentage range of a student as per following criteria for the
grade accepted via Scanner Class
Percentage Grade
0-60 F
61-70 D
71-80 C
81-90 B

91-100 A
b. Admission to a Professional Course is based on following conditions :
i. Marks in mathematics >=60
ii. Marks in Physics >=50
iii. Marks in Chemistry >=40
iv. Total marks in three subjects >=200
Accept the marks in three subjects( use BufferedReader class) and
decide if the student is eligible to get admission or no

2. Programs on Basic programming constructs like branching and looping


a. WAP to print a two dimensional table of squares of numbers from 1 to 25
using for loop
b. WAP to find number of and sum of all integers greater than 100 and less than
200 that are divisible by 7

3. Programs based on Command-line arguments


a. WAP to accept student’s details via command line and display on the screen
b. WAP to calculate minimum and maximum of three numbers accepted via
Command line.
4. Programs on Classes and objects
a. WAP to read and display details of an employee using single class and its
object
b. WAP to find maximum of three numbers using conditional operator, using two
classes and function returning result

5. Programs on One Dimensional Arrays


a. WAP to count number of even and odd elements from an array
b. WAP to count total marks and highest marks obtained by a student.

6. Programs on Two Dimensional Arrays


a. WAP to find Transpose of a Matrix (One class ,only main)
b. WAP to pass a 2D Matrix to a function which determines if it is a square
matrix. If not, program should come to end else the program should find sum
of all diagonal elements of a Matrix.
7. Programs on Array of Objects
a.

For Annual Examination results of 5 students, taking into consideration marks


obtained in three subjects, WAP to determine
i. Determine Total marks obtained by each student
ii. The student who obtained highest total marks

8. Program on Strings
a. WAP to check if a string is a palindrome
b. WAP to accept a string from user and display the number of uppercase,
lowercase, special characters, blank spaces & digits present in the accepted
string.
9. Program on Method and Constructor overloading.
a. Calculate area of different shapes (Square, Rectangle, Circle) using method
overloading and multiple class concept.
b. Calculate area of different shapes (Square, Rectangle, Circle) using
constructor overloading and multiple class concept.
10. Program on Exception Handling
a. WAP to catch any three built-in exceptions

11. Program on User Defined Exception

a. WAP to accept any integer from the user & if the entered number is not any
of 5 or 6 or 7 then create an exception & catch it
b. WAP to create an exception ‘PayOutOfBounds’ when the basic pay paid to
the Superintendent it is less than 25,000 and greater than 50,000.

12. Program on Multithreading


a. WAP to create two threads and fetch the names of the thread.
b. WAP that has two threads. One of the threads should print odd numbers from
1 to 15 while the other displays even number.

13. Program on Packages


Write a program to perform four basic Arithmetic Operations using packages
Each operation should be a part of each class inside the package
Main class should import all the packages and perform operations.

14. Program on Inheritance


Write a Java program to implement following Inheritance.

Staff

Code

Name

Address
Teacher Officer

Subject
Class Typist Grade

Speed

Regular Ad-Hoc

Basic Pay Basic Pay


15. Program to create a GUI based Application
Create a registration form containing required fields .
The form should have all the studied components
The form should have minimum two buttons “Submit” and “Cancel”….giving
appropriate messages at corresponding click

16. Written Assignment #01


Write Short Notes on
a. Features of Java
b. JVM, JDK & JRE
c. Wrapper Classes
d. Life cycle of a Thread

17. Written Assignment #02


Write Short Notes on
a. Thread synchronization
b. Abstract classes
c. JDBC Drivers and Architecture
d. Life cycle of an applet

Subject In-charge
Juhi Janjua

You might also like