Garment Management
Garment Management
Project Report on
STUDENT RESULT MANAGEMENT SYSTEM
INFORMATICS PRACTICES
FOR
CLASS XII
(2023-24)
Submitted in partial fulfillment of the requirement of CBSE, Delhi
M.Meenakshi
REG NO: 20672919
INFORMATICS PRACTICES
2023-2024
BONAFIDE CERTIFICATE
DECLARATION
I hereby declare that the project work
entitled
guidance of
R. SUGANTHI (PGT IP) is a record of original work done
this has not been submitted elsewhere for any other Class.
ACKNOWLEDGEMENT
Signature of the
student
TABLE OF CONTENTS
S.NO DESCRIPTION PAGE NO
01 INTRODUCTION 05
02 OBJECTIVES OF THE PROJECT 05
03 SCOPE OF THE PROJECT 06
04 HARDWARE AND SOFTWARE REQUIREMENTS 07
05 SYSTEM DEVELOPMENT LIFE CYCLE (SDLC) 08
06 SOURCE CODE 16
07 OUTPUT 19
08 TESTING 20
09 FUTURE ENHANCEMENT
10 CONCLUSION 23
11 BIBLIOGRAPHY
INTRODUCTION
Clothing Store. The purpose of the software project is to develop a program which
provides a friendly interface for the user to explore the products of the clothing store
and buy them according to their choice. This program mainly brings forth the usage of
GUI programming in the daily usage over the network. The program when made to
work over the network can prove to be an ultimate way of interaction between the user
for a particular subject or purpose, capable to produce different reports relevant to the
user. An application program is tied with the database for easy access and interface to
the database. Using Application program or front-end, we can store, retrieve and
This software, being simple in design and working, does not require much of training
to users, and can be used as a powerful tool for the automating the Clothing Store.
During coding and design of the software Project, Java NetBeans IDE, a powerful front-
end tool is used for getting Graphical User Interface (GUI) based integrated platform
and coding simplicity. As a back-end a powerful, open source RDBMS, My SQL is used
The objective of the software project is to develop a computerized MIS to automate the
functions of a Clothing Store. This software project is also aimed to enhance the
current record keeping system, which will help managers to retrieve the up-to-date
✓ To provide a user friendly, Graphical User Interface (GUI) based integrated and
✓ The proposed system should maintain all the records and transactions, and should
In its current scope, the software enables user to retrieve and update the information from
centralized database designed with MySQL. This software does not require much training time
of the users due to limited functionality and simplicity.
During the development of Clothing Store "Vogue" project, Java NetBeans IDE, a powerful.
open source event-driven form-based development environment is used for modular design and
Despite of the best effort of the developer, the following limitations and functional boundaries
1. This software can store records and produce reports in pre-designed format in soft copy.
There is no facility yet to produce customized reports. Only specified reports are
covered.
2. There is no provision to calculate fine or penalty etc. for defaulter members; however it
3. Some application areas like updation of stock, saving of last purchase etc. are not
implemented in the project. It facilitates the buyer to go through the products of the store
and choose as per his wish to buy the product. This project is made by keeping in mind
that it is to be used over the network, which can facilitate ease of shopping
So far as future scope of the project is concerned, firstly it is open to any modular expansion Le.
other modules or functions can be designed and embedded to handle the user need in future. Any
part of the software and reports can be modified independently without much effort.
SYSTEM SPECIFICATION
HARDWARE REQUIREMENTS:
I.OPERATING SYSTEM :
WINDOWS 7 AND ABOVEC
II. PROCESSOR :
PENTIUM(ANY) OR AMD
K9MM-V VIAK8M800+8237R
PLUS CHIPSETFOR AMD
ATHALON
RAM : 512MB+
Hard disk : SATA 40 GB OR ABOVE
CD/DVD r/w multi drive combo: (If back up required)
FLOPPY DRIVE 1.44 MB : (If Backup required)
MONITOR 14.1 or 15 -17 inch
Key board and mouse
Printer : (if print is required – [Hard copy])
SOFTWARE REQUIREMENTS:
PYTHON :
History of Python:
Python was developed by Guido van Rossum in the late eighties and early
nineties at theNational Research Institute for Mathematics and Computer Science
in the Netherlands.
Python is copyrighted. Like Perl, Python source code is now available under
the GNU GeneralPublic License (GPL).
Apart from the above-mentioned features, Python has a big list of good
features, few are listed below −
It supports functional and structured programming methods as well as
OOP.
It can be used as a scripting language or can be compiled to byte-code
for building largeapplications.
It provides very high-level dynamic data types and supports dynamic type
checking.
PANDAS:
Pandas is a software library written for the Python programming language for
data manipulationand analysis. In particular, it offers data structures and
operations for manipulating numerical tables and time series.
To import this library:
import pandas as pd
MATPLOTLIB
import
matplotlib.pyplot
as pltimport
numpy as np
MYSQL
large extent.
large extent.
complex projects into smaller, more easily managed segments or phases. Segmenting projects
allows managers to verify the successful completion of project phases before allocating resources
to subsequent phases.
development, testing, implementation and maintenance phases. However, the phases may be
phases. End users of the systemunder development should be involved inreviewing the output of
INITIATION PHASE
opportunity.
need including questioning the need for technology, i.e., will a change in the
Proposal. The Concept Proposal includes information about the business process
a Project Management Charter which outlines the authority of the project manager
to begin
the project.
a proposal’s purpose, identify expected benefits, and explain how the proposed
system supports one of the organization’s business strategies. The business case
Agency/Organization CIO.
need.
functional requirements
The ITPR must be approved by the State CIO before the project can move
forward.
PLANNING PHASE
effectively. The depth and formality of project plans should be commensurate with
the characteristics and risks of a given project. Project plans refine the information
gathered during the initiation phase by further identifying the specific activities
user, audit, security, design, development, and network personnel to identify and
During this phase, a plan is developed that documents the approach to be used and
user input. Personnel assignments, costs, project schedule, and target dates are
established.
REQUIREMENTSANALYSIS PHASE
This phase formally defines the detailed functional user requirements using
security, and maintainability requirements for the system. The requirements are
defined in this phase to a level of detail sufficient for systems design to proceed.
opportunity identified in the Initiation Phase. The requirements that will be used to
determine acceptance of the system are captured in the Test and Evaluation Master
Plan.
Further define and refine the functional and data requirements and document
them in the Requirements Document,
generated, who generates it, where does the information go, and who processes it),
Develop detailed data and process models (system inputs, outputs, and the
process.
Develop the test and evaluation requirements that will be used to determine
DESIGN PHASE
The design phase involves converting the informational, functional, and network
requirements identified during the initiation and planning phases into unified
script programs during the development phase. Program designs are constructed in
various ways. Using a top-down approach, designers first identify and link major
program components and interfaces, then expand design layouts as they identify
designers first identify and link minor program components and interfaces, then
expand design layouts as they identify and link larger systems and connections.
Contemporary design techniques often use prototyping tools that build mock-up
designs of items such as application screens, database layouts, and system
process until they agree on an acceptable design. Audit, security, and quality
During this phase, the system is designed to satisfy the functional requirements
identified in the previous phase. Since problems in the design phase could be very
These include:
Preparing detailed logic specifications for each software module. The result is
a draft System Design Document which captures the preliminary design for the
system.
the user. Once these documents have been approved by the Agency CIO and
Business Sponsor, the final System Design Document is created to serve as the
representatives to
ensure that it satisfies the business requirements. Concurrent with the development
of the system design, the Agency Project Manager begins development of the
Implementation Plan, Operations and Maintenance Manual, and the Training Plan.
DEVELOPMENT PHASE
Effective completion of the previous stages is a key factor in the success of the
Development phase.
conducted during the integration and test phase. The user, with those responsible
for quality assurance, validates that the functional requirements, as defined in the
system. OIT Security staff assesses the system security and issue a security
end users
Testing as a deployed system with end users working together with contract
personnel
IMPLEMENTATION PHASE
This phase is initiated after the system has been tested and accepted by the user. In
this phase, the system is installed to support the intended business functions.
integration of the system into daily work processes. This phase continues until the
system is operating in production in accordance with the defined user
requirements.
changes are identified, the system may re-enter the planning phase.
Host: localhost
User: root
Pass: root
DataBase: fashion
Product Table:
Purchase Table:
Stock Table;
Sales Table:
Python Code:
import os
import platform
import mysql.connector
import pandas as pd
import datetime
mydb=mysql.connector.connect(host="localhost",\
user="root",\
passwd="root",\
database="fashion")
mycursor=mydb.cursor()
def AddProduct():
L=[]
stk=[]
L.append(pid)
IName=input("Enter the Product Name : ")
L.append(IName)
L.append(brnd)
L.append(fr)
L.append(sn)
L.append(rate)
product=(L)
mycursor.execute(sql,product)
mydb.commit()
stk.append(pid)
stk.append(0)
stk.append("No")
st=(stk)
mycursor.execute(sql,st)
mydb.commit()
def EditProduct():
ed=(pid,)
mycursor.execute(sql,ed)
res=mycursor.fetchall()
for x in res:
print(x)
print("")
sql="Update product set " + fld +"='" + val + "' where product_id='" + pid + "'"
sq=sql
mycursor.execute(sql)
ed=(pid,)
mycursor.execute(sql,ed)
res=mycursor.fetchall()
for x in res:
print(x)
mydb.commit()
def DelProduct():
id=(pid,)
mycursor.execute(sql,id)
mydb.commit()
mydb.commit()
mycursor.execute(sql,id)
mydb.commit()
mycursor.execute(sql,id)
mydb.commit()
def ViewProduct():
x=0
if ch==1:
mycursor.execute(sql)
res=mycursor.fetchall()
for x in res:
print(x)
x=1
elif ch==2:
var='PName'
val=input("Enter the name of Product : ")
elif ch==3:
var='brand'
elif ch==4:
var='Product_for'
elif ch==5:
var='season'
elif ch==6:
var='product_id'
if x==0:
sq=sql
tp=(val,)
mycursor.execute(sq,tp)
res=mycursor.fetchall()
for x in res:
print(x)
def PurchaseProduct():
mn=""
dy=""
now=datetime.datetime.now()
purchaseID="P"+str(now.year)+str(now.month)+str(now.day)+str(now.hour)+str(now.minute)+str(no
w.second)
L=[]
Lst=[]
L.append(purchaseID)
L.append(itemId)
L.append(itemNo)
pid=(itemId,)
mycursor.execute(sql,pid)
res=mycursor.fetchone()
for x in res:
print("rate is : ", x)
amount=x*itemNo
L.append(amount)
mnth=now.month
if mnth<=9:
mn="0"+str(mnth)
else:
mn=str(mnth)
day=now.day
if day<=9:
dy="0"+str(day)
else:
dy=str(day)
dt=str(now.year)+"-"+mn+"-"+dy
L.append(dt)
tp=(L)
sql="insert into
purchase(purchase_id,item_id,no_of_items,amount,Purchase_date)values(%s,%s,%s,%s,%s)"
mycursor.execute(sql,tp)
mydb.commit()
mycursor.execute(sql,pid)
res=mycursor.fetchall()
status="No"
for x in res:
print(x)
instock=x[0]+itemNo
if instock>0:
status="Yes"
Lst.append(instock)
Lst.append(status)
Lst.append(itemId)
tp=(Lst)
mycursor.execute(sql,tp)
mydb.commit()
def ViewPurchase():
sql="select product.product_id,
product.PName,product.brand,purchase.no_of_items,purchase.purchase_date,purchase.amount
from product
itm=(item,)
mycursor.execute(sql,itm)
res=mycursor.fetchall()
for x in res:
print(x)
def ViewStock():
sql="select product.product_id,product.PName,stock.Instock,\
itm=(item,)
mycursor.execute(sql,itm)
res=mycursor.fetchall()
for x in res:
print(x)
def SaleProduct():
now=datetime.datetime.now()
saleID="S"+str(now.year)+str(now.month)+str(now.day)+str(now.hour)+str(now.minute)+str(now.sec
ond)
L=[]
L.append(saleID)
L.append(itemId)
itemNo=int(input("Enter the number of Items : "))
L.append(itemNo)
pid=(itemId,)
mycursor.execute(sql,pid)
res=mycursor.fetchall()
for x in res:
saleRate=x[0]-(x[0]*dis/100)
L.append(saleRate)
amount=itemNo*saleRate
L.append(amount)
mnth=now.month
if mnth<=9:
mn="0"+str(mnth)
else:
mn=str(mnth)
day=now.day
if day<=9:
dy="0"+str(day)
else:
dy=str(day)
dt=str(now.year)+"-"+mn+"-"+dy
L.append(dt)
tp=(L)
mycursor.execute(sql,tp)
mydb.commit()
mycursor.execute(sql,pid)
res=mycursor.fetchall()
for x in res:
instock=x[0]-itemNo
if instock>0:
status="Yes"
tp=(instock,status,itemId)
mycursor.execute(sql,tp)
mydb.commit()
def ViewSales():
sales.no_of_item_sold,sales.date_of_sale,sales.amount \
and product.PName=%s"
itm=(item,)
mycursor.execute(sql,itm)
res=mycursor.fetchall()
for x in res:
print(x)
userInput = int(input("Please Select An Above Option: ")) #Will Take Input From User
except ValueError:
else:
if(userInput == 1):
AddProduct()
elif(userInput == 2):
EditProduct()
elif (userInput==3):
DelProduct()
elif (userInput==4):
ViewProduct()
elif (userInput==5):
PurchaseProduct()
elif (userInput==6):
ViewPurchase()
elif (userInput==7):
ViewStock()
elif (userInput==8):
SaleProduct()
elif (userInput==9):
ViewSales()
else:
print("*"*80)
print("* * * * Developed by: Neha Tyagi, PGT CS, KV no. 5 Jaipur : * * * * ")
print("*"*80)
print("")
MenuSet()
def runAgain():
while(runAgn.lower() == 'y'):
if(platform.system() == "Windows"):
print(os.system('cls'))
else:
print(os.system('clear'))
MenuSet()
the software to allow the business to appreciate and understand the risks at
at any time in the development process, however the most test effort is
employed after the requirements have been defined and coding process
TESTING METHODS
testing and white box testing. These two approaches are used to describe
the point of view that a test engineer takes when designing test cases.
Black box testing treats the software as a "black box," without any
knowledge of internal implementation. Black box testing methods include:
specification-based testing.
SPECIFICATION-BASED TESTING
inputs data into, and only sees the output from, the test object. This level
who then can simply verify that for a given input, the output value (or
behaviour), either "is" or "is not" the same as the expected value specified
The black box tester has no "bonds" with the code, and a tester's
perception is very simple: a code must have bugs. Using the principle,
"Ask and you shall receive," black box testers find bugs where
programmers don't. But, on the other hand, black box testing has been said
tester doesn't know how the software being tested was actually
constructed.
That's why there are situations when (1) a black box tester writes
many test cases to check something that can be tested by only one test
case, and/or (2) some parts of the back end are not tested at all. Therefore,
black box testing has the advantage of "an unaffiliated opinion," on the
tester has access to the internal data structures and algorithms (and the
• api testing - Testing of the application using Public and Private APIs.
For example, the test designer can create tests to cause all
completeness of a test suite that was created with black box testing
methods. This allows the software team to examine parts of a system that
are rarely tested and ensures that the most important function points have
been tested.
Two common forms of code coverage are:
FUTURE ENHANCEMENT
• www.tutorialaicsip.com/cs-xii-pra/project-synopsis-
cbse-class-12/
• www.python.mykvs.in
• www.csiplearning hub.com