Cs Project Final
Cs Project Final
1. Introduction 1
2. Manual System 7
3. Proposed System 8
6. Design work 12
8. Source Code 19
9. Output (Screenshots) 30
11. Conclusion 38
12. Bibliography 39
0|Page
INTRODUCTION TO
PYTHON
1|Page
Python is an interpreter, object-oriented, high-level programming language with
dynamic semantics. Its high-level built in data structures, combined with dynamic
typing and dynamic binding; make it very attractive for Rapid Application
Development, as well as for use as a scripting language to connect existing
components together. Python's simple and easy to learn syntax emphasizes
readability and therefore reduces the cost of program maintenance. Python supports
modules and packages, which encourages program modularity and code reuse. The
Python interpreter and the extensive standard library are available in source or binary
form without charge for all major platforms, and can be freely distributed.
Python's features include −
➢ Easy to code: Python is a high-level programming language and it is very easy
to code. It is also a developer-friendly language.
➢ Free and Open Source: Python is freely available. You can download it from the
Python Official Website. Secondly, it is open-source. This means that its source code
is available to the public. You can download it, change it, use it, and distribute it.
➢ Extensible feature: If needed, you can write some of your Python code in other
languages like C++. This makes Python an extensible language, meaning that it can
be extended to other languages.
2|Page
➢ Python is Portable language: Python language is also a portable language. For
example, if we have python code for windows and if we want to run this code on other
platforms such as Linux, Unix and Mac then we do not need to change it, we can run
this code on any platform.
➢ Large Standard Library: Python has a large standard library which provides a
rich set of module and functions so you do not have to write your own code for every
single thing. There are many libraries present in python for such as regular
expressions, web browsers, etc.
3|Page
INTRODUCTION TO
MySQL
4|Page
A database is a collection of information related to a particular subject or purpose, such as
tracking customer orders or maintaining a product collection. Using any RDBMS application
software like MS SQL Server, MySQL, Oracle, Sybase etc., all information can be managed
from a single database file. Within the file, data can be divided into separate storage
containers called tables. Data can be retrieved using queries.
A table is a collection of data about a specific topic, such as products or suppliers. Using a
separate table for each topic means you can store that data only once, which makes your
database more efficient and reduces data-entry errors. Table organizes data into columns
(called fields) and rows (called records).
A Primary key is one or more fields whose value or values uniquely identify each record
in a table. In a relationship, a primary key is used to refer to specific record in one table
from another table. A foreign key is a column in a relational database table that provides a
link between data in two tables. It acts as across- reference between tables because it
references the primary key of another table, thereby establishing a link between them.
5|Page
The Main Features of MySQL
6|Page
MANUAL SYSTEM
Manual system means a system which does it’s work itself not by help of any
technology in which paper work has some special place.
All conventional methods are in more use instead of new technologies. And
now as everybody knows that computer graphs at its extent means the more
you can use computer system the more you can make your work easier.
And if in this case system is not computerized then it has to face a lot of
problems because every task gets complex and time consumable.
Costly
Difficulty in searching the records
Maintenance Problem
Time consuming
Tedious
7|Page
PROPOSEDSYSTEM
Proposed system is a system which is computerized in every manner.
Computerized system is not just adding machines but they are capable
of doing much complex, tedious and cumbersome tasks.
8|Page
INTRODUCTION
TO PROJECT
Managing a school efficiently is a complex and multifaceted task that
involves various administrative, academic, and operational
responsibilities. In the digital age, automating school management
processes has become imperative to streamline operations, enhance
communication, and ensure data accuracy. Python, a versatile and
powerful programming language, offers a robust platform for creating
comprehensive school management systems. Our Python School
Management Program is designed to address the diverse needs of
educational institutions, from elementary schools to universities.
9|Page
The options given in this project are as follows:
10 | P a g e
MODULES USED IN
THE PROJECT
MySQL connector: -
We can connect MySQL and python using this module. Add
record in MySQL using this module.
11 | P a g e
DESIGN WORK - MIND MAP
TO ADD EMPLOYEE
TO ADD NEW
ADMISSION
TO DISPLAY DETAILS
OF ALL STUDENTS
TO ADD STUDENT
MARK DETAIL
TO DISPLAY
STUDENTS REPORT
CARD
TO ADD A STUDENT’S
TO DISPLAY STUDENT
WISE THE
TO MODIFY REPORT CARD
PARTICULAR EMPLOYEE
TO PAY FEES OF A
TO DISPLAY PAYROLL STUDENT
TO DISPLAY FEES
TO DISPLAY RECEIPT
SALARY SLIP
FOR ALL THE EMPLOYEES
TO DISPLAY STUDENT
TO DISPLAY
WISE SALARY SLIP
FEES RECEIPT
FOR A PARTICULAR
TO DISPLAY A HELP
MESSAGE
12 | P a g e
SYSTEM DEVELOPMENT
LIFE CYCLE – SDLC
Every computer based system has a life cycle. System development
starts when management or sometimes system development personnel
feel that a new system or an improvement in the existing system is
required. The system development life cycle is classically thought of as
the set of activities that analysis, designers and user carry to develop
and implement an information system.
2. Feasibility Study
3. System Analysis
4. Design of Software
5. Development of software
6. System Testing
8. Maintenance
13 | P a g e
Preliminary Survey
One of the most difficult tasks to the system analyst is identifying the real problem of the
existing system. Without clear understanding of the problem in the system, any further
work done will lead to wastage of effort at a later stage.
In Preliminary Survey the analyst gets information about different source and find out
what are the objective of designing the proposed system i.e. what are requirement of
designing of the new software. In this we identified what are the problems in current
system to find out the drawback of current system and find out what are the best system
that full the requirement of a particular Business Enterprises.
Feasibility Study
In this step we examine the feasibility of the proposed system. This involves the costs
and benefits of the system. Initially a rough cost benefit analysis will be sufficient for the
top management to take a decision either in favour of or against the proposed system.
System design
When the system analyst decides that the requested system is feasible and the
management agrees to continue the development process, the next phase of SDLC is
determination of system requirements. This phase includes studying of existing system
in details and collecting data in order to find out the requirement of the users.
Implementation
In implementation, the designs are translated in to code. Computer programs are written
using a conventional programming language or application generator. Programming
tools like compilers, interpreters, debuggers are used to generate the code. Different
high-level languages like python, C, C++, Pascal, Java are used for coding.
14 | P a g e
PICTORIAL REPRESENTATION OF SDLC
Planning phase
The planning phase is the most critical step in completing development, acquisition, and
maintenance projects. Careful planning, particularly in the early stages of a project, is
necessary to coordinate activities and manage project risks 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 and resources required to complete aproject.
A critical part of a project manager’s job is to coordinate discussions between user, audit,
security, design, development, and network personnel to identify and document as many
functional, security, and network requirements as possible. During this phase, a plan is
developed that documents the approach to be used and includes a discussion of methods, tools,
tasks, resources, project schedules, and user input. A Project Management Plan is created with
components related to acquisition planning, configuration management planning, quality
assurance, planning, concept of operation.
15 | P a g e
Requirements analysis phase
This phase formally defines the detailed functional user requirements using high-level
requirements identified in the Initiation, System Concept, and Planning phases. It also
delineates the requirements in terms of data, system performance, 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. They need to be measurable,
testable, and relate to the business need or 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.
The purposes of this phase are to:
Further define and refine the functional and data requirements and document them in
the Requirements Document,
Complete business process reengineering of the functions to be supported (i.e., verify
what information drives the business process, what information is 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 acceptable
system performance.
Design phase
The design phase involves converting the informational, functional, and network requirements
identified during the initiation and planning phases into unified design specifications that
developers use to 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 and link
smaller subsystems and connections. Using a bottom-up approach, 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 architectures. End users, designers, developers, database managers, and network
administrators should review and refine the prototyped designs in an iterative process until they
agree on an acceptable design. Audit, security, and quality assurance personnel should be
involved in the review and approval process. During this phase, the system is designed to satisfy
the functional requirements identified in the previous phase.
16 | P a g e
Developing a conversion plan to migrate current data to the new system.
Defining major subsystems and their inputs and outputs.
Allocating processes to resources.
Preparing detailed logic specifications for each software module. The result is a draft
System Design Document which captures the preliminary design for the system.
Everything requiring user input or approval is documented and reviewed by 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
Critical/Detailed Design for the system.
This document receives a rigorous review by Agency technical and functional
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
The development phase involves converting design specifications into executable programs.
Effective development standards include requirements that programmers and other project
participants discuss design specifications before programming begins. The procedures help
ensure programmers clearly understand program designs and functional requirements.
Programmers use various techniques to develop computer programs. The large transaction-
oriented programs associated with financial institutions have traditionally been developed using
procedural programming techniques. Procedural programming involves the line-by-line
scripting of logical instructions that are combined to form a program. Effective completion of
the previous stages is a key factor in the success of the Development phase. The Development
phase consists of:
Testing as a deployed system with end users working together with contract personnel
17 | P a g e
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. System performance is
compared to performance objectives established during the planning phase. Implementation
includes user notification, user training, installation of hardware, installation of software onto
production computers, and 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.
The system operation is ongoing. The system is monitored for continued performance in
accordance with user requirements and needed system modifications are incorporated.
Operations continue as long as the system can be effectively adapted to respond to the
organization’s needs. When modifications or changes are identified, the system may re-enter
the planning phase.
Subsystem integration, system, security, and user acceptance testing is conducted during the
integration and test phase. The user, with those responsible for quality assurance, validates
that the functional requirements, as defined in the functional requirements document, are
satisfied by the developed or modified system. OIT Security staff assesses the system security
and issue a security certification and accreditation prior to installation/implementation.
Testing at the development facility by the contractor and possibly supported by end users
.
18 | P a g e
SOURCE CODE
19 | P a g e
SOURCE CODE:
import [Link]
# GLOBAL VARIABLES DECLARATION
myConnection = ""
cursor = ""
userName = ""
password = ""
myConnection=[Link](host="localhost",user="root”,
passwd="", database="SMS",auth_plugin='mysql_native_password')
if myConnection:
print("\n CONGRATULATIONS ! YOUR MYSQL CONNECTION HAS BEEN
ESTABLISHED !")
cursor = [Link]()
[Link]("CREATE DATABASE IF NOT EXISTS SMS")
[Link]("COMMIT")
[Link]()
return myConnection
else:
print("\nERROR ESTABLISHING MYSQL CONNECTION CHECK USERNAME
AND PASSWORD !")
20 | P a g e
global password
global myConnection
myConnection=
[Link](host="localhost",user="root",passwd="",database
="SMS",auth_plugin='mysql_native_password')
if myConnection:
return myConnection
else:
print("\nERROR ESTABLISHING MYSQL CONNECTION !")
[Link]()
29 | P a g e
OUTPUT SCREENSHOTS
30 | P a g e
Main Menu
31 | P a g e
To display all the students’ data
32 | P a g e
To enter marks of a student
33 | P a g e
To pay students fees
34 | P a g e
To Exit
35 | P a g e
MySQL Table: marks
36 | P a g e
SYSTEM TESTING &
MAINTENANCE
Testing can be define as the project of executing the project in a controlled manner. In
order to answer the question" does the project behave as specified" .It also is then only
way of finding out whether or not there are any error in a [Link] testing is an
important part of SDLC.
Like all other stages of SDLC, testing too needs time and proper resources to become
meaningful [Link] is vital to the success of the system. Testing make a logical
assumption that if all parts of the system are correct, the goal will be successfully
achieved.
TYPES OF TESTING
Unit testing:-each component or part of the program is tested individually to verify that
the detail design for unit has been correctly implemented.
Module testing:- In large system a module may be a group of several programs or
functions or sub-module testing.
Integration testing:- It is carried out to find problem in the interface between
resembled units module in a system.
System testing:-It is executing a program to check logic changes made in it
and with the intention of finding errors.
MAINTENANCE:
After the implementation, the systems need to be maintained in order to adapt the
changing business and user needs. Different techniques are used to properly maintain a
system like:
[Link] – correction means to find out the error of the existing system and then
correctthem.
[Link] – Adaptation means changes are done in existing software according the
requirement of the newenvironment.
37 | P a g e
CONCLUSION
To conclude with, the software presents the user with the system that satisfies
all the objectives of the organization. The system developed presents the user
with the major benefits of user-friendliness, security, and hardware
independence. Its data is also used to generate the reports that are needed by
the client of this system.
38 | P a g e
BIBLIOGRAPHY
In order to work on this project titled – Online bus ticketing system, the
following books and literature are referred by me during the various
phases of development of the project.
39 | P a g e