[Go to site: main page, start]

0% found this document useful (0 votes)
7 views2 pages

Java Lab Experiments for BCA Students

The document outlines the laboratory plan for the Programming in Java Lab course for the II B.C.A program at Sri Krishnasamy Arts and Science College for the academic year 2025-2026. It includes a list of experiments that students are required to complete, such as writing Java programs for various tasks including prime number generation, matrix multiplication, string manipulation, and multi-threading applications. The plan specifies the course coordinators and includes sections for lab test dates and record submission.

Uploaded by

skaasc.csdept
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)
7 views2 pages

Java Lab Experiments for BCA Students

The document outlines the laboratory plan for the Programming in Java Lab course for the II B.C.A program at Sri Krishnasamy Arts and Science College for the academic year 2025-2026. It includes a list of experiments that students are required to complete, such as writing Java programs for various tasks including prime number generation, matrix multiplication, string manipulation, and multi-threading applications. The plan specifies the course coordinators and includes sections for lab test dates and record submission.

Uploaded by

skaasc.csdept
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

SRI KRISHNASAMY ARTS AND SCIENCE COLLEGE

(Affiliated to Madurai Kamaraj University)


AN ISO 9001:2015 Certified Institution
METTAMALAI (Post) – SATTUR – 626 203
LABORATORY PLAN

Department : Computer Application Semester: IV


Program & Section : II B.C.A Year: 2025-2026
Course Code & Title : Programming in Java Lab
Cycle Number : I / II / Model
Course Coordinator (In-charge) : Mrs. [Link]
Course Coordinator (Supporting) :
Lab Test Dates : Test I - Test II - Model -
Record Submission Date :
Actual Date
Starting Group Roll HOD
S. No Name of the Experiment
Number
of
Review
Completion
Write a Java program that prompts the user for
an integer and then prints
1
out all the prime numbers up to that Integer.

Write a Java program to multiply two given


2 matrices.

Write a Java program that displays the number


3 of characters, lines and words in a text

Generator and om numbers between two given


4 limits using R and om class and print messages
according to the range of the value generated.

Write a program to do String Manipulation


using Character Array and perform the
5 following string operations: 1) String length. 2)
Finding a character at a particular position. 3)
Concatenating two strings

Write a program to perform the following string


operation susing String class: 1) String
6 Concatenation 2) Search a substring. 3) To
extract substring from given string

Write a program to perform string operations


using String Buffer class: 1) Length of a string
7 2) Reverse a string. 3) Delete a sub string from
the given string

8 Write a java program that implements a multi-


thread application that has three threads. First
thread generates random integer every 1 second
and if the value is even, second thread computes
the square of the number and prints. If the value
is odd, the third thread will print the value of
cube of the number.
Write a threading program which uses the same
9 method asynchronously to print the numbers
1to10 using Thread1 and to print 90 to100 using
Thread2.
Write a program to demonstrate the use of
following exceptions. 1) Arithmetic Exception.
2) Number Format Exception. 3) Array Index
10
Out of Bound Exception. 4) Negative Array Size
Exception

Write a Java program that reads on file name


from the user, then displays information about
11 whether the file exists, whether the file is
readable, whether the file is writable, the type of
file and the length of the file in bytes.
Write a program to accept a text and change its
12 size and font. Include bold italic options. Use
frames and controls.

Write a Java program that handles all mouse


13 events and shows the event name at the center of
the window when a mouse event is fired. (Use
adapter classes).
Write a Java program that works as a simple
calculator. Use a grid layout to arrange buttons

14 for the digits and for the +, -,*,% operations.


Add a text field to display the result. Handle any
possible exceptions like divide by zero.

Write a Java program that simulates a traffic


light. The program lets the user select one of
three lights: red, yellow, or green with radio
15 buttons. On selecting a button, an appropriate
message with―stop‖or―ready ‖or-go‖ should
appear above the buttons in a selected color.
Initially there is no message shown.

Staff-Incharge HOD PRINCIPAL

You might also like