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

Cic 212 Java Assignment 3

This document is an assignment for the Programming in Java course at Bhawan Parshuram Institute of Technology, detailing tasks for students to complete. It includes building a calculator, explaining event handling, threading concepts, developing a multithreaded program, and creating a GUI interface with a menu bar. The assignment is due on April 15, 2025, and is worth a total of 25 marks.

Uploaded by

silentsoul00200
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)
4 views1 page

Cic 212 Java Assignment 3

This document is an assignment for the Programming in Java course at Bhawan Parshuram Institute of Technology, detailing tasks for students to complete. It includes building a calculator, explaining event handling, threading concepts, developing a multithreaded program, and creating a GUI interface with a menu bar. The assignment is due on April 15, 2025, and is worth a total of 25 marks.

Uploaded by

silentsoul00200
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/ 1

BHAGWAN PARSHURAM INSTITUTE OF TECHNOLOGY

Department of Computer Science & Engineering


ASSIGNMENT – 3 (Covering CO-3)
Subject Name: Programming in Java Maximum Marks: 25
Subject Code: CIC-212 Date of Submission: 15th April 2025
Faculty Name: Dr. Bhawna Suri

Max. B.T
Q.No. Questions Verb Used
Marks Level
Build a calculator as shown in the image.
Input – mdgc
Output - 10
Similarly workout for other numeric
values
1 5 6 Build

Explain the importance of Event handling in Java. What is the difference


What ,
between adapter class and interface class, explain with the help of an
2 5 1,3 & 6 Explain &
example. Develop the program to show the use of Border Layout with
Develop
various components.
What is thread, explain its lifecycle and different ways of creating a thread.
Build a thread in both ways and print the output-
Name of thread 't': Thread-0 What,
3 5 1,3 & 6
New name of thread 't': <Your Name> Explain &
Thread is running.

Develop a java multithreaded program, using the synchronized keyword


appropriately to ensure that the program prints the output in the following
order in multithreading:
-----------------OUTPUT-------------------
5
4 10 5 6 Develop
15
100
200
300
-------------------------------------------------
Develop a GUI interface using Menubar showing the Menu of following
items print the selection in a textfield.
Menubar- > B.Tech SBA Year
CSE BBA I
CSE-DS MBA II
5 AI-DS III 5 6 Develop
IT IV
ECE
EEE

You might also like