Sample Project Cs

Download as pdf or txt
Download as pdf or txt
You are on page 1of 33

ASIAN INTERNATIONAL SCHOOL

ACADEMIC YEAR: 2023-24

PROJECT REPORT ON

MOBILE SHOP MANAGEMENT

NAME : ----------------
CLASS : XII
ROLL NO : ---------------
SUBJECT : CS
SUB CODE : 083

PROJECT GUIDE: NAME OF YOUR SUBJECT TEACHER.


PGT (CS)

Page1
PROJECT SYNOPSIS
ON

MOBILE
SHOP
MANAGEMENT
FOR AISSCE 2024 EXAMINATION
[AS A PART OF THE COMPUTER SCIENCE
COURSE (083)]

Page2
Project Logbook

PROJECT NAME : MOBILE SHOP MANAGEMENT

SCHOOL NAME : ASIAN INTERNATIONAL SCHOOL, HOWRAH

YEAR/CLASS : 2023-2024/12-B

TEACHER NAME : - - - - - - - - - - - - - - -

TEAM MEMBER NAMES:

1. KANISHKA TANWAR [XII – SC(B)]

2. TANIYA TREHAN [XII – SC(B)]

3. VANSHIKA KAKKAR [XII – SC(A)]

Page3
CERTIFICATE

This is to certify that the Project / Dissertation entitled

MOBILE SHOP MANAGEMENT System is a bonafide

work done by Kanishka Tanwar of class XII Session 2023-24

in partial fulfillment of CBSE’s AISSCE Examination 2024

and has been carried out under my direct supervision and

guidance. This report or a similar report on the topic has not

been submitted for any other examination and does not

form a part of any other course undergone by the candidate.

……………………………..

Signature of Teacher/Guide

Name: ………………………………….
Design.: PGTComp.Sc.

Mobile Shop Management Page 4


ACKNOWLEDGEMENT
I. , Kanishka Tanwar undertook this Project work, as the part of my XII-

I Computer Science course(083). I had tried to apply my best of


knowledge and experience, gained during the study and class work
experience. However, developing software system is generally a quite
complex and time-consuming process. It requires a systematic study,
insight vision and professional approach during the design and
development. Moreover, the developer always feels the need, the help
and good wishes of the people near you, who have considerable
experience and idea.

I would like to extend my sincere thanks and gratitude to my teacher

Mr. / Ms. …………………………., for giving valuable time and moral support
to develop this software.

I also feel indebted to my friends for the valuable suggestions during the
project work.

_______________
Signature of Student
Name: Kanishka Tanwar
Roll No: ……………….

Mobile Shop Management Page 5


C O N T E N T S
1. Introduction ------------------------------------------------------------- -----

2. Objective & Scope of the Project-----------------------------------------

3. Team Roles

System Implementation--------------------------------- ------------------ ---

4. System Development Life Cycle (SDLC)------------------------------


5.Theoretical Background----------------------------------------------------

5.1 What is Python? -------------------------------------------------


5.2 What is Pandas?-------------------------------------------------
5.3 What is File Handling :CSV?---------------------------------
6. System Implementation ----------------------------------------------- ---

6.1 The Hardware used: -----------------------------------------------------

6.2 The Softwares used: ----------------------------------------------------

7. System Design & Development --------------------- -------------------

7.1 Backend Files: ------------------------------------------------------------

7.2 Event Coding: -------------------------------------------------------------

8. Output------------------------------------------------------------------------

9. User Manual ------------------------------------------------------------------

9.1 How to install: ------------------------------------------------------------

9.2 Working with Software: -------------------------------------------------

10. References -----------------------------------------------------------------

Mobile Shop Management Page 6


1. Introduction

This software project is developed to automate the functionalities of a

MOBILE STORE MANAGEMENT SYSTEM.

The purpose of the software project is to develop the Management

Information System (MIS) to automate the record keeping of products,

purchases , stock and sales transactions with a view to enhance the decision

making of the functionaries.

A MIS mainly consists of a computerized data, a collection of inter-related

records for a particular subject or purpose like reference of product id in all

files , capable to produce different reports relevant to and interface to the

data. Using Application program (Python) or front-end and csv as back-end ,

we can store, retrieve and manage all information in proper way. does

This software, being simple in design and working, not require much

of training to users, and can be used as a powerful tool for automating

a MOBILE STORE MANAGEMENT SYSTEM.

Mobile Shop Management Page 7


During coding and design of the software Project, Python IDLE, as 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,

CSV File Handling is used as per requirement of the CBSE curriculum of

Computer Science (083).

Mobile Shop Management Page 8


2. Objective & Scope of the Project

T he objective of the software project is to develop a computerized MIS


to automate the functions of a MOBILE SHOP MANAGEMENT
SYSTEM. This software project is also aimed to enhance the current
record keeping system, which will help managers to retrieve the up-to-
date information at right time in right shape.

The proposed software system is expected to do the following


functionality:-

✓ To provide a user friendly, Graphical User Interface (GUI) based


integrated and centralized environment for MIS activities.

✓ The proposed system should maintain all the records and transactions,
and should generate the required reports and information when
required.

✓ To provide graphical and user-friendly interface to interact with a


centralized data based on client-server architecture.

✓ To identify the critical operation procedure and possibilities of


simplification using modern IT tools and practices.

In its current scope, the software enables user to retrieve and update the
information from CSV file imported by Python library. This software does
not require much training time of the users due to limited functionality and
simplicity.

During the development of MOBILE SHOP MANAGEMENT SYSTEM


project, Python IDLE, a powerful, open source event-driven form-based

Mobile Shop Management Page 9


development environment along with Pandas library is used for modular
design and future expandability of the system.

Despite of the best effort of the developer, the following limitations and
functional boundaries are visible, which limits the scope of this application
software.

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 profit or loss etc. for the store;


however it can be developed easily with the help of adding modules.

3. It facilitates manager to record and update only transaction record.

So far as future scope of the project is concerned, firstly it is open to any


modular expansion i.e. 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.

Mobile Shop Management Page 10


3. Team Roles
3.1 Who is in your team and what are their roles?

Role Role description Team Member Name

PLANNING, WRITING CODE, TANIYA


DESIGNING DEBUGGING TREHAN,VANSHIKA
ERRORS KAKKAR

DOCUMENTATION MAKING WORD KANISHKA


FILE, TANWAR
FORMATTING ETC

Mobile Shop Management Page 11


4. System Development Life Cycle

The systems development life cycle is a project management technique


that divides 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.
Software development projects typically include initiation, planning ,
design, development, testing, implementation , and maintenance phases.
However, the phases may be divided differently depending on the
organization involved.
For example, initial project activities might be designated as request,
requirements-definition, and planning phases, or initiation, concept-
development and planning phases. End users of the system under
development should be involved in reviewing the output of each phase to
ensure the system is being built to deliver the needed functionality.

Mobile Shop Management Page 12


5. Theoretical Background

5.1 What is Python ?


Python is an open source , object oriented high level programming language
developed by Guido Van Rossum in 1991 at the National Research Institute
for Mathematics,Netherlands.
Features of Python:
• It is an interactive , interpreted language.
• It is a loosely typed object –oriented language.
• It is a free open –source and portable language,
• It takes less time to develop programs.
• It is extensible / extendable and highly efficient .
• It supports GUI.
• It can be easily compatible with other languages like C , C++ etc.
• It is used for both scientific and non-scientific programming.
Installing Python:
It can be installed by using website :
https://www.python.org/downloads/

Interacting with Python:


Python programs can be run in two ways:
• Using Command line window

Mobile Shop Management Page 13


• Using IDLE

5.2 What is Pandas?


Pandas is Python’s library for data analysis. Pandas has derived its name from
“Panel Data System” and its has become very popular choice for data analysis.
Data Analysis refers to process of evaluating big data sets using analytical and
statistical tools so as to discover useful information and conclusions to support
business decision making.
While working with Pandas, it is required to import Pandas and numpy both by
writing:
import pandas as pd
import numpy as np
Pandas is best at handling huge tabular data sets comprising different data
formats.

Pandas provide two data structures for storing data:


a) Series b) Dataframe

Mobile Shop Management Page 14


5.3 What is File Handling?
A file in itself is a bunch of bytes stored on some storage devices like hard-disk,
thumb-drive etc. The data files can be stored in two ways: i. Text files ii. Binary
files. A text file stores information in ASCII or Unicode characters, where each line
of text is terminated, (delimited) with a special character known as EOL (End of
Line) character. In text files some internal translations take place when this EOL
character is read or written. A text file can also be in the form of CSV , that stores
value with a comma separation.
The open() function is used to open a data file in a program through a file-object (or
a file-handle). A file-mode governs the type of operations (e.g., read/ write/ append)
possible in the opened file i.e., it refers to how the file will be used once it's opened.
A text file can be opened in these file modes: 'r', 'w', 'a', 'r+', 'w+', 'a+' The three file
reading functions of Python are: read(), readline(), readlines().
While read() reads some bytes from the file and returns it as a string, readline()
reads a line at a time and readlines() reads all the lines from the file and returns it in
the form of a list.
The two writing functions for Python data files are write() and writelines(). While
write() writes a string in file, writelines() writes a list in a file. The input and output
devices are implemented as files, also called standard streams. There are three
standard streams: stdin (standard input), stdout (standard output) and stderr
(standard error) The absolute paths are from the topmost level of the directory
structure. The relative paths are relative to current working directory denoted as a
dot(.) while its parent directory is denoted with two dots(..). The full name of a file
or a directory is called pathname.
Steps to Process a file: there are five steps to use files in the python program.
i. Determine the type of file usage Under this step, you need to determine
whether you need to open the file for reading purpose (input type of
usage) or writing purpose (output type of usage).
ii. Open the file and assign its reference to a file-object or file-handle Next,
you need to open the file using open() and assign it to a file-handle on
which all the file-operations will be performed. Just remember to open the
file in the filemode that you decided in step 1.
iii. Now process as required As per the situation, you need to write
instructions to process the file as desired. For example, you might need to

Mobile Shop Management Page 15


open the file and then read it one line at a time while making some
computation, and so on.
iv. Close the file This is very important step especially if you have opened the
file in write mode. This is because, sometimes the last lap of data remains
in buffer and is not pushed on to disk until a close() operation is
performed.

CSV (Comma Separated Values): is a file format for data storage which looks like
a text file. The information is organized with one record on each line and each field
is separated by comma.
A CSV file is a type of plain text file that uses specific structuring to arrange tabular
data. CSV is a common format for data interchange as it's compact, simple and
general. Many online services allow its users to export tabular data from the website
into a CSV file. Files of CSV will open into Excel, and nearly all databases have a
tool to allow import from CSV file. The standard format is defined by rows and
columns data. Moreover, each row is terminated by a newline to begin the next row.
Also within the row, each column is separated by a comma.
CSV (Comma-separated values) is a common data exchange format used by the
applications to produce and consume data. Some other well-known data exchange
formats are XML, HTML etc.
The first line of the CSV file represents the header containing a list of column names
in the file. The header is optional but highly recommended.
The CSV file is commonly used to represent tabular data. For example:
To retain the commas inside the Address field enclose it in double quotation marks,
as follows:

Tabular data is represented by comma separated values A :


RollNo,Name,Age,Class,Sec
1023,Vishwa,14,VII,A
3078,Varun,16,X,B
3543,Gowtham,15,X,C
Every line of the file is called a record. And each record consists of fields that are
separated by commas which are also known as “delimiter” which is the default
delimiter, others include pipe(|), semicolon(;).

Mobile Shop Management Page 16


Import export data csv to dataframes is an important part of python
syllabus. Whenever you are working with python you need to save the
dataframe data from output screen to file and vice-versa.

Mobile Shop Management Page 17


6. System Implementation

6.1 The Hardware used:

While developing the system, the used hardware are:


PC with Intel Core i5-2400S processor having 4.00 GB RAM,
64-bit Operating System , SVGA and other required devices.

6.2 The Softwares used:


➢ Microsoft Windows® 10 Pro as Operating System.
➢ Python 3.7.2 as Front-end Development environment.
➢ CSV files as Back-end for Testing.
➢ Import pandas , import csv to connect Python module .
➢ MS-Word 2010 for documentation.

Mobile Shop Management Page 18


7. System Design & Development

7.1 Backend files:


An important aspect of system design is the design of data storage structure. To begin
with, a logical model of data structure is developed first.
Generally csv files are used as backend for storing dataframe .
Steps to work :
• DataFrame is created using pandas.
• Data exported into csv file using to_csv() function: df.to_csv()
• CSV file opened through open() function with read mode: f =
open(‘mydata.csv’,’r’)
• Data read by function read(): data = f.read()
• Data printed using print function : priint(data)
• The opened needs to be closed to avoid malfunctioning in csv file:
f.close().

CSV File Design:


( csv files name and its attributes)

Mobile Shop Management Page 19


CODING :

Mobile Shop Management Page 20


import pandas as pd

import matplotlib.pyplot as plt

# Main Menu

while(True):

result=pd.read_csv("mobile.csv",index_col=0)
print("\n\n\n")
print("*****************************************")

print(" Mobile Shop Management ")

print("*****************************************")
print("Main Menu")

print("1. Data Visualization")

print("2. Dataframe Statistics")

print("3. Display Records")

print("4. Working on Records")

print("5. Working on Columns")

print("6. Search specific row/column")

print("7. Exit")

ch=int(input("Enter your choice"))


if ch==1:

while(True):

print("Data Visualization Menu")

print("1. Line Plot")

print("2. Vertical Bar Plot")

print("3. Horizontal Bar Plot")

print("4. Histogram")

print(“5.Exit”)

ch1=int(input("Enter choice"))
if ch1==1:

while(True):

print("Line Plot Sub Menu")

print("1. Highest sale in each month")

print("2. Specific Brand Sales")

Mobile Shop Management Page 21


print("3. Exit")
chline=int(input("Enter choice"))

if chline==1:

plt.plot(result.columns,result.max(),label="Highest Sales")
plt.title("HIGHEST SALES IN EACH MONTH")
plt.xlabel("MONTH")

plt.ylabel("UNITS SOLD")

plt.xticks(rotation=30)

plt.legend()

plt.grid(True)

plt.show()

elif chline==2:

print(result.index)

z=input("Enter Brand Name from above list (Case Sensative)")


plt.plot(result.columns,result.loc[z],label="{} SALES -2020 ".format(z))
plt.title("SALES OF {} BRAND PHONES FOR 2020".format(z))
plt.xlabel("MONTHS")

plt.ylabel("UNITS SOLD")

plt.xticks(rotation=30)

plt.legend()

plt.grid(True)

plt.show()

elif chline==3:

break

elif ch1==2:
while(True):

print("Vertical Bar Plot Sub Menu")


print("1. Highest sale in each month")
print("2. Specific Brand Sales")
print("3. Exit")

chbar=int(input("Enter choice")) if
chbar==1:

plt.bar(result.columns,result.max(),label="Highest Sales")
plt.title("HIGHEST SALES IN EACH MONTH")
plt.xlabel("MONTH")

Mobile Shop Management Page 22


plt.ylabel("UNITS SOLD")

plt.xticks(rotation=30)

plt.legend()

plt.grid(True)

plt.show()

elif chbar==2

print(result.index)

z=input("Enter Brand Name from above list (Case Sensative)")


plt.bar(result.columns,result.loc[z],label="{} SALES -2020 ".format(z))
plt.title("SALES OF {} BRAND PHONES FOR 2020".format(z))
plt.xlabel("MONTHS")

plt.ylabel("UNITS SOLD")

plt.xticks(rotation=30)

plt.legend()

plt.show()

elif chbar==3:

break

elif ch1==3:
while(True):

print("Horizontal Bar Plot Sub Menu")


print("1. Highest sale in each month")
print("2. Specific Brand Sales")
print("3. Exit")

chbar=int(input("Enter choice")) if
chbar==1:

plt.barh(result.columns,result.max(),label="Highest Sales")
plt.title("HIGHEST SALES IN EACH MONTH")
plt.xlabel("MONTH")

plt.ylabel("UNITS SOLD")

plt.xticks(rotation=30)

plt.legend()

Mobile Shop Management Page 23


plt.show()

elif chbar==2:

print(result.index)

z=input("Enter Brand Name from above list (Case Sensative)")


plt.barh(result.columns,result.loc[z],label="{} SALES -2020 ".format(z))
plt.title("SALES OF {} BRAND PHONES FOR 2020".format(z))
plt.xlabel("MONTHS")

plt.ylabel("UNITS SOLD")

plt.xticks(rotation=30)

plt.legend()

plt.show()

elif chbar==3:

break elif
ch1==5:

break elif
ch==2:

while (True):

print("Dataframe Statistics Menu")

print("1. Display the Transpose")

print("2. Display all column names")

print("3. Display the indexes")

print("4. Display the shape")

print("5. Display the dimension")

print("6. Display the data types of all columns")


print("7. Display the size") print("8. Exit")
ch2=int(input("Enter choice"))

if ch2==1:

print(result.T)
elif ch2==2:

print(result.columns)
elif ch2==3:

Mobile Shop Management Page 24


print(result.index)
elif ch2==4:

print(result.shape)
elif ch2==5:

print(result.ndim)
elif ch2==6:

print(result.dtypes)
elif ch2==7:

print(result.size)
elif ch2==8:
break elif ch==3:
while(True):

print("Display Records Menu")

print("1. Top 5 Resords")

print("2. Bottom 5 Records")

print("3. Specific number of records from the top")


print("4. Specific number of records from the bottom")
print("5. Details of a specific Brand") print("6. Display
details of all Brands") print("7. Exit")
ch3=int(input("Enter choice"))

if ch3==1:

print(result.head())
elif ch3==2:

print(result.tail())
elif ch3==3:

n=int(input("Enter how many records you want to display from the


top")) print(result.head(n)) elif ch3==4:

n=int(input("Enter how many records you want to display from the bottom"))

print(result.tail(n))
elif ch3==5:

st=input("Enter the Brand name for which you want to see the details")

Mobile Shop Management Page 25


print(result.loc[st])
elif ch3==6:

print("Sales Record of JMS Mobile Shop for the Year 2020")

print(result)
elif ch3==7:

break elif
ch==4:
while(True):

print("Working on Records Menu")


print("1. Insert a specific Brand Detail")
print("2. Delete a specific Brand Detail")
print("3. Update a specific Brand detail")
print("4. Exit") ch4=int(input("Enter
choice")) if ch4==1:

a=input("Enter Brand name")


b=int(input("Enter January Sales:"))
c=int(input("Enter February Sales:"))
d=int(input("Enter March Sales:"))
e=int(input("Enter April Sales:"))
f=int(input("Enter May Sales:"))
g=int(input("Enter June Sales:"))

Mobile Shop Management Page 26


OUTPUT:
Data Visualisation

Line Plot of Max Sales of Each Month

Mobile Shop Management Page 27


Horizontal Bar Graph of Sales of Specific Brand

Display Records – Top 5 Rows

Mobile Shop Management Page 28


Histogram of Sales of Specific Brand

Mobile Shop Management Page 29


Dataframe statitics displaying all column name

Mobile Shop Management Page 30


Display records top 5 rows

Searching specific row detail

Searching specific row detail

Mobile Shop Management Page 31


9. User Manual

9.1 How to Install Software:


Hardware Requirement-
 Intel Pentium/Celeron or similar processor based PC at Client/Server end.
 128 MB RAM and 4GB HDD space (for Database) is desirable.
 Standard I/O devices like Keyboard and Mouse etc.
 Printer is needed for hard-copy reports.
 Local Area Network(LAN) is required for Client-Server Installation

Software Requirement-
 Windows 2000/XP OS is desirable.
 Python IDLE Ver 3.7.2 or higher should be installed .
 PANDAS Library with csv must be present at machine.

Pandas Installation-

This library of Python can be installed at python path as:

pip install pandas

Mobile Shop Management Page 32


10.References

In order to work on this project titled – FASHION STORE MANAGEMENT i


(1) The Complete Reference Python 3.7
-by Sumita Arora
(2) https://pandas.pydata.org
(3) Understanding CSV
– O’Reilly Media
(4) http://www.ypython.com/
(5) On-line Help of Python ®
(6) Informatics Practices for class XII -by Sumita Arora
(7) Together with Informatics Practices

(6) Various Websites of Discussion Forum and software development


activities.

Other than the above-mentioned books, the suggestions and supervision of


my teacher and my classmates also helped me to develop this software
project.
Page33

Mobile Shop Management Page 33

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy