MIT Art, Design and Technology University, Rajbaug, Pune
MIT School of Engineering
Department of Computer Science & Engineering
LAB MANUAL
Subject: Mini Project II
Course: Second Year CSE
Subject Code: 19BTCS421/ 19BTIS421/ 19BTNS421
Academic Year: 2020-21
Prepared & Compiled by:
Prof. Sonali Deshpande
Course Code Course Title Categor
y
19BTCS42119BTIS42119BTN
S421
Mini Project II
Contact Hours per Week CA FE Credits
L T
D/P
Prerequisite: C/C++ programming
Course Objectives:
1. To Learn and understand Java Programming Fundamentals
2. To Demonstrate the knowledge of Java Programming for computer graphics applications.
3. To Build robust applications to solve real time problems
Course Outcomes: (Students will be able to-)
1. Students will be able to use Java compiler and eclipse platform to write and execute java
program.
2. Understand and Apply Object oriented features and Java concepts.
3. Students will be able to apply the concept of multithreading and implement exception handling.
4. Develop applications using Console I/O and File I/O,GUI applications
Experiment No: 1.
Title:
Write a program that prints its own grading form. The program should output the name
and number of the class, the name and number of the programming assignment, your
name and student number, and labeled spaces for scores reflecting correctness, quality
of style, late deduction, and overall score. Have the program input the name, ID
number, and assignment number as strings. An example of such a form is the following:
Objective:
Theory: Q1. Explain JDK, JRE and JVM?
Q2. Explain public static void main(String args[]) in Java
Conclusion:
Code:
Output (Screenshots):
Experiment No: 2
Title:
Write a Java application that calculates and prints the diameter, the circumference, or the
area of a circle, given the radius. The application should input a character corresponding to
one of three actions: D for diameter, C for circumference, and A for area.
Objective:
Theory: 1. What are classes in Java?
2. What are constructors in java explain types of constructor.
Conclusion:
Code:
Output (Screenshots):
Experiment No: 3
Title: Design and write a Java application that takes as input an integer and a character
from the screen. The output should be a diamond on the screen composed of the
character and extending for the width specified by the integer. For example, if the
integer is 11 and the character is an asterisk (*), the diamond would look like this:
Objective:
Theory:
1. Why the main method is static in java?
2. What happens if you remove static modifier from the main method?
Conclusion:
Code:
Output (Screenshots):
Experiment No: 4
Title:
Write a java program using the concept of class and object to create application for bank
management. Program should include following options: 1. Create Account 2.Search By
Account No. 3. Deposit 4.Withdrawal 5. Display all account data
Objective:
Theory:
1. What do you mean by Access Modifier?
2. Define Packages in Java? Why Packages are used?
Conclusion:
Code:
Output (Screenshots):
Experiment No: 5
Title:
Write a java application to demonstrate the concept of inheritance for given example.
Objective:
Theory:
1. What is Inheritance?
2. Why do we need inheritance?
3. What type of inheritance does java support?
Conclusion:
Code:
Output (Screenshots):
Experiment No: 6
Title:
Write a java application to create login Page and demonstrate JDBC/ODBC Connectivity.
Objective:
Theory:
1. What is JDBC/ ODBC?
2. What are different classes needed for connection?
Conclusion:
Code:
Output (Screenshots):