Question: Question 1 [ 1 5 marks ] InterSA is a bus company that offers its travelling services to its customers throughout southern Africa. When passengers
Question
marks
InterSA is a bus company that offers its travelling services to its customers throughout southern Africa. When passengers board the bus, there's usually someone who registers passengers' details using a notebook hardcopy The details include Name, Surname, Destination, and Contact Nopersonrelated InterSA has approached you to help them create a graphical user interface GUI application that will record these details instead of recording them in a hardcopy book.
Use MySQL workbench to create a database schema named faassessment". Within the database, create a table to store passenger details and name it "passengerdetails". Create the passengerdetails fields as follows:
TABLE: studentbooking
tableField names,Data type,tablePrimarykeyDescriptionFNameVARCHARNopassenger's first nameLNameVARCHARNopassenger's last nameDestVARCHARNopassenger's destinationPhoneVARCHARNopassenger's relative phone number
NB Please use the field names in the table above.
You should be able to see the following when finished:
HSYDJulDecFAODV
Export your database faassessment" and Zipcompress the dump folder for submission on Colcampus as your Question
Question
marks
Use NetBeans IDE to create a Java Swing application GUI that will interact with the passengerdetails table where the user can enterinsert and view passengers who boarded the bus. Save the application as "FormativeAssessment GUI.java"
NB recordsinformation MUST be entered into the table "passengerdetails" through the graphical user interface GUI
You should be able to see the following when finished:
Java Swing GUI
InterSA Boarded Passengers
tableNameSurname,,,
Exit
After inserting the student information via the Java Swing GUI the records are logged in the table "studentbooking".
Result Grid
Filter Rows:
Exporta
tableFNameLName,Dest,PhoneJamesGada,Umtata,SheronMthembu,EastLondon,ThembiMtyali,Gqeberha,PeterParker,GraafReneit,HendrikBotha,Gqeberha,OwenKuger,Gqeberha,AdamOsthusien,EastLondon,
Wrap Cell Contents
Zipcompress the "FormativeAssessment GUI" project folder and submit it on ColCampus as your Questions
tableCriteriaTask,MarksQuestion tableA database is created successfully using the providedschema faassessment and table passengerdetailsnames The table fields FName, LName, Dest, and Phonehave been used. markstableMySQLDatabasetableThe program executes without any syntax or runtime errors.The application allows users to insert and view recordsstored in a MySQL database using the "insert" and "view"buttonsThe program uses the Java connection string to connect tothe MySQL database and table.The program uses Java "insert" and "select" SQL statementsJuva Programexecutiontableto insert and view table records.tableThe application can display records from the MySQL tablepassenger details" and to the GUI. What is shown in thepassengerdetails table must also be shown in the GUI. marks,Design of logic,tableThe program flows logically The program is userfriendly,as shown in the example provided. marks
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
