[SOLVED] CMPSC 211 assignment 6 room scheduler

I need help with a Java question. All explanations and answers will be used to help me learn.

Struggling to find relevant content or pressed for time? – Don’t worry, we have a team of professionals to help you on
[SOLVED] CMPSC 211 assignment 6 room scheduler
Get a 15% Discount on this Paper
Order Now

The assignment discription is in the uploaded files underneath are some supporting materials. There are multiple videos that I can’t upload through studypool, you can give me a email address so that I can send you all the


Programming Assignment 6 Test Script

This is a scenario that you can use to test Programming Assignment 6. It is not an exhaustive test, but tests almost all of the conditions your program should handle.

When you submit your PA 6, all the tables in the database should be empty except the Rooms Table and the Dates Table. The Rooms table should contain three rooms, such as 101 with 60 seats, 102 with 40 seats, and 201 with 20 seats, which will be used in this script. The Dates table should contain two dates, which will be expressed as date1 and date2 in this script.This scenario assumes that is the case.

The faculty names will be a, b, c, d, etc. to simplify input and this script.
The dates will be real dates but will be represented in this script by the symbolic names date1 and date2.

Script:

-Add faculty a
Note: after adding a faculty, the faculty should appear in the drop down list on the Reserve panel.

-Add faculty b

-Add faculty c

-Add faculty d

-Add faculty e

-Reserve a, date1, 20

  • a reserves room 201

-Reserve b, date1, 50

  • b reserves room 101

-Reserve c, date1, 50

  • c gets waitlisted

-Reserve d, date1, 40

  • d reserves room 102

-Reserve e, date1, 20

  • e gets waitlisted

-Reserve c, date2, 20

  • c reserves room 201

-Status date1

  • a reserved 201
  • b reserved 101
  • d reserved 102

-Status date2

  • c reserved 201

-Status Waitlist

  • c date1 50
  • e date1 20

General conditions of testing:

  • the results of any action are displayed to the user immediately after the action is performed without the user needing to check Status.
  • All affected combo boxes are updated immediately after each action is performed.

Creating a timestamp field in Java

The following is sample code to insert a Timestamp field into a table column:

// declare a timestamp field.
java.sql.Timestamp currentTimestamp = new java.sql.Timestamp(Calendar.getInstance().getTime().getTime());

// use the timestamp in an insert to the wait list.
getWaitList = dbConnection.prepareStatement(“insert into waitlist (flight, day, customerName, timeStamp) values (?, ?, ?)”);
getWaitList.setString(1, entry.getFlightName());
getWaitList.setString(2, entry.getDay());
getWaitList.setString(3, entry.getCustomerName());
getWaitList.setTimestamp(4, currentTimestamp);
count = getWaitList.executeUpdate();

Make sure the column in the database table is specified as Timestamp and not Time.

Calculate the price
Make an order in advance and get the best price
Pages (550 words)
$0.00
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
Sign up, place your order, and leave the rest to our professional paper writers in less than 2 minutes.
step 1
Upload assignment instructions
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
s
Get personalized services with MyCoursebay
One writer for all your papers
You can select one writer for all your papers. This option enhances the consistency in the quality of your assignments. Select your preferred writer from the list of writers who have handledf your previous assignments
Same paper from different writers
Are you ordering the same assignment for a friend? You can get the same paper from different writers. The goal is to produce 100% unique and original papers
Copy of sources used
Our homework writers will provide you with copies of sources used on your request. Just add the option when plaing your order
What our partners say about us
We appreciate every review and are always looking for ways to grow. See what other students think about our do my paper service.
Literature
Great
Customer 452813, July 10th, 2023
Nursing
Always perfectly done!
Customer 452955, October 28th, 2023
Social Work and Human Services
Excellent Work!
Customer 452587, November 30th, 2021
Criminal Justice
Excellent Work!!!
Customer 452587, March 10th, 2022
Nursing
Thank you. Well done
Customer 452881, October 22nd, 2023
Other
Great job
Customer 452813, July 27th, 2023
Communications
Thank you very much
Customer 452669, November 17th, 2021
Nursing
Great work. thank you again!
Customer 452707, August 7th, 2022
Social Work and Human Services
Great Work!
Customer 452587, October 13th, 2021
Technology
I can work with it and massage it to what I need. Thank You
Customer 452827, July 19th, 2022
Human Resources Management (HRM)
Dynamic!!
Customer 452701, October 17th, 2023
Nursing
Always a job well done. I really appreciate the hard work.
Customer 452453, January 4th, 2021
OUR GIFT TO YOU
15% OFF your first order
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Claim my 15% OFF Order in Chat

Good News ! We now help with PROCTORED EXAM. Chat with a support agent for more information