Programming Assignment #7

For this assignment you will be modifying the Phone Book application provided and recreating it to be an AddressBook application.

Use the CreatePhoneBookDB class provided and add some data to the table to create an address book.  Make sure to create a primary key that is truly unique, include first and last name, phone number, street address, and email address.  Modify the code to add these fields to the table, then be sure to add data to the insert statements.  Run this to create the AddressBookDB.

Modify the PhoneBookManager and PhoneBookDemo programs to become an address book application and display the first and last name of each person in the address book for users to choose from.  When the user views a person be sure to display all information associated with that record.  Allow the user to edit each field, not just the phone number.  The user should be able to update anything tied to the person in the address book with the exception of the primary key.  Make sure when a new person is added to the address book all information is asked for and recorded.  Keep the functionality that allows the user to delete a record.

These are the minimum requirements for this assignment.

Political Thought of Abraham Lincoln

please use the link below to find the necessary sources required in this project.
also please stay away from difficult words and phrases.
https://quod.lib.umich.edu/l/lincoln/

You may write your short paper on one and one only of the following questions.

From the Message to Congress, July 4, 1861: Lincoln writes this message predominantly in the passive voice (e.g., It was believed; no choice was left ) Is L simply unsure of himself, just a few months into his presidency? Is he trying to convey that the South has forced all this upon him? Or, in some sense, has L been impelled to action . . . by some power over which the mind itself has no control?

From the Meditation on the Divine Will: If Gods will prevails but the human instrumentalities are of the best adaptation to effect his purpose, what can the parties do to end this war?
From the Letter to Greeley, what is Lincolns war policy, and how does it accord with his personal wishes?

Week 6 Assignment: First Pick

Assignment Content

Your highest performing and tenured manager of a 20-person department unexpectedly submitted their two weeks notice. Your next-most tenured employee in the department has only 2 years of experience. Additionally, there is a major hospital chain in your area that seems to have the first pick recruiting the talent you need.

Develop a 3- to 4-page strategic plan that outlines priorities and steps to mitigate the impact of your employees’ rapid departure.

Propose a recruitment plan to fill the managerial position.

Develop a pre-boarding checklist and an onboarding plan covering an employees first 30, 90, and 180 days with performance metrics.

Identify policies and practices that could have been put in place to proactively avoid this situation.

Cite at least 3 reputable references to support your assignment (e.g., trade or industry publications, government or agency websites, scholarly works, or other sources of similar quality).

Format your assignment according to APA guidelines.

A barrier is a thread-synchronization mechanism

A barrier is a thread-synchronization mechanism that forces the threads to wait until all have reached a certain point (the barrier). Once all threads have reached this point, they may all continue. An interface for a barrier appears as follows:
public interface Barrier{
/**Each thread calls this method when it reaches the barrier. All threads are released to continue processing when the last thread calls this method.*/
public void waitForOthers();
/** Release all threads from waiting for the barrier. Any future calls to waitForOthers() will not wait until the Barrier is set again with a call to the constructor.*/
public void freeAll(); }
The following code segment of the Factory class establishes a barrier and creates 10 Worker threads that will synchronize according to the barrier:
final int THREADCOUNT = 10;
Barrier barrier = new BarrierImpl(THREAD COUNT); for (int i = 0; i < THREAD COUNT; i++)
(new Worker(barrier)).start();
Note that the barrier must be initialized to the number of Worker threads that are being synchronized and that each Worker thread has a reference to the same barrier object barrier. Each Worker will run as follows:
// All threads have access to this barrier
Barrier barrier;
// do some work for a while . . . // now wait for the others barrier.waitForOthers();
// now do more work . . .
When a thread invokes the method waitForOthers(), it will block until all threads have reached this method. Once all threads have reached the method, they may all proceed with the remainder of their code. The freeAll() method bypasses the need to wait for threads to reach the barrier; as soon as freeAll() is invoked, all threads waiting for the barrier are released.
Submit the java project HW5 having the full code of the following:
The interface Barrier,
The classes BarrierImpl implementing the Barrier interface,
The class Worker extending the class Thread
The class Factory