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

IT11L Practical Assignment

Download as docx, pdf, or txt
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 2

IT-11L Practicals Assignment

Java Programming Practical Assignment

1. Write a program in java to check whether the entered character through command line
argument and check character is alphabet, digit or space character. If it is alphabet,
then print whether it is capital or small alphabet. Also change the alphabet into the
reverse case.
2. WAP to accept three file names and copy the contents of first 2 files in a third file.

3. Accept a string from command line. Check whether vowel exists in the string or not.
If vowel is not present, then raise user defined exception ‘No vowel in the string’.

4. Write a program that create and run the following threads.


a. To print letter “SURYADATTA” 50 times
b. To print integer 1 through 60.

5. Write a program for moving ball randomly in Multithreading

6. Design an application with three scrollbars Red, Green, and blue. When click on any
of the scrollbar change the background colour accordingly. (Use AWT).

7. Write an application with three buttons Red, Green, Blue. When user click any button
change the background colour of window as caption of that clicked button.

Data Structure and Algorithm Practical Assignment

1) Write a program in JavaScript to Demonstrate singly Linked list with following


operations
a. Insert Last node
b. Insert specific node
c. Delete First node
d. Delete last node
e. Display
2) Write a program in JavaScript to Demonstrate doubly linked list with following
operations
a. Insert Last node
b. Insert specific node
c. Delete First node
d. Delete specific node
e. Display

3) Write a program in JavaScript to Reverse a string using stack.


4) Write a program in JavaScript to Check for balanced parentheses by using Stacks.
5) Write a program in JavaScript to Demonstration of Circular Queue
6) Write a program in JavaScript to implement binary search tree with following
operation
a. Create Binary Search Tree
b. Inorder and Postorder traversal of Binary Search Tree.
c. Delete any node in Binary Search Tree.
7) Write a program in JavaScript to implement Prims Algorithm.

Dear all MCA Students,

Kindly Prepare this practical assignment till Saturday 18 th March 2023 and submit in hard copy as
well as upload soft copy with output screenshots on ERP.

It is compulsory to all .

Java Program Execution :


1) Write java program on notepad e.g. D\Suryadatta\Sample.java select Save
as All files “sample.java” not sample.java.txt
2) compilation of java program
Open cmd prompt change directory as D:\Suryadatta>
D:\Suryadatta>javac sample.java
3)To run java program type
D:\Suryadatta>java sample

You might also like