The following code segment was provided in Chapter 1 of Java Coding Guidelines:
The code is presented as a noncompliant code example.
A compliant solution is presented for this example.
For this paper, identify two additional compliant solutions that can be utilized to ensure the protection of sensitive data (I have provided three compliant solutions. You could pick two of them or create/modify a compliant solution). Provide a detailed explanation of factors that influence non-compliant code and specifically how your solutions are now compliant. Your explanation should be 2 pages in length. You should include at least one source from professional or academic literature such as articles from peer-reviewed journals and relevant textbooks. The use of Wikipedia is not considered an academic or professional reference. You should also ensure to proofread and spell-check your responses. All sources should be formatted using APA guidelines.
Attached are my lecture notes, my three compliant solutions (You could use another solution if you would like), an example essay, Chapter 1 of Java Coding Guideline, and the APA template. Message me if you have any questions regarding the instruction.
A Leader, or for our situation a Masters Career and the destiny of his vessel and Bridge group are dictated by the viability of his conduct. Administration is viewed as significant for progress and has been considered by most specialists to be the most basic fixing (Lussier and Achua 2009). I would depict a pioneer as being somebody who coordinates and controls a gathering of individuals to play out an errand. For this situation the Master controls and guides his Officers to securely explore the vessel, wellbeing of the group and the payload. Not at all like different organizations who will have numerous pioneers, the Master is the sole head on a vessel whereupon all duty lies on. The manner in which the Master manages every one of his obligations is to delegate to his Officers. Every one of his Officers basically likewise become chiefs of perhaps their own gathering of laborers. The Master drives his supervisors (Officers) to play out the assignments required to keep up the vessel. A significant differentiation is made between being a supervisor and being a pioneer. To be an administrator intends to coordinate and to achieve. To lead intends to persuade and motivate. Pioneers who are successful, rouse their group to endeavor and seek after greatness. It has been said that administrators are individuals who do things right and pioneers are individuals who make the best choice (Peter F.Drucker 1955). For a Master to be a decent pioneer he should have the option to spur his officials adequately. An experts individual components will impact how well he/she rouses the group. I have worked with a couple of Captains each with their very own distinctive initiative styles. No two heads work similarly, every pioneer builds up their own individual style. A portion of the elements that influence a Master may create after some time and experience, while some may create because of their condition for example sort of vessel or extension group. A few Masters may even need to adjust their initiative style to the encompassing condition and to organization necessities. Clearly one of a Masters fundamental individual factor is his/her character. The administration style might be an expansion of the character. I found that two of the four Masters I worked with tend not to impart legitimately to a few. The two Captains that favored the technique for conveying to his group legitimately or up close and personal were all the more cordial and decisive. These Captains additionally appeared to confide in their official more, for instance they once in a while did any of the moves when coming all through port, they permitted the lower positioned officials to take control and were quick to lead and educate. The other two Captains appeared to need to show others how its done as they were progressively held and once in a while came up to the scaffold other than when required. These Captains consistently did moves themselves and favored the progressive strategy. They favored gathering with the following in order as a strategy for correspondence to the lower positions, rather than tending to the whole group. Another individual factor is the degree of control a Master likes to have, which impacts the administration style. The Master has generally control of all choices made on his vessel yet some are more laid back than others. A Master that has an elevated level of control will need to be associated with the entire everyday activities and the basic leadership process. An all the more believing Master may not need the weight of the basic leadership and will make a stride back and delegate duty. As this is the situation on most vessels a Master that delegates his duties will ordinarily need to make another layer of the executives, this duty is typically given to the main mate or second in direction. Another factor that may influence the administration of a Master is simply the Organization or organization. There is a various leveled structure on vessels while there is a divisional structure inside an organization. The organization's structure and working techniques may direct the initiative style that the Master must embrace. The Master must actualize all arrangements that the organization set out and keep up them as checked by evaluators. A Masters understanding, both as a pioneer and time span with a specific organization can influence his administration. A Master who has as of late been elevated might need to lead by the book and pursue all methods to the spot, while they are as yet unpracticed as Masters. A Master who has more involvement with the activity advertisement with the organization may have more certainty by following their own understanding of the guidelines set out by the organization. The more experience a Master has and progressively comfortable they are with the organization will bring about the Master being increasingly open to settling on choices thusly being a viable and certain pioneer. Another hierarchical factor in influencing a Masters authority is his groups' ethnic decent variety. Particularly on traveler vessels which can hang overall more than 1000 team, which can have 55+ various ethnicities. Fortunately for the Masters on traveler vessels an office framework is run so he doesn't need to legitimately manage all 1000+ group. He/She just needs to straightforwardly manage the Deck office and will just need to address his group in any disciplinary activity. Indeed, even on the scaffold there can be a scope of nationalities (from individual experience) To be a fruitful pioneer of numerous nationalities the Master may adopt a hireling strategy, where they give the worker's all that they need with the goal that the group remain spurred and make for powerful cooperation. Maslow's hypothesis shows these requirements in better detail. A Master as a pioneer can just give such a great amount to his group before following the organizations arrangements, which is additionally set out in the ISM code. To finish up there are numerous variables on which a Master needs to adjust to be a powerful pioneer, he/she should consider the necessities of the group (Maslow's hypothesis) while likewise keeping the Organization cheerful by conforming to their principles and strategies. As far as I can tell I have discovered that Masters with successful administration additionally prefer to make a stride back and enable his official to be the principle part of the basic leadership process and believe in his group. Correspondence is a key factor when attempting to finish an activity easily and securely. We impart constantly, it comes normal to us like breathing, yet having the option to convey obviously and with a touch of artfulness is very troublesome, particularly when you may have a worldwide team installed. Locally available the boats I was dealing with we had this issue of an immense assortment of nationalities. Taking a shot at journey ships implies you can have more than 1000 other group to manage. To defeat the issue of language and correspondence the organization set out the approach that the working language be English, and all team must have a decent comprehension of the English language, this incorporates officials too. Working a ton with the deck team who were all either Philippine or Indonesian, I encountered a considerable amount of a language obstruction among them and the Bosun who was Italian. The Bosun was not enthused about communicating in English and attempted to maintain a strategic distance from it however much as could reasonably be expected. In this piece of the work I found that solitary verbal correspondence was utilized to give the employments to the deck group for the afternoon. Under the most favorable circumstances I could scarcely comprehend the Bosun. To enhance this it would be a smart thought to have work rotors posted on a notification board in the workshop so the deck group can without much of a stretch allude to perceive what their employments are for that day and who they are working with. On the scaffold the Officers comprised of British and Italian speakers. Again anything identified with work for example crash evasion promotion crises must be spoken in English. By and by I found that correspondence on the scaffold between the group during activities and moving were without issue. We utilized the shut circle specialized technique, where the individual accepting the requests rehashed them so the official realized he had comprehended the request. While the Captain had by and large charge of the activity, our staff Captain played the job of Operations executive. His activity was to speak with the officials down in the securing stations, who utilized the equivalent shut circle strategy. As there is a chain of command on the extension I found that correspondence between the lower positions and cadets was negligible. I found ordinarily that I would get a vocation or a request from the staff skipper that had advanced down the positions. The issue with this was the activity would get confounded and not the same as the first the more individuals it experienced. This was not purposeful, yet would result at times in the activity being done inaccurately. The undeniable method to improve this issue is for the higher positioning officials to legitimately give the work. Along these lines inquiries can be posed if the errand isn't completely comprehended. While being a piece of securing activities I saw that on occasion there would be a great deal of yelling from either the Officer or the bosun. The explanation behind this was they didn't have the foggiest idea about the name of people in the group, which would bring about the words 'hello' or 'you' being yelled. This caused immense perplexity between the deck team and disappointment for the Bosun or Officer. I saw and proposed to the Officer that perhaps it is great to get familiar with the names of all the deck group. I set aside the effort to get familiar with every one of their names and saw what amount valued it really was. In addition to the fact that they respected you more, correspondence to an individual was far more clear as the individual knew when they were being told. From investing a ton of energy with the deck group I discovered that having their regard is a key factor concerning having the option to give them employments and keeping up inspiration. In end the manner in which I would improve correspondence on my vessel is for the higher positions to be more agreeable and straightforwardly issue orders/work to the lower positions. With regards to correspondence between the deck teams and bosun in securing activities, straightforward things like learning the deck group's names can avert any perplexity and any yelling.>GET ANSWER