Answer the following questions inside the conceptual.md file. Part 2: Timeword.j

Answer the following questions inside the conceptual.md file.
Part 2: Timeword.js
Solve the following problem in JavaScript:
Turn a string of 24h time into words.
You can trust that you’ll be given a valid string (it will always have a two-digit hour 00-23, and a two-digit minute 00-59). Hours 0-11 are am, and hours 12-23 are pm.Examples of the output we’d like:
InputExpected Output
00:00
midnight
00:12
twelve twelve am
01:00
one o’clock am
06:01
six oh one am
06:10
six ten am
06:18
six eighteen am
06:30
six thirty am
10:34
ten thirty four am
12:00
noon
12:09
twelve oh nine pm
23:23
eleven twenty three Write tests for these cases and make sure your code passes these.
Also, do this without the aid of any external packages. The goal here is to have you think about how you’d solve the problem, not have you show us how good you are at finding third-party libraries.
Part 3: Buggy App
You’ve just joined a team that is building a web app for a financial system, bankly.
You have a generally-nicely-written application and it even has tests, and all tests pass!
However, there are several bugs in the application — they’re just not things that are being tested for (so, in a sense, there are two bugs for each: the broken code, and the fact that there’s no test that caught it).
Some bugs relate to methods returning slightly-wrong information, or being too flexible in what they accept, or failing to check reasonable security requirements.
Get the App RunningFirst step is to get everything running. We’ve made the commands easy for you:
cd bankly
npm install
npm run seed # sets up the regular and test databases
npm test # runs jest
npm start # runs server w/ ‘node’; feel free to change to nodemon
Strategiesread the docstrings for the routes carefully. Treat these as your “source of truth” for what the function is supposed to do.
look at what tests are provided, and think about whether these tests are strict enough to sufficiently test what the function needs to do.
think about what tests are missing that could catch these bugs.
GoalsWe’ve put in six bugs (it’s possible that there are other, unintentional bugs, too).
Be mindful of the definition of a bug. If this application is missing a feature or something that would be “nice to have” – that does not mean it’s a bug. Please only include things that certainly lead to errors or security issues in our application.
You don’t need to find all six — but do the best you can!
Warning: one of the bugs is quite tricky and subtle, and would require some careful study to find.
Want a clue on the tricky, hard-to-notice, elusive bug #6? C
You should turn in:
a short description of the bug
A test that catches that case (put in a comment, eg // TESTS BUG #1, so we can find it)
A fix for the code (put in a comment, eg // FIXES BUG #1, so we can find it)
Full Example Bug FixIf you were given an add function:
add.js
/** Given two numbers, add positive versions of them together. */
function addAbsoluteVals(x, y) {
return Math.abs(x) + y;
}
And it had some tests already:
__tests__/add.test.js
describe(‘addAbsoluteVals’, function () {
it(‘should add two positive numbers’, function () {
expect(addAbsoluteVals(2, 3)).toBe(5);
});
});
You could write a test that fails, proving a bug exists:
__tests__/add.test.js
Then document the bug in your markdown file:
bugs.md
Then fix the code and document the fix in a comment:
add.js
/** Given two numbers, add positive versions of them together. */
function addAbsoluteVals(x, y) {
// FIXES BUG #1
return Math.abs(x) + Math.abs(y);
}

i have attached an example of a basic client/server app connection working for y

i have attached an example of a basic client/server app connection working for you to understand what you have to do. To run it, you must open the JavaClient app and JavaServer app in 2 different Eclipse IDE workspaces. You run the server first, then the client
The example only shows the connection between one client and the server but remember that the chat application you are working on has to accept connections from multiple clients to a server. Follow the proper assignment instructions and go through the example i sent you to see how you have to make the multi-client/server connection and do not forget the the JavaClient app has to be a GUI designed group chat and the JavaServer which is a separate file that accepts the connection from the clients when they enter the username and IP address .