Entries by Student

write my assignment 24967

import java.util.Scanner;

public class UserInput {

  //TO DO: Define promptForInt here

  //TO DO: Define promptForDouble here

  //TO DO: Define promptForYesNo here

  public static void main(String[] args) { 

    Scanner sc = new Scanner(System.in);

    //All values are initialised so code will compile and run

    int guess = -1;    //user’s guess (between 1 and 10)

    double percent = -1;  //a percentage (as a value between 0 and 1)

    boolean again = false; //do they want to go again?

    System.out.println(“Testing prompt for int… the number should be saved in guess.”);

    System.out.println(” – Enter ’60’ — should loop with error”);

    System.out.println(” – Enter ‘-6’ — should loop with error”);

    System.out.println(” – Enter ‘6’ and it should work”);

    // guess = promptForInt(sc, “Enter a number”, 1, 10);

    System.out.println(“Guess: ” + guess);

    System.out.println();

    System.out.println(“Testing prompt for double… the number should be saved in percent.”);

    System.out.println(” – Enter ’60’ — should loop with error”);

    System.out.println(” – Enter ‘-1’ — should loop with error”);

    System.out.println(” – Enter ‘0.5’ and it should work”);

    // percent = promptForDouble(sc, “Enter percent value”, 0.0, 1.0);

    System.out.println(“Percent: ” + percent);

    System.out.println();

    System.out.println(“Testing prompt for yes/no… the result is saved in again.”);

    System.out.println(” – Extend these boolean tests… add messages and verify your solution!”);

    System.out.println(” – Enter ‘yes’ and it should succeed”);

    // again = promptForYesNo(sc, “Play again?”);

    System.out.println(“Again: ” + again);

    System.out.println();

    System.out.println(” – Verify that it can also read in false…”);

    // again = promptForYesNo(sc, “Play again?”);

    System.out.println(“Again: ” + again);

    System.out.println();

    System.out.println(“Tests complete…”);     

  }

}

 

"Not answered?"


Get the Answer

The president of the XYZ union (Union) convened a special meeting

The president of the XYZ union (Union) convened a special meeting of the members to discuss the new contract with its private-sector employer, the RST company (Company). Bill Sharp, the union’s chief negotiator, stepped to the front of the room. 

“Let me begin by saying that our negotiating team has been well prepared for this bargaining. We’ve known that it would not be an easy task and have anticipated the major issues. We’ve been meeting twice a week at the table for the last two months and have secured several of the demands that you wanted, such as standard 2-shift, advanced scheduling. 

Delores, who plans to retire soon, interrupted: “What did they do for the retirees? The retirees didn’t get a single increase in their pension benefits over the last three years. They should get a at least a 5% bump to help them keep up with inflation.”   

Bill replied: “Just like 3 years ago, the company has again refused to negotiate about that; so, no, we’re still working on it. When we have a complete contract that is ready for ratification, we’ll go over all of the provisions with you. For tonight, we need to talk to you about an impasse.”  

As the murmurs in the room subsided, Bill shifted his body weight to his other leg and leaned toward the group. “At this point in the process, we’re negotiating the critical elements—keeping the work at our site if they open a new location and health care benefits. The work-to-rule days we had and the informational picketing we already tried were useful, but they are still digging in their heels on both of these important issues. We’re not likely to have a new contract agreed upon when our existing contract expires at the end of this month. We need to start building for a strike. That means work all the overtime you can now and start saving. We’ll have to get a campaign going in the shop, but also talk about a press and customer strategy. But at the end of the day, I think we’ll need to strike the company if we’re going to get them to give us a fair contract. You know striking isn’t the way most contracts are settled, but we need to prepare for the possibility. Tonight, we need to hear your questions and comments. Remember that anything said in this meeting should stay here; we don’t want to tip them off about our plans plus the information could change during the rest of the process.”

After another 3 weeks of negotiation, all of the issues had been settled except for the following items. Several proposals crossed the bargaining table from both sides. The most recent ones were: 

Union Recognition clause

Company’s proposal = The company recognizes the Union as the sole and exclusive bargaining representative of all production, maintenance, and product control employees in the New York facilities. This excludes office and clerical employees, technical employees, sales staff, professionals, and security staff. Supervisors, as defined by the National Labor Relations Act, are also excluded.  

Union’s proposal = Remove “New York” from the company’s paragraph. 

Management Right’s clause 

Company’s proposal =  The Union recognizes that management has full and sole rights to direct the workforce, including the right to hire, transfer, discipline, suspend or discharge employees. It includes the right to determine working hours, to assign overtime, to modify jobs, and to transfer work to any other company location or to subcontract work. 

Union’s proposal = The Union recognizes that management has full and sole rights to direct the workforce, including the right to hire, transfer, discipline, suspend or discharge employees. It includes the right to determine working hours, to assign overtime, and to modify jobs. Exercising these management rights cannot violate any other term of this contract. 

The union also proposes to add this provision in the contract: Reassignment of Work

Work that is transferred to any other company location or subcontracted must be offered first to the New York employees. If the first-refusal offer is not made, the company will pay both the NY employees and the workers who perform the work for the time. If the NY employees decline the offer, no penalty will apply. 

Health care premiums

Company’s proposal = Employees will pay 20% of their health care premiums in the second and third years of the contract. 

Union’s proposal =  The company will pay 100% of the health care premiums in all years of the contract. 

The president of the union, who is planning to run for re-election next year, scheduled a meeting with the union’s negotiation team leader, Bill. 

President:      So what are we going to do? What are the options?

Bill:                 They won’t budge on these. We think they’re planning to open a new facility in a RTW state. If we don’t have protection of our jobs, they will shift the work there and we’ll eventually disappear. We have to raise the pressure.                     

President:      Can we file an unfair labor practice claim with the Board about how they are refusing to negotiate?

At the same time, the Vice President of Finance for the company, who has a bonus clause in his performance plan which is based on cost reduction, meets with Paula, the Labor Relations Specialist who is leading the company’s negotiations. 

VPF:    So where are we now?

Paula: Down to the final wire. They might not have reached their resistance point and still be willing to discuss the health care cost, but they are adamant about any language that suggests we could assign their work elsewhere. I’m pretty sure they are preparing for a strike. 

VPF:    Can they do that? I thought it was illegal.

VPF:    Well, what is our Best Alternative to a Negotiated Agreement? BATNA, isn’t that the right word? What else can we do?

Paula: Yes, it is. Legally, in our circumstances, we likely can unilaterally implement our last proposal. As soon as we do, however, the picket line will go up.

VPF:    Is that horrible?

Paula: The operation managers tell me we’ll have trouble filling our orders. Even strike replacements, which is a major effort to put in place, won’t be a total solution since they don’t know the work. Some of the jobs have a long learning curve. We’ll need to bolster security measures to minimize the chances of physical damage to property and people. Then, there is the media. When we’re trying to expand our operations and convince the county to give us tax breaks, bad press won’t help. And, there may be damage to our long-term relationship that could result in costly grievances throughout the life of the contract. 

VPF:    Well then?  We have to get a handle on these constant overtime costs. They are blowing the budget every quarter. Shifting the work to a lower-cost option is essential. 

Paula: We might invite a mediator from the FMCS to see if there is any wiggle room. 

VPF:    We had one decide the last contract dispute with one of our vendors. I wasn’t thrilled with the answer, and we’re stuck with it. How can we make sure we don’t get stuck with something we don’t want in this case?

After four weeks of mediation without any significant change, the union members authorized their leadership to call a strike. In a confidential ballot vote, stipulated by the union’s by-laws, the decision was 95% for a strike and 5% against. The strike began on July 20. It was a peak production period for the company, and the competition had become keen since global corporations had entered the U.S. market. Believing any loss of market share would hurt the company’s long-term financial status, the company had done some preparation for this possibility. In addition to stockpiling more inventory, it had prepared to employ strike replacements; and, on August 6, it hired 100 of them to cross the picket line to do the work of the employees in the bargaining unit. “Scab!” the picketing employees yelled. Heckling and jeers ensued each morning as the new employees went to work. Fists occasionally slugged the air, but no physical violence occurred. Some replacements found the environment so hostile that they quit. Local news reports began covering the dispute. Community leaders became concerned that any loss of employment would hurt the tax base and stress the available social services. The strike replacement workers were not as efficient yet at the tasks involved, creating quality problems. 

Eventually, the two sides found enough common ground to come to agreement. The union negotiating team submitted the new contract to the membership for ratification. The Company CEO issued a press release that said:

We are pleased to announce an agreement with the Union bargaining committee and hope that all Union members will give this contract a full and fair consideration. These were very tough negotiations. Both sides worked very hard and compromised. The result is a very positive offer for the employees that also protects the long-term competitive position of the Company. 

The union members knew it was not exactly what they had demanded, but the strike fund was depleting and people were tired after manning the picket line 24/7. The members voted by 75% to 25% to adopt the new agreement, which met the criteria in the union’s by-laws. Thus, the new contract was ratified on September 1, 2017. 

During the final stages of the strike the parties negotiated the conditions under which the strikers might return to work. They agreed to the following language as part of a Strike Settlement Agreement, which was signed the same day the new contract was ratified:

The strike against the Company by its employees who are members of the Union is terminated as of the date of this Agreement, September 1, 2017. Striking employees shall be returned to work, to openings in the classifications occupied by an employee on May 31, 2017, in accordance with his/her respective seniority. 

In addition to the above agreed upon language, the Company proposed that the Strike Settlement Agreement contain the following section (Paragraph 2), to which the union objected:

2. Jobs filled by employees hired by the Company on or after August 6, 2017 as strike replacements (new hires) for striking employees shall not be considered vacancies to which returning strikers shall be returned unless and until such jobs are vacated by the strike replacements. Such new hires shall not be bumped or displaced by the return of strikers. Such newly hired employees shall become members of the Union as stated in the collective bargaining agreement and their respective seniority shall be measured from their individual hire date.

Because the parties did not agree to the Company’s proposal concerning Paragraph 2, the parties determined that while Paragraph 2 would physically remain in the printed Agreement, the following marginal notation would be added reflecting the parties’ failure to agree to this particular provision. This marginal note read:

Paragraph 2 represents the position of the Company and is not agreed to by the Union or waived by the Company.

During the plan to resume normal operations, the company determined that it had too many workers in the first level positions. It terminated 10 of the strike replacements since they were no longer needed.

On September 12, Marley, Juan, and Rich, three of the ten terminated strike replacements, made an appointment with the union’s Grievance Chairperson (GC) to file a complaint.

GC:                            You need to speak with the Shop Steward first.

Marley:                     We tried. He wouldn’t listen to us—kept calling us “scabby.”

GC:                            What is the problem then?

Marley:                      I was fired yesterday. HR told me last week that this would be a permanent job. I’m entitled to some protection.

GC, looking at Juan:   What about you?

Juan:                           Me, too. I’ve been fired.  

GC:                             When were you terminated?

Juan:                           Two days ago.

GC:                             Why were you fired?

Juan:                           One of the strikers was recalled, so I was pushed out.

GC:                             Wasn’t that the arrangement when you hired in?

Juan:                           Then they said they would see if they could keep me.

GC, turning to Rich:   What about you?

Rich:                           I was fired on August 31. They told me I’d have the job after the strike was over. I asked that in the interview because I had another part-time job offer closer to home. I was going to take that instead if this job didn’t last very long.

GC:                             Ok, I understand. I need to pull together a couple things. I’ll call you tomorrow to let you know what, if anything, we can assist with about getting your jobs back. 

The next morning, the Grievance Chairperson received a visit from another strike replacement

worker.

GC:                             What seems to be the problem?

Frank:                         I heard that you might be able to get my job back.

GC:                             When were you fired?

Frank:                         August 29 was my last day.

GC:                             Why were you fired?

Frank:                         I’m not sure. They indicated that the work ran out, but I heard one of the strikers took over the job again. 

GC:                             What did they tell you when they hired you?

Frank:                         Nothing really. They just said they needed someone right away.  

The Grievance Chairperson collected all his notes and pulled the new contractual documents out of his file drawer. He flipped the pages and ran his finger down the paragraphs. He tagged the union shop arrangement:

Article II

Section 1                   Any employee who is a member of the Union on the effective date of this Agreement shall, as a condition of employment, maintain his/her membership in the Union to the extent of tendering uniform initiation fees (if any) and periodic dues.

Section 2                   Any person hired as a new employee and any employee who is hereafter transferred into the bargaining unit on or after the effective date of this Agreement shall, as a condition of employment, become a member of the Union (to the extent of tendering uniform initiation fees (if any) and periodic dues) on and after the thirty-first day following the date of employment or transfer, and shall maintain such membership in the Union.  

He also earmarked:

Article 13 – Section 3  

Management has the sole right to discipline employees according to the progressive process described in Section 5 and to discharge employees for just cause. 

Article 13 – Section 4

Causes for immediate discharge are: possession or use of drugs or alcohol on company property, theft or damage of company property, workplace violence, and any other threat to the safety of the facilities and workforce. 

He also checked with the union’s Secretary/Treasurer to learn the status of the workers’ dues. He was told the following:

Marley

Paid on September 3

Juan

Not paid

Rich

Paid August 20

Frank

Not paid

It was a busy week for the Grievance Chairperson.  Another Shop Steward, Ravi, made an appointment to discuss a grievance he couldn’t resolve with the employee’s supervisor, Paul Hawkman.

GC:     Hi, Ravi. I saw the grievance form for Barbara Stone. Isn’t she the woman who held the picket sign in the County Courier’s front page coverage of the strike? 

Ravi:   Yes, she is. Nice photo. The paper used a fair shot this time.

GC:     Well, what about this? In the first step, what did they tell you?

Ravi:   Hawkman took over from Dick Fleming when he retired. I don’t know why they appointed him. He hasn’t been with the company very long; he has no experience working with unions is what I hear. When I talked to him, he was arrogant—said he was fully within his rights to dismiss her.

GC:     So what happened? What does Barbara say?

Ravi:   Barbara had borrowed a company moving dolly. She said Dick had given her permission to use it. She was relocating across town and needed it to move some boxes to her new house. The dolly was in the back of her Chevy truck in the parking lot. It was covered up, for protection, but the handle, with the company tag, was sticking out. Hawkman saw it when he came to work. He couldn’t find any written permission slip on file for her to have it. Barbara said Dick didn’t ask for one this time. She had used it before to help with a community food drive that both she and Dick had volunteered to assist. She was bringing it back but just hadn’t unloaded it yet. Hawkman said she was stealing it and fired her.

The GC pulled out the contractual provisions for termination again. He also flipped to the section about company property. It read:

Article 17 – Section 8

Employees in good standing may occasionally borrow non-essential company equipment, provided they complete the authorization form and have it signed by their supervisor. A specific timeframe must be stipulated and failure to return the property in good condition by that deadline will be grounds for reprimand.

GC:     How long has she been here? What does her performance record look like?   

Ravi:   About 2 years. Dick wasn’t one to record an issue unless it was something really serious. So, there isn’t anything during his time. Hawkman has marked her for being late twice in the last month, but there isn’t any formal warning.  

 

"Not answered?"


Get the Answer

write my assignment 7377

Q1: List of auto transactions in Wausau ordered by the transaction value in ascending order

Q2: List of the number and average value of computer requests in Wausau

Q3: List of names of suppliers offering both computers and autos (Do NOT use INTERSECT)

Q4: List of the consumer cities and number of consumers in each city

Q5: List of the value of product offers for each supplier issuing at least one offer

Q6: List of the name of consumers having at least 4 auto transactions

Q7: List of the name of consumers having purchased at least 3 different products whose suppliers are from Wausau

Q8: List the amount spent by each consumer for each product type he/she purchased

Q9: List of the number of orange offers in each city that offers oranges

Q10: List the cities where the number of computer offers is less than the number of computer requests

 

"Not answered?"


Get the Answer

write my assignment 29894

Lab Assignment 2: Advanced Encryption Standard (AES)

Due in week 9 and worth 120 points.

Instructions

  • Download the lab worksheet here.
  • Complete the lab according to the lab instructions provided on the lab worksheet.
  • Submit the lab worksheet as an attachment in the online course shell.
  • Capture a screen shot as you complete each one of the lab steps and paste it in the designated spot below each step.

Example:Step 1:Lab Assignment 2: Advanced Encryption Standard (AES)

Due Week 9 and worth 120 points

This exercise uses the Advanced Encryption Standard (AES). The United States National Institute of Standards and Technology (NIST) adopted AES as Federal Information Processing Standards Publications 197 (FIPS PUB 197) in 2001. AES supports key lengths of 128, 192, and 256 bits; JavaScrypt uses 256 bit keys exclusively.

For this exercise, you will need to use two (2) different e-mail accounts (i.e., your Strayer email account and your personal email account). You will be creating an encrypted message and sending it from your first e-mail account to your second e-mail account.

Instructions

  • Capture a screen shot as you complete each one of the lab steps and paste it in the designated spot below each step.

Example:

Step 1:

If there is a question in a step, your response should be included directly under the screen shot of that step.

  • Submit the lab worksheet as an attachment in the online course shell.

Lab Steps:

  1. Go to the JavaScrypt Encryption and Decryption page, located at  http:// screen shot here>

    2. Create a key and enter it into the text box under the “Key” section. (The text option button under the textbox should be selected.) Next, click the “Generate” command button. Copy the contents of the “Key” text box to a notepad file because you will need it later.

    <paste screen shot here>

    3. Then, go to the “Plain Text”” box immediately underneath the “Key” text box and enter text that you want to encrypt. (The “Codegroup” option button under the textbox should be selected.) Click the “Encrypt” command button.

    <paste screen shot here>

    4. Look at the “Cipher Text” text box located below the “Encrypt” command button. Explain what is there.

    <paste screen shot here>

    5. Login to your second e-mail account and open a new email.

    <paste screen shot here>

    6. Copy the contents of the “Cipher Text” text box into the body of the email that you will be sending to your second email account.

    <paste screen shot here>

    7. Clear the contents of each of the “Key,Plain Text,” and “Cipher Text” text boxes.

    <paste screen shot here>

    8. Send the email from your first email account to your second email account.

    <paste screen shot here>

    9. Go to your second email account and open the email that you sent to yourself. Copy the encrypted message and paste it into the “Cipher Text” text box at http:// Click the “Decrypt” command button.

    <paste screen shot here>

    10.  Look back in the “Plain Text” text box. What do you see? Discuss what happened.

    <paste screen shot here>

    11.  Now, enter the key (plain or encrypted) into the “Key” text box. Which key did you enter? Can you enter the plain (unencrypted) key or do you have to use the encrypted one in order for the contents of the encrypted “Cipher Text” text box to be unencrypted and displayed in the “Plain Text” text box? Provide a rationale for your response.

    <paste screen shot here>

    12.  If a person does not have the original encrypted key, can he or she encrypt the original key that he or she entered in the “Key” text box? Provide a rationale for your response. Note:No screen shot is needed for this step.

    13.  Explain the differences, if any, between using AES encryption versus a DES one. Note:No screen shot is needed for this step. 

    14.  Why do many consider AES encryption more secure than DES?  Provide a rationale for your response.Note:No screen shot is needed for this step. there is a question in a step, your response should be included directly under the screen shot of that step.

    Click here to view the grading rubric.

 

"Not answered?"


Get the Answer