You are on page 1of 18

Shivnagar Vidya Prasarak

Mandal’s
INSTITUTE OF TECHNOLOGY AND
ENGINEERING
Malegaon (Bk.), Tal: Baramati, Dist: Pune, Pin: 413115.

DEPARTMENT OF INFORMATION TECHNOLOGY

A MICRO PROJECT REPORT ON

“ Grocery Management System ”

Submitted By

Mr. Viraj Suresh Khandekar


Mr. Dinesh Anil Jagtap
Mr. Santosh Gorakh Jadhav

Class :Second Year (IF4I)


Course Name and Code: Java Programming(22412)

Under the Guidance


Prof. Mrs. Atole J.A.

Academic Year 2022-2023


MICRO PROJECT REPORT

Name of Institute: SVPM’s Institute Technology & Engineering,


Malegaon(bk)

Name of course: Java Programming


Course code: 22412
Title of Project : Grocery Management System
Name of Teacher: Prof. Atole J.A.
Academic Year: 2022-2023
Class: SYIF Semester: 4 Scheme: I

Sr.No. Roll No Enrollment No Name of the student


1 05 2100380087 Mr. Santosh Gorakh Jadhav
2 15 2100380097 Mr. Viraj Suresh Khandekar
3 18 2100380100 Mr. Dinesh Anil Jagtap
MICRO PROJECT REPORT

Name of Institute: SVPM’s Institute Technology & Engineering,


Malegaon(bk)

CERTIFICATE
Mr. Santosh Gorakh Jadhav Enrollment No:2100380087
Mr. Viraj Suresh Khandekar. Enrollment No:2100380097
Mr. Dinesh Anil Jagtap Enrollment No:2100380100

of fourth Semester of Diploma in Information Technology have successfully completed


the Micro Project work in Java Programming (22412) for the Academic year 2022-23
as prescribed in MSBTE curriculum under the guidance of subject teacher.

Prof.Atole J.A. Prof. H.S. Kadam Prof. R. M. Wabale


Subject Teacher HOD Principal
ACKNOWLEDGEMENT

We express our deep gratitude toward our guide Prof. Atole J.A. lecturer of
Computer Engineering department for providing us with an opportunity to work with this
project, through her timely advice, constructive criticism and supervision.

We also thanks to Prof. H. S. KADAM H.O.D. of Informay department for their


persistent inspection inspiration. We also very much thankful to our Principal
Prof.R.M. Wabale who has been a constant source of inspiration to complete the
work.

By

Mr. Santosh Gorakh Jadhav

Mr. Viraj Suresh Khandekar

Mr. Dinesh Anil Jadhav


ANNEXURE II
EVALUATION SHEET FOR MICRO PROJECT
Academic Year : 2022-2023 Name of Faculty : Prof. Atole J.A.
Course: Java Programming Course Code: 22412 Semester: IV
Title of the Project: Grocery Management System
COs addressed by the Micro Project .
a) …………………………………………………………………………………………………….…….………
b) …………………………………………………………………………………………………….…….……...
c) …………………………………………………………………………………………………….…….………
d) ……………………………………………………………………………………………………….………….
Major learning outcomes achieved by students by doing the project
a) Unit Outcomes (Cognitive Domain)
………………………………………………………………………………………………..
……………………………………………………………………………………………….
b) Practical Outcomes (in Psychomotor Domain)
………………………………………………………………………………………………
………………………………………………………………………………………………

c) Affective Domain Outcomes


……………………………………………………………………………………………...
………………………………………………………………………………………………
Comments/Suggestions about team work/leadership/inter-personal communication (if any)
……………………………………………………………………………………………...
………………………………………………………………………………………………
Sr. Marks out of 6 for Marks out of 4
Total out
No Student Name performance in for performance
of 10
group activity in oral /
(D5 Col. 8) presentation
(D5 Col. 9)
05 Santosh Gorakh Jadhav
15 Viraj Suresh Khandekar
18 Dinesh Anil Jagtap

Name & Signature of faculty

Prof. Atole J.A.


INDEX

Title Page No.


Chapter 1 Introduction.....................................................
1.1 Introduction.................................................
Chapter 2 System Requirements............................................
2.1 Software Requirement.....................................
2.2 Hardware Requirement....................................

Chapter 3 Source Code and Snapshot’s....................................

Chapter 4 Conclusion.........................................................
 Introduction

This application used to facilitate mass customer management and room booking
Portal to support Hotel management.
Project consists of following operations:

1.Insert:

In insert operation we can insert the number of record of product as the customer
requirement.

2. Display:

Display operation can display all record of products .

3. Search:

In search operation we can search all record present in the data. Customer can search
the product information by their names.
.

4. Date Wise Search:

In search operation we can search all record present in the data. Customer can search
the product information by their date and also find the sales per day.

5. Try & Catch Block:

The Try Catch in java statements allows you to define a block of code to be tested for exceptions
(errors) while it is being executed. The Try Catch in Java always occurs in pairs; the catch
statement allows you to define a block of code to be executed, if an error occurs in the try block.

Syntax :

Try
{
//Block of code to monitor for errors
}
Catch(Exception e)
{
//Statements for Exception Handler
}
6. Exception :

 Common checked exceptions include IOException, DataAccessException,


InterruptedException, etc. Common unchecked exceptions include ArithmeticException,
InvalidClassException, NullPointerException, etc.
 RuntimeException is the superclass of those exceptions that can be thrown during the
normal operation of the Java Virtual Machine. A method is not required to declare in its
throws clause any subclasses of RuntimeException that might be thrown during the
execution of the method but not caught.

7. For Loop:

For Loop is a looping structure that is used to execute a sequence of code until the given
condition returns false. The best condition to use for loop is when the number of iterations is known in
advance.
Syntax :

for(initialization; test condition; inc/dec)


 System Requirements

Software Requirements :

Operating System : Windows 11

Software : jdk 1.8

Hardware Requirements :

Processor : Ryzen R5

RAM : 8 GB RAM

SSD : 512 GB
 Source Code
import java.io.*;

class Grocery

String productname;

double price;

int quantity;

double amt;

String date;

void indetails()

Try

BufferedReader br=new BufferedReader (new InputStreamReader (System.in));

System.out.println("ENTER THE PRODUCT NAME");

productname=br.readLine();

System.out.println("ENTER THE PRODUCT PRICE");

price=Double.parseDouble(br.readLine());

System.out.println("ENTER THE PRODUCT QUANTITY ");

quantity=Integer.parseInt(br.readLine());

System.out.println("ENTER THE DATE ");

date=br.readLine();

System.out.println("***********************************");

}
catch(Exception e)

System.out.println(e);

void putdetails()

System.out.println("********* DETAILS OF THE PRODUCT *************");

System.out.println("NAME OF THE PRODUCT="+productname);

System.out.println("PRICE OF THE PRODUCT="+price);

System.out.println("QUANTITY OF THE PRODUCT="+quantity);

System.out.println("DATE="+date);

System.out.println("TOTAL AMOUNT =>"+(price*quantity));

class Groceryinfo extends Grocery

public static void main(String args[])

{ int i=0;

int n=0;

int cnt=0;

double b=0;

double act_pro=0;
try{

BufferedReader br= new BufferedReader(new InputStreamReader(System.in));

Int choice;

Groceryinfo g[]=new Groceryinfo[6];

for(i=0;i<6;i++)

g[i]=new Groceryinfo();

do{

System.out.println("enter your choice 1. add details 2.display 3.search 4.date wise search 5. Exit ");

choice=Integer.parseInt(br.readLine());

switch(choice)

case 1:

System.out.print("HOW MANY RECORD'S DO YOU WANT TO INSERT : ");

n=Integer.parseInt(br.readLine());

for(i=0;i<n;i++)

g[i].indetails();

b=b+(g[i].price*g[i].quantity);

System.out.println("TOTAL BILL IS => "+b);

break;
case 2:

for(i=0;i<n;i++)

g[i].putdetails();

break;

case 3:

int flag=0;

System.out.println("enter the name to search");

String name=br.readLine();

for( i=0;i<n;i++)

if(name.equalsIgnoreCase(g[i].productname))

System.out.println("** DETAILS OF PRODUCT **");

g[i].putdetails();

flag=1;

if(flag==0)

System.out.println("record not found ");

break;
case 4:

System.out.println("enter the date");

String d1=br.readLine();

for( i=0;i<n;i++)

if(d1.equalsIgnoreCase(g[i].date))

System.out.println("****DETAILS OF PRODUCT****");

for(i=0;i<n;i++)

System.out.println("NAME OF THE PRODUCT="+g[i].productname);

for(i=0;i<n;i++)

cnt=cnt+g[i].quantity;

System.out.println("TOTAL SALE ON THIS DATE ="+cnt);

flag=1;

}while(choice<5);

System.out.println("thanks for using code");


}catch(Exception e)

System.out.println(e);

}
 Output
Conclusion

Grocery Management are developed for the professional handling of the Grocery sales and
buying as well as the management of the whole Grocery. It is very easy and useful
application software that increases the productivity of the business .

You might also like