Professional Documents
Culture Documents
Computer Science Final Project
Computer Science Final Project
MANAGEMENT
SYSTEM
1|Page
SNO
INDEXPAGE
TOPIC SIGNATURE
NO:
1. Abstract
2. System Requirements
3. Feasibility Study
4. Errors and its Types
5. Testing
6. Maintenance
7. Flow chart
8. Source code
9. Output
10. Conclusion
11. Bibliography
2|Page
ABSTRACT
It generates invoices of
patient, staff.
3|Page
4|Page
SYSTEM REQUIREMENTS
1. HARDWARE:
✓Processor
✓ Keyboard
✓ Minimum memory - 2GB
2. SOFTWARE:
Operating system OS7,OS8
Python IDLE
MYSQL
5|Page
FEASIBILITY STUDY
Feasibility study is a system proposal according to
its work, ability, impact on the operation ability to
meet the needs of users and efficient use of
resources. An important outcome of preliminary
investigations the determination of that system
requested feasible.
ECONOMICAL FEASIBILITY:
Economics analysis is the most frequent use
method for evaluating the effectiveness of the
candidates the benefits and savings that are
expected from system and compare them with
cost.
This software is not very costly. It just worth
Rs.5500/-.So users records can be maintained at a
cheaper cost and every school would like to use this
software so that the student’s records can be
managed easily.
TECHNICAL FEASIBILTY:
6|Page
ERRORS AND ITS TYPES
An error, some time called “A BUG” is anything in
the code that prevents a program from compiling
and running correctly. There are broadly three
types of errors as
follows:
7|Page
TESTING
1. Alpha Testing:
It is the most common type of testing used in the
software industry. The objective of this testing is to
identify all possible issues or defects before releasing
it into the market or to the user. It is conducted at the
developer’s site.
2. Beta Testing:
about the internal logic of an application’s code. It
is also known as Glass box It is a formal type of
software testing which is carried out by the customers.
It is performed in a real environment before releasing
the products into the market for the actual end-users.
It is carried out to ensure that there are no major
failures in the software or product and it satisfies the
business requirement. Beta Testing is successful when
the customer accepts the software.
8|Page
4.Black Box Testing:
It is a software testing, method in which the
internal structure or design of the item to be tested is
not known to the tester. This
method of testing can be applied virtually to every
level of the software testing.
9|Page
MAINTENANCE
LOGIN
STAFF
SERVICE DETAILS REPORTS
CREATE PATIENT
CREATE STAFF
MANAGE PATIENT
MANAGE 1 .Replacement of missing
STAFF REPORTS
STAFF teeth
2 .Cavity filling
3 .Teeth whitening or
bleaching
4. Orthodontic treatment
5 .Cosmetic procedures
11 | P a g e
SOURCE CODE
import mysql .connector
import tabulate
import random
print("*"*86)
print("*"*86)
#Login details
while True:
print("1.Staff")
print("2.Patient")
print("3.Invoice")
print("4.Reports")
while True:
if choice==1:
print("STAFF DASHBOARD")
12 | P a g e
print("1.Create Staff")
print("2.Manage Staff")
if choice2==1:
print("*"*10,"CREATE STAFF","*"*10)
Name=input("Name: ")
Age=input("Age: ")
Address=input("Address: ")
sqlCon=mysql.connector.connect(host='localhost',user='root',pass
word='root',database='dental')
sqlCon.commit()
sqlCon.close()
if choice2==2:
print("*"*10,"UPDATE STAFF","*"*10)
13 | P a g e
Name=input("Name: ")
Age=input("Age: ")
Address=input("Address: ")
cur = sqlCon.cursor()
sqlCon.commit()
sqlCon.close ()
if choice==2:
print("PATIENT RECORD")
print("1.Create Patient")
print("2.Manage Patient")
if choice2==1:
Name=input("Name: ")
Age=input("Age: ")
Address=input("Address: ")
14 | P a g e
Mobile=input("Mobile number: ")
sqlCon=mysql.connector.connect(host='localhost',user='root',pass
word='root',database='dental')
cur =sqlCon.cursor()
sqlCon.commit()
sqlCon.close()
if choice2==2:
print("*"*10,"UPDATE PATIENT","*"*10)
Name=input("Name: ")
Age=input("Age: ")
Address=input("Address: ")
cur = sqlCon.cursor()
sqlCon.commit()
15 | P a g e
sqlCon. close()
if choice==3:
print("*"*10,"Service Details","*"*10)
print("Description: \
2.Cavity Filling \
4.Orthodontic Treatment \
5.Cosmetic Procedures \
")
print("*********************INVOICE********************
******************")
print("Bill from: \
print("Name: ",Name2)
print("Address: ",Address2)
if desc==1:
16 | P a g e
print("Description: 1.Replacement of missing teeth")
a=1200
end_dt = date.today().toordinal()
print(random_day)
print("Price= ",a)
elif desc==2:
a=1500
end_dt = date.today().toordinal()
random_day = date.fromordinal(random.randint(start_dt,
end_dt))
print(random_day)
print("Price= ",a)
elif desc==3:
a=2500
17 | P a g e
end_dt = date.today().toordinal()
random_day = date.fromordinal(random.randint(start_dt,
end_dt))
print(random_day)
print("Price= ",a)
elif desc==4:
a=3000
end_dt = date.today().toordinal()
random_day = date.fromordinal(random.randint(start_dt,
end_dt))
print(random_day)
print("Price= ",a)
elif desc==5:
a=5000
end_dt = date.today().toordinal()
random_day = date.fromordinal(random.randint(start_dt,
end_dt))
print(random_day)
print("Total= ",a)
18 | P a g e
else:
print("******************************THANK YOU
VISIT AGAIN*********************************")
if choice==4:
print("*"*10,"REPORTS","*"*10)
if choice3==1:
sqlCon=mysql.connector.connect(host='localhost',user='root',pass
word='root',database='dental')
cur =sqlCon.cursor()
query="select*from staff"
cur.execute(query)
result=cur.fetchall()
row=['StaffID','Name','Age','Address','EmailID','Mobile']
print(row)
19 | P a g e
sqlCon.commit()
sqlCon.close()
if choice3==2:
sqlCon=mysql.connector.connect(host='localhost',user='root',pass
word='root',database='dental')
cur =sqlCon.cursor()
query="select*from patient"
cur.execute(query)
result=cur.fetchall()
row=['Name','Age','Address','EmailID','Mobile']
print(row)
sqlCon.commit()
sqlCon.close()if choice3==1:
sqlCon=mysql.connector.connect(host='localhost',user='root',pass
word='root',database='dental')
cur =sqlCon.cursor()
query="select*from staff"
cur.execute(query)
result=cur.fetchall()
sqlCon.commit()
sqlCon.close()
else:
OUTPUT
21 | P a g e
ENTERING WITH USERNAME AND PASSWORD:
TO CREATE STAFF:
22 | P a g e
23 | P a g e
To manage staff:
Update staff:
24 | P a g e
To create patient:
25 | P a g e
To manage patient:
Update patient
26 | P a g e
To generate invoice:
27 | P a g e
28 | P a g e
CONCLUSION
Our project is only a humble venture to
satisfy the needs to manage their project
work. Several user friendly coding have also
adopted. This package shall prove to be a
powerful package in satisfying all the
requirements of the school. The objective of
software planning is to provide a frame work
that enables the manager to make
reasonable estimates made within a limited
time frame at the beginning of the software
project and should be updated regularly as
the project progresses.
29 | P a g e
BIBILIOGRAPHY
Textbooks:
Computer Science with python by
Sumitra Arora
Computer Science with python by
Preeti Arora
Websites:
https://en.wikipedia.org/
https://python.mykvs.in/
https://www.geeksforgeeks.org/
30 | P a g e