Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
21 views
(I.P Project Work).pdf
Ip project work std-XII
Uploaded by
Prince Yadav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save (I.P Project Work).pdf For Later
Download
Save
Save (I.P Project Work).pdf For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
21 views
(I.P Project Work).pdf
Ip project work std-XII
Uploaded by
Prince Yadav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save (I.P Project Work).pdf For Later
Carousel Previous
Carousel Next
Save
Save (I.P Project Work).pdf For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 48
Search
Fullscreen
HOTEL MANAGEMENT SYSTEM A Project Report Submitted in Partial Fulfillment of the Requirements AISSCE - All India Senior School Certificate Examination 2024-2025:COMMERCE - XII B In INFORMATICS PRACTICES (065) NAME - AAKASH KUMAR SINGH ROLL NO -............ INTERNAL SIGN - .........06 EXTERNAL SIGN - .| This Is to certify that |. A Student of IBLIC SCHOOL GHATOTAND bearing Roll Number - ............ Class XII B has successfully completed the INFORMATICS PRACTICES PROJECT as per the guidelines of Class XII Board Examination conducted by C.B.S.E titled on “ my guidance and supervision. He has collected all the data and _ information both from Primary and Secondary Sources. | appreciate him 1 1 1 ' 1 i 1 ' 1 1 i for doing such hard work. | wish him grand success In real IIfe.‘sense of respect to my INFORMATIC: ICES TEACHER se AMILESHK KUMAR I ‘Dep artment of IT of 1 f PUBLIC ; for his valuable guidance , generous help and constant ‘inspiration Throughout the project. It is 1 I ! I I ! possible on my part to complete the project ‘work timely on account of his proper supervision. | am also indebted to my ‘parents who have inspired me to take up ithis assignment. | am grateful to the library | Staff for providing me books , journals , imagazines , etc.INDEX 1, CERTIFICATE/ACKNOWLEDGEMENT/INDEX 2. INTRODUCTION OF THE PROJECT 3. OBJECTIVES OF THE PROJECT 4. PROPOSED SYSTEM 5. SYSTEM DEVELOPMENT LIFE CYCLE (SDLC) 6. SOURCE CODE 7. OUTPUT 8. SYSTEM REQUIREMENTS OF THE PROJECT.3. PYTHON CODING. 9. BIBLIOGRAPHYIntroduction of the Project We the students of CLASS XII B of TATA DAV PUBLIC SCHOOL , GHATOTAND have been assigned the work of HOTEL MANAGEMENT SYSTEM. To perform this task the students were divided into the group of four students named as - AAKASH & PRINCE. AAKASH & PRINCE has been assigned the work of coding and programming AAKASH have been assigned the work of analyzing the overall mistakes and have done the conclusion work. The project starts with — Enter 1 - CUSTOMER DETAILS Enter 2 - BOOKING RECORD Enter 3- ROOM RENT Enter 4 - RESTAURENT BILL Enter 5 - GAMING BILL Enter 6 - FASHION STORE BILL Enter 7 - DISPLAY CUSTOMER DETAILS Enter 8 - TOTAL BILL Enter 9 - OLD BILL Enter 10- EXIT We are so glad that this work have been assigned to us, yet we haven't done this work before .MR. AMLESH KUMAR our subject teacher have also helped us a lot to complete this project. We feel so blessed that we have learnt all this work with the help of our sir,we are also thankful to our respected principal TK. MISHRA for providing us various facilities to complete this project. As we are the students of CLASS XII B and we haven't done this type of project before, we have performed all that which we have learnt from our CBSE PROGRAMMING Hence, we know that this programming would be further done on a big platform. Since we have started this programming from SEPTEMBER month ,we believe that this programming would further help us a lot in our future .| We are also thankful to our groupmates for cooperating with each, | other while performing this task we have also polished the skills of | group activity. | PROCESS | FIRSTLY, we have done the planning in a paper work regarding | What have to do on the assigned project HOTEL | MANAGEMENT SYSTEM. ' SECONDLY, we discussed our planning with our subject teacher \ and then he provided us the right path to perform the work. : NEXT, we started our project on foot paths of our subject teacher. 'THEN, we started our coding, coding took around 2 and half | months for completion. NEXT, we analyzed the mistakes done and then we corrected them. THEN, we prepared the project format as shown above. ' THANKS TO ALL OF WORTHY TEACHERS AND PRINCIPAL AND ' MY DEAR GROUP MATES 'ALSO A GREAT THANKS TO TATA DAV PUBLIC SCHOOL FOR | PROVIDING US THIS GOLDEN OPPORTUNITY .OBJECTIVES OF THE PROJECT The objective of this project is to let the students apply the programming knowledge into a real- world situation/problem and exposed the students how prograinming skills helps in developing a good software. + Write programs utilizing modern software tools. + Apply ebject oriented programming principles effectively when developing small to medium sized projects. + Write effective procedural code to solve small to medium sized problems. + Students will demonstrate a breadth of knowledge in computer science, as exemplified in the areas of systems, theory and software development.+ Students will demonstrate ability to conduct , requiring writing and presentation skills which exemplify scholarly. PROPOSED SYSTEM Today one cannot afford to rely on the fallible human beings of be really wants to stand against today's merciless. competition where not to wise saying “to err is human” no longer valid, it's outdated to rationalize your mistake. So, to keep pace with time, to bring about the best result without malfunctioning and greater efficiency so to replace the unending heaps of flies with a much sophisticated hard disk of the computer. One has to use the data management software. Software has been an ascent in atomization various organisations. Many software products working are now in markets, which have helped in making the organizations work easier and efficiently. Data management initially had to maintain a lot of ledgers and a lot of paper work has to be done but now software product on this organization has made their work faster and easier. Now only this software has to be loaded on the computer and work can be done. This prevents a lot of time and money. The work becomes fully automated and any information regarding the organization can be obtained by clicking the button. Moreover, now it's an age of computers of and automating such an organization gives the better look.The System Development Life Cycle as Used in the Construction of the Server Appliance oor [Support| Po: 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 functionalitINITLATION PHASE The Initiation Phase begins when a business sponsor identifies a need or an opportunity. The purpose of the Initiation Phase is to: + Identify and validate an opportunity to improve business accomplishments of the organization or a deficiency related to a business need. + Identify significant assumptions and constraints on solutions to that need. + Recommend the exploration of alternative concepts and methods to satisfy the need including questioning the need for technology, i.e., will a change in the business process offer a solution? + Assure executive business and executive technical sponsorship. The Sponsor designates a Project Manager and the business need is documented in a Concept Proposal. The Concept Proposal includes information about the business process andthe relationship to the Agency/Organization. + Infrastructure and the Strategic Plan. A successful Concept Proposal results in a Project Management Charter which outlines the authority of the project manager to begin the project. Careful oversight is required to ensure projects support strategic business objectives and resources are effectively implemented into an organization's enterprise architecture. The initiation phase begins when an opportunity to add, improve, or correct a system is identified and formally requested through the presentation of a business case. The business. case should, at a minimum, describe a proposal's purpose, identify expected benefits, and explain how the proposed system supports one of the organization's business strategies. The business case should also identify alternative solutions and detail as many informational, functional, and network requirements as possible. SYSTI INCEPT D LOPMENT PHA: The System Concept Development Phase begins after a business need or opportunity is validated by the Agency/Organization Program Leadership and the Agency/Organization ClO. The purpose of the Systern Concept Development Phase is to: Determine the feasibility and appropriateness of the alternatives. Identify system interfaces. Identify basic functional and data requirements to satisfy the business need. Establish system boundaries; identify goals, objectives, critical success factors, and performance measures. + Evaluate costs and benefits of alternative approaches to satisfy the basic functional requirements + Assess project risks + Identify and initiate risk mitigation actions, andDevelop high-level technical architecture, process models, data models, and a concept of operations. This phase explores potential technical solutions within the context of the business need.+ Itmay include several trade-off decisions such as the decision to use COTS. software products as opposed to developing custom software or reusing software components, or the decision to use an incremental delivery versus a complete, onetime deployment. + Construction of executable prototypes is encouraged to evaluate technology to support the business process. The System Boundary Document serves as an important reference document to support the Information Technology Project Request (ITPR) process. + The ITPR must be approved by the State GIO before the project can move forward. 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 riskseffectively. 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 a project. Acctitical part of a project manager’ sjob 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. Personnel assignments, costs, project schedule, and target dates are established. A Project Management Plan is created with components related to acquisition planning, configuration management planning, quality assurance planning, concept of operations, system security, verification and validation, and systems engineering management planning. 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 alevel 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 MasterPlan 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 (ie., 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 (systern 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 scriptprograms during the development phase. Program designs are c onstructed in various ways. Using a top-down approach, designers first identify and link majorprogram 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. Since problems in the design phase could be very expensive to solve in the later stage of the software development, a variety of elements are considered in the design to mitigate risk. These include: Identifying potential risks and defining mitigating design features. Performing a security risk assessment. Developing a conversion plan to migrate current data to the new system. Determining the operating environment. 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 ClO 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 byAgency 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: + Translating the detailed requirements and design into system components. + Testing individual elements (units) for usability. + Preparing for integration and testing of the IT system. INTEGRATION AND TEST PHASE + Subsystem integration, system, security, and user acceptance testing is conducted during the integration and test phase. The user, with thoseresponsible 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 assess the system security and issue a security certification and accreditation prior to installation/implementation. Multiple levels of testing are performed, including : + Testing at the development facility by the contractor and possibly supported by end users + Testing as a deployed system with end users working together with contract personnel + Operational testing by the end user alone performing all functions. Requirements are traced throughout testing,a final Independent Verification & Validation evaluation is performed and all documentation is reviewedand accepted prior to acceptance of the system. AMPLEMENTATION 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 userrequirements. OPERATIONS AND MAINTENANCE PHASE 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 reenter the planning phase. The purpose of this phase is to: * Operate, maintain, and enhance the system. Certify that the system can process sensitive information. Conduct periodic assessments of the system to ensure the functional requirements continue to be satisfied.PYTHON CODING yeseeseaeeseaes+HOTEL MANAGEMENTSYSTEM *###4+e8e4 +e sesseseeenay Import mysql.connector ‘#GLOBAL VARIABLES DECLARATION ipConnnedtion =" cursor userName: password = roomrent=0 restaurentbill=0 garningbi fashionbin=9 totalAmount=( cid MODULE TO CHECK MYSQL CONNECTIVITY def MySQlconnectionCheck (): global myConnection global userName global password userName = input{"\n ENTER MYSQL SERVER'S USERNAME input("\n ENTER MYSQL SERVER'S PASSWORI 1 1ysq|.connector.cennect(host="localhost” user=userName,passwd=password , auth_plugin='mysql_native_password' }if myConnection: print{"\n CONGRATULATIONS ! YOUR MYSQL CONNECTION HAS BEEN ESTABLISHED !") cursor=myConnection.cursor() cursor.execute|"CREATE DATABASE IF NOT EXISTS HMS") cursor.execute("COMMIT") cursor.close() return myConnection eke: print|"\nERROR ESTABLISHING MYSQL CONNECTION CHECK USERNAME AND PASSWORD !") MODULE TO ESTABLISHED MYSQL CONNECTION def MvSQLconnection () global userName global password global myConnection global cid mmyConnection=mysql.connector.connect{host="ocalhost",user-usertiamespasswe database="HMS" , auth_plugin='mysal_native_password! } if myConnection: return myConnection eke: print("\nERROR ESTABLISHING MYSQL CONNECTION I") myConnection.close() def userEntry(): gobal cid if myConnection: cursorsmyConnection.cursor( createTable =""CREATE TABLE IF NOT EXISTS C_DETAILS(CID VARCHAR(20),C_NAME \VARCHAR(30),C_ ADDRESS VARCHAR(30),C_AGE VARCHAR (30), ‘COUNTRY VARCHAR|30) ,P_NO VARCHAR(30},C_EMAIL VARCHAR(30}i""” cursor.execute(createTable)dd = input("Enter Customer Identification Number : ") name = input("Enter Customer Name : ") address = input{"Enter Customer Address :") age input{"Enter Customer Age =") rationality = input{"Enter Customer Country : ") Phoneno= input("Enter Customer Contact Number : ") email = input("Enter Customer Email : ") 591 = "INSERT INTO C_Details VALUES(%s,%s, 9s, 96s, %s, 65,965)" values (cid,name,address,age,nationality, phonena,email) cursor.execute(sql.values) ‘cursor.execute("COMMIT" } print("\nNew Customer Entered In The Systern Successfully !") cursor.close() print("\nERROR ESTABLISHING MYSQL CONNECTION 1") def bookingRecord!): global cid customer=searchCustomer() if customer: if myConnection: cursor=myConnection.cursor() createTable ="CREATE TABLE IF NOT EXISTS BOOKING_RECORD (CID VARCHAR(20),CHECK_IN DATE ,CHECK_OUT DATE)" cursor.execute(createTable) checkin=input("\n Enter Customer CheckIN Date [ YYYY-MM-DD ] : ") checkoutsinput("\n Enter Customer CheckOUT Date[ YY¥Y-MM-DD] : ") sql= "INSERT INTO BOOKING_RECORD VALUES(%s,%5,%3)" values= (cid, checkin checkout) cursor.executelsql values) ‘cursorexecute("COMMIT")print(""\nCHECK-IN AND CHECK-OUT ENTRY MADED SUCCESSFULLY |") cursor.clase() else: print("\nERROR ESTABLISHING MYSQL CONNECTION !") def roomRent(}: global cid if customer: global roomrent if myConnection: cursorsmyConnection. cursor{) createTable ="CREATE TABLE IF NOT EXISTS ROOM_RENT(CID VARCHAR(20),ROOM_CHOICE INT,NO_OF_DAYS INT,ROOMNO INT ,ROOMRENT INT)” cursor.execute(createTable) print ("\n sft We have The Following Rooms For You #ii##") print (" 1, Ultra Royal ~-->10000 Rs.") print("2. Royal ~--> S000 Rs. ") print ("3. Elite >3500 Rs. ") print("4. Budget ~~> 2500 USD") romchoice =int(input{"Enter Your Option :")) reomne: t{input("Enter Customer Room No : ")) roofdays=intlinput("Enter No. OF Days: ")) if roomeh oice==1: roomrent = noofdays * 10000 print{"\nUltra Royal Room Rent : ',roomrent) lif rocomchoice= roomrent = noofdays * 5000 print("\rRoyal Room Rent : ",roomrent) aif roomehoice roomrent = noofdays * 3500print("\nElite Royal Room Rent : ",roomrent) iif roomchoice=: roomrent = noofdays * 2500 print("\nBudget Room Rent : ",roomrent) else: print("Sorry ,May Be You Are Giving Me Wrong Input, Please Try Again!!! ") return sale "INSERT INTO ROOM _RENT VALUES( 2 s,s, 9,5)" values= (cid,roomchoice,noofdays,roomno,roomrent, cursor.execute(sql,values) cursor.execute("COMMIT") print("Thank You, YourReom Has Been Booked For: ";noofdays , "Days") print("Your Total Room Rent is :Rs. ",roomrent) cursor.close() eke: print("\nERROR ESTABLISHING MYSQL CONNECTION 1") def Restaurent() global cid customer=searchCustomer() if customer: global restaurentbill if myConnection: cursor=myConnection.cursor{ createTable =""CREATE TABLE IF NOT EXISTS RESTAURENT(CID VARCHAR(20),CUISINE \VARCHAR(30}, QUANTITY VARCHAR(30), BILL VARCHAR(30)) ‘cursor.execute(createTable) print("1. Vegetarian Combo print{"2. Non-Vegetarian Combo print{"3. Vegetarian & Non-Vegetarian Cambo ~~--> 750 Rs.") choice_dish int(input("Enter Your Cusine: "))‘quantity=int(input("Enter Quantity: ")) if choice_dish==1: print{"\nSO YOU HAVE ORDER: Vegetarian Combo ") restaurentb ‘quantity * 300 if choice_dish==2: print("\nSO YOU HAVE ORDER: Non-Vegetarian Combo ") restaurentbill = quantity * 500 dif choice_dish==3: print("\nSO YOU HAVE ORDER: Vegetarian & Non-Vegetarian Combo ") restaurentbill= quantity * 750 else: print('Sorry ,May Be You Are Giving Me Wrong input, Please Try Again I! *) return sgl= "INSERT INTO RESTAURENT VALUES|9%4s, ss 95)" valuese (cid, choice_dish quantity,restaurentbill) cursorexecutesqlvalues) cursorexecute("COMMIT") print("Your Total Bill Amount Is : Rs. ",restaurentbill) print("\n\n#4** WE HOPE YOU WILL ENJOY YOUR MEAL ***\n\n") cursor.ciase() else: print("\nERROR ESTABLISHING MYSQL CONNECTION !") def Gaming) lobal dd customer=searchCustomer|) if customer: global gamingbill if myConnection: cursoremyConnection.cursor() createTable =""CREATE TABLE IF NOT EXISTS GAMING(CID VARCHAR(20),GAMES \VARCHAR(30),HOURS VARCHAR(30),GAMING_BILL VARCHAR(30})"cursor execute(createTable) prine(*™* 1. Table Tennis 2. Bowling 3. snooker 4. VR World Gaming 5. Video Gamez 6. Swimming Poo! Games -——-> 7. Exit vm) > 150 Rs./HR o> 400 RS /HR 300 Rs./HR 350 Rs /HR game=int(input("Enter What Game You Want To Play : ")) hot int(input{"Enter No Of Hours You Want To Play : ")) Drint("\r\ si or ee ct tn i if game print("YOU HAVE SELECTED TO PLAY : gamingbill = howr* 150 if games print("YOU HAVE SELECTED TO PLAY gamingbill = hour * 100, if games print("YOU HAVE SELECTED TO PLAY gamingbill = hour* 250 lif game: print("YOU HAVE SELECTED TO PLAY gamingbill = hour * 400 dif game: print("YOU HAVE SELECTED TO PLAY gamingbill = hour * 300 lif game print("YOU HAVE SELECTED TO PLAY gamingbill = hour * 350 Table Tennis") Bowling") Snooker") VR World Gaming") Video Games") Swimming Pool Games")else: print("Sorry May Be You Are Giving Me Wrong Input, Please Try Again 1!! ") return sql=" INSERT INTO GAMING VALUES(%s 6s, %s 965)" (cid,game,hour,gamingbill} cursorexecute( sql,values) cursor-execute("COMMIT") print("Your Total Gaming Bill Is : Rs. ",gamingbill) print("FOR = "hour," HOURS","\n *** WE HOPE YOU WILLENIOY YOUR GAME ***") rit" \ si ie et cursor.close() eke: print("ERROR ESTABLISHING MYSQL CONNECTION !") ef Fashion(); lobal cid customer searchCustomer() if customer: global fashionbill if myConnection: cursor=myConnection.cursor() createTable =""CREATE TABLE IF NOT EXISTS FASHION(CID VARCHAR( 20), DRESS ‘VARCHAR(30), AMOUNT VARCHAR(30),BILL VARCHAR(30)}""" cursor.execute{createTable) pring( 4. Shirts ~--> 1500 Rs, 2, Tshirts ~--> 300 Rs, 3. Pants > 2000 Rs. 4, Jeans > 4000 Rs. 5. Tassel top --->500 Rs. 6. Gown 3000 Re.9, Trousers 10. InnerwWear =P dress=int{input( "Enter the your Choice wear: ")) quantity=int{input("How many youwant ta buy: ")) ifdresse=1: print("\nshirts") fashionbill = quantity * 1500 dif dress==2: print("\nT-Shirts") fashionbill = quantity * 300 lif dress==3: print("\nPants") fashion bill = quantity * 2000 lif dress=a4) print("\nJeans") fashionbill = quantity * 4000 lif dress==5: print("\ntTassel tap") fashionbill = quantity * 500 lif dress==6: print("\nGown") fashionbill = quantity * 3000 lf dress==7: print("\nWestern dress") fashionbill = quantity * 3000 aif dress: print("\nskirts")fashionbill = quantity * 400 dif dress==9 | print("\sTrousers") fashionbill = quantity * 200 aif dress==10: print("\ninnerWear") fashionbill = quantity * 30 else: print("Sorry May Be You Are Giving Me Wrong Input, Please Try Again I!! ") return Sqle "INSERT INTO FASHION VALUES(%s,%s.%s,%s)" values= (cid,dress,quantity,fashionb ill) cursor.execute(sql values) cursor.execute("COMMIT") ri") nl Re Print("\nYOU SELECT ITEM NO : "dress,"\nYOUR QUANTITY IS : " quantity," ITEMS", "\nTHANK YOU FOR SHOPPING VISIT AGAIN!!!" ) print("\nYour Total Bill Is: " fashionbill} rit "\r\raee ete errr eer ee eer oe) cursor.close() el print{"\MERROR ESTABLISHING MYSQL CONNECTION !") def totalAmount() global cid customer=searchCustomer{) if customer: global grandTotal global roomrent gobal restaurentbill gobalfashionbill global gamingbillif myConnection: cursor=mConnection cursor) createTab "CREATE TABLE IF NOT EXISTS TOTAL(CID VARCHAR(20),C NAME \WARCHAR(30), ROOMRENT INT ,RESTAURENTBILL INT , GAMINGBILL INT, FASHIONBILL INT,TOTALAMOU NT INT)" cursor.execute(createTable} sql= "INSERT INTO TOTAL VALUES %s,%5,9%s, 9s, 965,965,965)" input"Enter Customer Name : ") gandTotal=roomrent + restaurentbill + fashionbill + gamingbill values= (cid,nane,roomrent, restaurentbill, gamingbill fashionbill grandTotal) ‘cursorexecute(sql,values) cursor.execute("COMMIT*) cursor.clase() print("\n **** CROWN PLAZA MIAMI **** CUSTOMER BIILING ****") print("\n CUSTOMER NAME: " name) print("\nROOM RENT —: Rs. ",foomrent) print("\hRESTAURENT BILL + Rs. ",restaurentbill) print("\nFASHION BILL: Rs. ",fashionbill) print("\NGAMING BILL: Rs. ",gamingbill) print(" print("\nTOTALAMOUNT —: Rs. ",grandTotal) cursor.close() alse: print{"\MERROR ESTABLISHING MYSQL CONNECTION !") def searchOldsill) global cid ‘customer=searchCustomer() if customer: if myConnection: cursor=myConnection. cursor() sql="SELECT * FROM TOTAL WHERE CID= %s" cursor.execute(sq},(cid,))data-cursor.fetchall() if data: print{data) else: print("Record Not Found Try Again !") cursor.closel) alse: print("\nSomthing Went Wrong ,Please Try Again !") def searchCustomer(} gobal cid if myConnection: cursor=myConnection.cursor() dd=input{"ENTER CUSTOMER ID : ") sql="SELECT * FROM C_DETAILS WHERE CI = 5" cursor.execute( sq], (cid,)) data=cursor fetchalll) if data: print(data) return Tue else: print(" Record Nat Found Try Again !") return False cursorclose() print("\nSomthing Went Wrang.,Please Try Again !"‘se sneesena 8 HOTEL MANAGEMENT SYSTEM "ittaieneeren serene seen m) myConnection = MySQLeonnectionCheck () if myConnection: MiySQLeonnection () while(True}: print’ 1s Enter Customer Details 2—>Booking Record 3—sCaleulate Room Rent 4—>Calculate Restaurant Bill 5—>Calculate Gaming Bill 6—>Calculate Fashion store Bill 7—>Display Customer Details ‘8—>GENERATE TOTAL BILL AMQUNT ‘9—>GENERATE OLD BILL 10 EXIT choice = int{input{"Enter Your Choice") iftchoice userEntry() elif choice bookingRecord()dif choice ==3: roomRent() eli coe Restaurent() elif choice ==5: Gaming() elif choice ==6: Fashion|) eli choc ~ searchCustomert) elif choice ==8: totalAmount() elif choi searchOldBill) print("Sorry May Be You Are Giving Me Wrong Input, Please Try Again !!! ") else: print("\nERROR ESTABLISHING MYSQL CONNECTION !") END OF PROJECTOutput of the Project Finally, we conclude our work and present the output of the Project. MAIN SCREEN | fle Edt Shell Debug Options Window Hilo. Python 3.7.3 (v3.7.d:efsecteaia, Mar 25 2019, 21:26:53) (HSE v.1916 32 mae (inte ~ 1)} oa wansz Type “belt, “copyricnc. >> seeeneeee RESTART: C:\Users\EV_27\ Desktep\ROTEL MUAGN@NT SYSTEM. py emame wereaits™ or “1icense()" for more 1nformation. ENTER MYSQL SERVER'S USERNAME =USER AUTHENTICATION file Edt Shell Debug Options Window Help Python 3.7.3 (v3.7.3:efdectedi2, Mar 25 2019, 21:26:53) (MSC v.181€ 32 bat (Inte © 3)] on wans2 Type "help", "copyright", "credits" or "license(}" fer more information. peed RESTART: C:\Osere\KV-27\DesEtop\HOTEL MANAGEMENT SYSTEM. py HOTEL MANAGEMENT SYSren +446 ENTER MYSOL SERVER'S USERNAME : root ENTER MYSQL SERVER'S PASSWORD : root CONGRATULATIONS + YOUR MYSOL CoMVECTION HAS BEEN ESTABLISHED ! Enter Customer Details »Booking Record >Galculate Room Rent Calculate Restaurant Bill Calculate Gaming Bill Calculate Fashion store Bill sDsaplay Customer Details >GENERATE TOTAL BILL AHOUNT Enter Your choice Ln 19 Gok 0CUSTOMER DETAILS | file Edt Shell Debug Options Window Help Python 3.7.3 (v3.7.3:efdectedi2, Mar 25 2018, 21: 2)) on wind? ‘Type “neip", “copyright, “credits” or “license()" for more informacion. 6:53) (MSC v.1S16 32 bat (Inte « RESTART: €:\Users\KV-27\Destcop\HOTEL MANAGEMENT SYSTEM. py ENTER MYSQL SERVER'S USERIOME + rect ENTER MYSOL SERVER'S FASSWORD : root CONGRATULATIONS ‘ YOUR MYSQL CONNECTION HAS BEEN ESTABLISHED * Enter Customer Decail= >Booking Record >Caleulate Room Rene >Galculate Restaurant Bil2 Calculate Gaming Bill Calculate Fashion stere 8111 Display Customer Details GENERATE TOTAL BILE ASOUHT GENERATE OLD BILL EXIT Enter Your Choicez Enter Customer Identification Number : C101 Enter Customer Nene : Suzy Sabestian Enter Customer Address : 45 srzeet von Enver Customer Age : 25 Enter Customer Country : Australia Enter Customer Contact Number : 7e78¢-224S6 Enter Customer Email :
[email protected]
New Customer Entered In The System Successfully # Enter Customer Derails >Beoking Record Calculate Room Rent sCaleulate Restaurant Bil2 _ . Le Bs CoboCUSTOMER BOOKING RECORDS Fle Edit Shell Debug Options Window Help Enter Customer Address : 45 street won s Encer Customer Age + 25 Encer Customer Contact Number : 76788-32486 Enver Customer Email :
[email protected]
New Customer Entered In The System Successfully ! DEnter Customer Deveias Booking Record Scaloulate Roem Rent pCalolace Restaurant Bi11 Calculate Gaming 5112 Calculate Fashion store Bill 10. Enver Your chosce2 ENTER CUSTOMER ID: clOL [(1LOl", ‘Suzy Sabestian', ‘45 atreet won', '25', ‘Australia’, ‘767e9-32456", * Suzyi23tgmaii.con*) } Enver Customer CheckIN Date [ YYYY-M-DD 1 2020-01-11 Encer Customer CheckOUT Dare [ Tiv¥ietop ] + 2020-01-16 (CHECK-IN AND CHECK-OUT ENTRY MADED SUCCESSFULLY | fe penter Customer Devaiie Booking Record >Galculace Room Rent Calculate Restaurant Bi22 >Caicalace Gaming B:12 SCalculate Fashion store Bll met Coe |File Edit Shell Debug Options Window Help Enter Customer Details Booking Record Calculate Room Rent Calculate Restaurent Bill Calculate Gaming Bill Calculate Fashion store Bill 1o--->EXIT Enter Your Choices ENTER CUSTOMER ID; C101 [(1C201", ‘Suzy Sabestian', "45 stzeer won", '25', 'Auserazda’
[email protected]
')) #4444 He have The Following Rooms For You ##### 3. Ultra Royal ----» 10000 Rs. 2. Royel 3. Elite 4. Budget Enter Your Optisn Enter Customer Room No : 420 Enter No. Of Days =: & Ultra Royal Room Rent : 69000 Thank You , Your Rocm Has Been Booked for : 6 Days Your Total Room Rent is ; Rs, 0000 DEAteE Customex Derails ~>Booking Record Calculate Room Bent SCalculave Restecrant B421 Calculate Gaming Bil pcaicslete Famion store Ball >Display Customer Details SGERERATE TOTAL BILE. AMOUNT GENERATE OLD BIZ 30-—-SExIT Enver Your Choicd "7e7es-s2456", * Ln 88 CotoRESTAURENT BILL Fle Est Shell Debug Options Window Help. enter Customer Details Booking Record SCalculave Room Rent Calculate Resteurent Bild >€alculate Gaming Bill Calculate Fasnion store S112 Enter Your Chosced ENTER CUSTOMER ID i CLOL [CcLoi", "Suzy Sabestian', ‘45 street won", +25!
[email protected]
')) 2. Vegetarian Combs 2, Mon-Vegetarian Combo 31 Vagerarian © Non-Vegerarian Combo Enter Your Cusine : 9 Enver Quantity 1 2 *nuserania', ‘76795-52456", * SO YOU HAVE ORDER: Vegetarian & Non-Vegetarian Combo Your Total S112 amount Ts + @ 1500 ste* WE HOPE YOU WILL ENJOY YOUR MEAL «++ sence Customer Derasie SBocking Record >Caleuiate Room Rent >ealewiate Restaurant Bill Scaloutate Ganing Bi12 Sealewate Fashion store Bill >Display Customer Details DGENERATE TOTAE BILL AMOUNT SGEMERATE. OLD BILL inter Your nosed . _ tnt CotoGAMING BILL le Est Shel Debug Options Window Help '$--->GENERATE OLD BYLL ” 20--->EXIT Enter Your choices ENTER CUSTOMER ID 1 C101 ((ci0i, ‘suzy Sebestian', "45 screct won", '25', ‘Auscralia’, *76705-32456", *
[email protected]
'), ('C101", ‘Suzy Sabestian', ‘45 street won', 125", *Austzalé s; 76799-32486", “Susyi2sMgmasl .com')] | Table Tennis Bowling Snooker YR World Gaming Video Games Swimming Fool Games mat iso Re./eR 100 Re./R 280 Re./HR 4300 Rs./2R 300 Ra./BR 350 Re. /aR Enter What Game You Kant To Play 1 4 Enter No Of Hours You Want To Play : 2 sensasssesstesness seessnnsasssessasssssatesiats YOU HAVE SELECTED TO pLay : VR World Gaming Your Total Gaming Bill Is: Ra. 600 FoR : 2 ROURS ‘1 WE HOPE YOU WILL ENJOY YOUR GAME =** senssanaaenaee: aE ERSEORESSEAASANERESRESONESSAE DEnter Customer Derails Calculate Fashion store BAl} Display Customer Details GENERATE TOTAL BILL AMOUNT GENERATE OLD BILL raver Your ented : Lm 145 Coto |FASHION STORE BILL Enter Your Choices ENTER CUSTOMER ID + clOL [(°CLOL", ‘Suzy Sabestian', 145 street won', 125", ‘Auseralia', at, "76788-32456", "
[email protected]
') 1 a. Snares s 100 RB, 2. Tsharce > 300 Rev SI pene > 2000 Ra. 4. Jeans > 4000 Re. $. Tassel top > 00 Re 6. Gown > 3000 Ray 7) Western dress -----> 3000 Ra. 2. skirts > 8. Trousers > 10, InnerWear > Enter the your Choice wear: 7 How many you vant to buy: 1 Western dress ‘saneseneessnsssetasessstsaseasessateaieesanetiae YOU SELECT ITEM NO: 7 YOUR QUANTITY 18: 1 ITEMS THANK YOU FOR SHOPPING VISIT AGAIN!!! Your Toral Biz Is: 3000 ‘sbeeeeaneesunseneranessaneatsneeteateneesianetaae 1 pEnter Customer Details
[email protected]
'), (*Cl0l", ‘Suzy Sabestian', ‘45 atreet won', "76799-32486", * "28", ‘Auatrali Lne 182 Cok 0DETAILS OF THE CUSTOMER BS “Python 7 le Edit Shell Debug Options Window Help seneeeseaseseoesaseseeesgessssceessessassssoesags YOU SELECT ITEM NO: 7 YOUR QUANTITY 15 1 rreus Your Toval 8122 72: 3000 seneeseesetssssaesseeesnsesesseresetinee teetets 1 SEnter Castomer Details Booking Record Enver Your Choice? ENTER CUSTOMER 1D : clOL [(*CL01", *Suzy Sabestian', 145 street won', '25', ‘Australia’, '76709-92456", *
[email protected]
'), ("C201', ‘Suzy Sabeatian’, ‘45 atreet won’, ‘25*, ‘Australa at, *76788-32456", "
[email protected]
')] pEnter Customer Derails Booking Record Calculate Restaurant 8412 pCaloulate Gaming B11 Calculate Fashion store BAll Enter Your choice ¥ L219" Cob 17|TOTAL BILL Ble Esit She Bebug Qptions Window Help 10-=-EXIT iil Enter Your Choice? ENTER CUSTOMER ID : C101 (("GLol', ‘Suzy Sabestaan‘, ‘45 street won', ‘25’, ‘Australia’, ‘76769-32456, *
[email protected]
'), (*C201", ‘Suzy Sabestian', ‘45 street won', "25%, ‘Australas at, '76789-32456", '
[email protected]
') ] oCaiculave Room Rent 4---:Calculate Restaurant 2411 >Calewlete Geming Bil pCalculate Fashion store Bill Enter Your Choice? ENTER CUSTOMER 1D cl0L [(1C101", "Suzy Sabestian', ‘45 street von', '25', ‘Australia’, ‘76769-3245e", +
[email protected]
'), (*C101", ‘Suzy Sabestian', ‘45 street won’, ‘25, ‘Australs 17679-32486", 'Suzyl23@¢mail.com')} Enter Customer Name : Suzy Sabestian s+ CROWN PEAZR MERI «+++ CUSTOMER BITLING *¥++ CUSTOMER MAME : Suzy Sabestian, ROOM RENT Re. 60000 RESTAURENT BILL : Rs, 1800 FASHION BILL + Re. 3000 caemne BILL Re, 800 TOTAL avooNT + Rs. 65300 Enter Customer Detaias - Ln 23 Cobo.OLD BILL Ble Edit Shell Debug Options: Window Help ROOM RENT + Ra. 60000 RESTAURENT BILL ©: Rs. 1800 FaSsION BILL Re. 3000 caumns BILL, Rs. 800 TOrAL amour + Re. 65300 2o-—>Booking Record S---sCalewlate Room Rent 4---dcalculate Restaurant B111 S--->Calculate Gaming Bill e---scaleulate Fashion score 8112 s * 20. Enter Your Choices ENTER CUSTOMER ID: C101 ((1C101", ‘Suzy Sabeacian', 45 street wont, ‘254, "2e786-32456", 'Sazy123Qguail .com'}) (("C10", "Suzy Sebestian‘, 69000, 1500, #00, 3000, Senter Custoner Devas >Bocking Record calculate Room Rent ---sCalculate Restaurant B421 p¢aiculace Gaming 8112 oCaleulate Fashion store Bill SDasplay Customer Details GENERATE TOTAL BILL AMOUNT
[email protected]
'), (‘C10L", ‘Suzy Sabestian', ‘45 street won’, 5300) "25", “Australi, Ue 264 Cot 7|EXIT le Ee shel Debug Options Window Help ROOM RENT 7 Ra. 60000 a RESTAURENT BILL : Re. 1500 FASHION BILL Re. 3000 GAMING BILE : 800 TOTAL aMouNT + Re, 65300 >Enter Customer Derails >Booking Record “sCalculate Room Rent ->Galculase Restaurant Bill >Gaiculate Gaming Bill >Calculate Fashion store Ball -sDisplay Customer Details “PGENERATE TOTAL BILL ANOONE -SGENERATE OLD BILL >ExaT Enter Your choices ENTER CUSTOMER ID: C101 [("c191", "Suzy Sebescian', '45 street won', '25', ‘Australia’, '76769-32456", *
[email protected]
'), (‘C101', ‘Suzy Sabestian', "45 atest won’, 125", ‘Austeala "76783-32456", ‘Suzy123¢gmail.com')] ((cuoi', "Suzy Sabeacian', 69000, 1800, 800, 3000, €83000) -sEncer Customer Details “PBecking Record “sCalcalate Room Rent ->Caiculate Restaurant B12 Calculate Gaming Bill “>Gaiculate Fashion store 112 Display Customer Details GENERATE TOTAL BILL aNCUNT >GENERATE OLD BILL EXIT eee “re 265 Cob |MYSQL DATABASE AND TABLES USED IN THIS PROJECTTABLE STRUCTURE 1 AND 2 za TABLE STRUCTURE 3 AND 4 aTABLE STRUCTURE 5 AND 6BACKEND DATA GENERATED THROUGH SOFTWARE BACKEND DATA GENERATED THROUGH SOFTWAREBACKEND DATA GENERATED THROUGH SOFTWARE BACKEND DATA GENERATED THROUGH SOFTWAREBACKEND DATA GENERATED THROUGH SOFTWARESystem Requirements of the Project | ‘Recommended System Requirements Processors: Intel® Core™ i3 processor 4300M at 2.60 GHz. Disk space: 2 to 4 GB. Operating systems: Windows® 10, MACOS, and UBUNTU. Python Versions: 3.X.X or Higher. Minimum System Requirements Processors: Intel Atom® processor or Intel® Core™ i3 processor. Disk space: 1 GB. Operating systems: Windows 7 or later, MACOS, and UBUNTU. Python Versions: 2.7.X, 3.6.X. Prerequisites before installing MySQL Connector Python You need root or administrator privileges to perform the installation process. 1 \ I \ 1 ' I \ 1 1 I 1 1 ' I 1 I \ ' ' I \ 1 ' I Python must be installed on your machine. ' 1 Note: - MySQL Connector Python requires python to be in the | system’s PATH. Installation fails if it doesn’t find Python. 1 ' On Windows, If Python doesn’t exist in the system’s PATH, please , manually add the directory containing python.exe yourself.BIBLIOGRAPHY 1. python.org 2.Code Academy 3. tutorialsPoint.com 4, PythonChallenge.com 5.Google’s Python Class 6. LearnPython.org 7. You Tube
You might also like
Hotel Management
PDF
88% (25)
Hotel Management
44 pages
6081.hostel Management
PDF
50% (4)
6081.hostel Management
27 pages
Project File On Hotel Management Informatics Practices
PDF
No ratings yet
Project File On Hotel Management Informatics Practices
44 pages
ImageToPdf 3122023 10-52-58
PDF
No ratings yet
ImageToPdf 3122023 10-52-58
57 pages
CS IP
PDF
No ratings yet
CS IP
19 pages
Python File Pyqs
PDF
No ratings yet
Python File Pyqs
43 pages
Project Introduction
PDF
No ratings yet
Project Introduction
49 pages
Hotel Management by Radhika
PDF
No ratings yet
Hotel Management by Radhika
48 pages
Cs Project
PDF
No ratings yet
Cs Project
29 pages
Hotel Management
PDF
No ratings yet
Hotel Management
26 pages
Hotel Management - Tanmaya
PDF
No ratings yet
Hotel Management - Tanmaya
27 pages
Ip Project
PDF
No ratings yet
Ip Project
50 pages
Hotel Management by Sumrita
PDF
No ratings yet
Hotel Management by Sumrita
43 pages
Ip Project
PDF
No ratings yet
Ip Project
50 pages
Ip Project
PDF
No ratings yet
Ip Project
50 pages
Hotel Management System
PDF
No ratings yet
Hotel Management System
37 pages
Hostel Management System- Satyajeet Bal
PDF
No ratings yet
Hostel Management System- Satyajeet Bal
24 pages
Hostel Management
PDF
No ratings yet
Hostel Management
27 pages
Hostel Management
PDF
No ratings yet
Hostel Management
27 pages
Computer Project
PDF
No ratings yet
Computer Project
32 pages
6081.hostel Management MANISH
PDF
No ratings yet
6081.hostel Management MANISH
27 pages
Hotel Management System
PDF
100% (1)
Hotel Management System
27 pages
Hostel Management System
PDF
100% (1)
Hostel Management System
28 pages
6081.hostel Management
PDF
No ratings yet
6081.hostel Management
27 pages
Computerized Billing System For Shopping Malls
PDF
100% (2)
Computerized Billing System For Shopping Malls
27 pages
English Project Front Pages
PDF
No ratings yet
English Project Front Pages
59 pages
6081.hostel Management
PDF
No ratings yet
6081.hostel Management
28 pages
Bank Management System
PDF
No ratings yet
Bank Management System
33 pages
Kendriya Vidyalaya NO.4: Environmental Degradation
PDF
No ratings yet
Kendriya Vidyalaya NO.4: Environmental Degradation
36 pages
Ip Project 2
PDF
No ratings yet
Ip Project 2
52 pages
Bms
PDF
No ratings yet
Bms
33 pages
shubham modi computer project XII
PDF
No ratings yet
shubham modi computer project XII
33 pages
Anushka HM Group5
PDF
No ratings yet
Anushka HM Group5
22 pages
CS practical1
PDF
No ratings yet
CS practical1
28 pages
Hitesh
PDF
No ratings yet
Hitesh
35 pages
Kendriya Vidyalaya Sap Peroorkada: ACADEMIC YEAR: 2021-22
PDF
No ratings yet
Kendriya Vidyalaya Sap Peroorkada: ACADEMIC YEAR: 2021-22
33 pages
Godson Public School: Academic Session: 2021-2022 Project Report Topic
PDF
No ratings yet
Godson Public School: Academic Session: 2021-2022 Project Report Topic
33 pages
Hostel Management System
PDF
No ratings yet
Hostel Management System
28 pages
Project 6072
PDF
No ratings yet
Project 6072
27 pages
9.hospital Management Selected
PDF
No ratings yet
9.hospital Management Selected
29 pages
Hotel Management 2024-25
PDF
No ratings yet
Hotel Management 2024-25
47 pages
CS Project
PDF
No ratings yet
CS Project
41 pages
Quiz Software Management System
PDF
No ratings yet
Quiz Software Management System
24 pages
Dhruv Ip
PDF
No ratings yet
Dhruv Ip
31 pages
Bms
PDF
No ratings yet
Bms
33 pages
hospital managemnt
PDF
No ratings yet
hospital managemnt
27 pages
Bank MGMT
PDF
No ratings yet
Bank MGMT
34 pages
Book Stall Management
PDF
No ratings yet
Book Stall Management
28 pages
Cs Project Vanshaj Bhardwaj
PDF
No ratings yet
Cs Project Vanshaj Bhardwaj
47 pages
Book Stall Management
PDF
No ratings yet
Book Stall Management
28 pages
Computer Science PROJECT FILE
PDF
No ratings yet
Computer Science PROJECT FILE
25 pages
DIPALI SMS FILE
PDF
No ratings yet
DIPALI SMS FILE
30 pages
Computer Science
PDF
No ratings yet
Computer Science
30 pages
Aswin Cs Proj Fr
PDF
No ratings yet
Aswin Cs Proj Fr
45 pages
Split_20241215_1254
PDF
No ratings yet
Split_20241215_1254
26 pages
Project - 6 - Book Shop Management System-1
PDF
No ratings yet
Project - 6 - Book Shop Management System-1
28 pages
Sahil Final Computer Project HM
PDF
No ratings yet
Sahil Final Computer Project HM
29 pages
Jitendra Suthar (CS Project)
PDF
No ratings yet
Jitendra Suthar (CS Project)
29 pages
Project Sample
PDF
No ratings yet
Project Sample
29 pages