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

B.Sc. Data Science Java Programming Syllabus

Uploaded by

hydiimc
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 views1 page

B.Sc. Data Science Java Programming Syllabus

Uploaded by

hydiimc
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

Approved [Link]. (Data Science) in the BOS in Statistics, Department of Statistics, O.U. in the meeting held on 18.05.

2024

[Link]. II-Year, IV-Semester (CBCS) Data Science Syllabus


Paper-IV (Practical): Programming in Java (Lab)
[2 HPW :: 1 Credit :: 25 Marks]

Course objectives and Outcomes:


1. Able to write java programs by developing logic to the given simple problem.
2. Able write java program with using OOPs concepts
3. Able to write java programs with usage of I/O streams, applets, string operations, event
handling, swings.

List of Programs:

1. Write a java program to find the largest of ‘n’ natural numbers.


2. Write a java program to find whether a given number is prime or not.
3. Write a menu driven program for following: Display a Fibonacci series and Compute Factorial of
a number.
4. Write a java program to check whether a given number is odd or even.
5. Write a java program to check whether a given string is palindrome or not.
6. Write a java program to print the sum and product of digits of an Integer & reverse the Integer.
7. Write a program to create an array of 10 integers. Accept values from the user in that Array. Input
another number from the user and find out how many numbers are equal to the number passed,
how many are greater and how many are less than the number passed.
8. Write a java program that will prompt the user for a list of 5 prices. Compute the average of the
prices and find out all the prices that are higher than the calculated average.
9. Write a java program in java to input N numbers in an array and print out the Armstrong numbers
from the set.
10. Write java program for the following matrix operations: Addition of two matrices and Transpose
of a matrix
11. Write a java program that computes the area of a circle, rectangle and a Cylinder using function
overloading.
12. Write a java program for the implementation of multiple inheritance using interfaces to calculate
the area of a rectangle and triangle.
13. Write a java program to create a frame window in an Applet. Display your name, address and
qualification in the frame window.
14. Write a java program to draw a line between two coordinates in a window.
15. Write a java program to display the following graphics in an applet window. a. Rectangles b.
Circles c. Ellipses d. Arcs e. Polygons
16. Write a program that reads two integer numbers for the variables a and b. If any other character
except number (0-9) is entered then the error is caught by Number Format Exception object. After
that [Link] Message () prints the information about the error occurring causes.
17. Write a program for the following string operations: a. Compare two strings b. concatenate two
strings c. Compute length of a string.
18. Create a class called Fraction that can be used to represent the ratio of two integers. Include
appropriate construction.

11 | P a g e

You might also like