A+ Answers

1.                (TCOs 1–8) Suppose A is an interface and B is a concrete class with a default constructor that implements A. Which of the following is correct? (Points : 3)
B b = new B();
A a = new A();
B b = new A();
none of them

Question 2.2. (TCOs 1–8) Which of the following is a correct interface? (Points : 3)
abstract interface A { abstract void print({ };}
interface A { void print() { }; }
abstract interface A { print(); }
interface A { void print();}

Question 3.3. (TCOs 1–8) Which of the following statements will not convert a string s into i of int type? (Points : 3)
i = Integer.valueOf(s);
i = (new Integer(s)).intValue();
i = Integer.valueOf(s).intValue();
i = Integer.parseInt(s);
i = (int)(Double.parseDouble(s));

Question 4.4. (TCOs 1–8) Analyze the following code.
public class Test { // 1
public static void main(String[ ] args) { // 2
Fruit[ ] fruits = {new Fruit(2), new Fruit(3), new Fruit(1)}; // 3
java.util.Arrays.sort(fruits); // 4
} // 5
} // 6

class Fruit {
private double weight;

public Fruit(double weight) {
this.weight = weight;
}
} (Points : 3)
The program has a compile error because the Fruit class does not have a default constructor.
The program has a runtime error on Line 3 because the Fruit class does not have a default constructor.
The program has a runtime error on Line 4 because the Fruit class does not implement the java.lang.Comparable interface and the Fruit objects are not comparable.
The program has a compile error on Line 4 because the Fruit class does not implement the java.lang.Comparable interface and the Fruit objects are not comparable.

Question 5.5. (TCOs 1–8) Analyze the following code.
import java.util.*; // 1
public class Test { // 2
public static void main(String[ ] args) { // 3
Calendar[ ] calendars = new Calendar[10]; // 4
calendars[0] = new Calendar(); // 5
calendars[1] = new GregorianCalendar(); // 6
} // 7
} // 8 (Points : 3)
The program has a compile error on Line 4 because java.util.Calendar is an abstract class.
The program has no compile errors.
The program has a compile error on Line 6 because Calendar[1] is not of a GregorianCalendar type.
The program has a compile error on Line 5 because java.util.Calendar is an abstract class.

Question 6.6. (TCOs 1–8) Suppose A is an anonymous inner class in Test. A is compiled into a file named _____ (Points : 3)
A.class.
Test$1.class.
A$Test.class.
Test$A.class.
Test&1.class.

Question 7.7. (TCOs 1–8) You cannot use getWhen() to find the time of an _____ (Points : 3)
KeyEvent.
WindowEvent.
ActionEvent.
MouseEvent.

Question 8.8. (TCOs 1–8) Which of the following statement is false? (Points : 3)
You can add multiple listeners for a Timer object.
To start a timer, invoke timer.start().
To stop a timer, invoke timer.stop().
When a timer is created, it is automatically started.
You must always specify a listener when creating a Timer object.


Question 9.9. (TCOs 1–8) To be a listener for ActionEvent, an object must be an instance of _____ (Points : 3)
WindowEvent.
EventObject.
WindowListener.
ActionEvent.
ActionListener.

Question 10.10. (TCOs 1–8) What is the value of evt.getKeyCode() or evt.getChar() for the keyTyped() events? (Points : 3)
VK_UNDEFINED
The Unicode code of the character
The ASCII code of the character
A character

 

 

 

Multiple Questions Answers

1) The quantity theory of money states that      
A. the money supply divided by the velocity of money equals the price level divided by real output        
B. the money supply times the velocity of money equals the price level times real output            
C. the money supply times the price level equals real output divided by the velocity of money  
D. the money supply times the price level equals real output times the velocity of money

2) Suppose that U.S. prices rise 4% over the next year while prices in Mexico rise 6%. According to the purchasing power parity theory of exchange rates, what should happen to the exchange rate between the dollar and the peso?  
A. The dollar should depreciate.               
B. The peso should appreciate. 
C. The peso should depreciate.
D. The dollar will be revalued.

3) A rise in the domestic interest rate leads to capital     
A. outflows and exchange rate appreciation       
B. outflows and exchange rate depreciation       
C. inflows and exchange rate depreciation          
D. inflows and exchange rate appreciation

 

4) A firm under monopolistic competition will earn          
A. a positive economic profit as it has some monopoly power    
B. zero economic profit as it sets P = MC              
C. zero economic profit as its P = ATC     
D. a positive economic profit as it sets MC = MR

response for tv

Discussion 2

According to this case study, Marvin was the CEO of his organization. All decisions which ought to be taken where totally in his shoes. Beforehand, he used to offer exactly at the settled cost contracts which thought to be for the most part concise contracts which haven’t exhibited the organization improvement rate high appeared differently in relation to exchange organizations in the market. By and by they have another open door for quite a while which was not a fleeting contract and that was liberally repaid appeared differently in relation to the past contracts. Regardless, in this understanding, Marvin and his group should think about what they should recognize the customer’s necessities if not his agreement is never again continued with a comparable customer. This can help Marvin to make his organization climbing the methods which a high winning proportion. Likewise, this will assist his temp with getting the move in the remuneration which a high spending undertaking.

Marvin affiliation should offer at work since this will accumulate the affiliation cash related rate. Which can help Marvin with getting the new assignments? This will, for the most part, improve the proportions of Marvin’s affiliation and can help different work searchers with getting set. For this circumstance, if they should offer on this advancement they should check for the work. They should survey the expense and the materials required.

Furthermore, the new bidding for the task is for a long time and it’d offer extraordinary income for a long time or considerably more than that period. For that, the organization needs to win the bid. In a large portion of the agreements, the contractors request a demand for the proposition. That is given for investigation cause. In that organizations must unveil a couple of basic data’s. All together that they should set up an RFP to win the bid. Else it the contractor may remember the bid as nonresponsive.

This organization is fitting in investigating the value extend for the venture with the guide of the utilization of various parameters. Work breakdown structure from leaves 1 and 2 appraises the esteem. What’s more, over years it has extended to five territories to this bid.

A bid with a few work breakdowns must be given inside the RFP which incorporates the Summary of the arrangement and esteem reimbursable sort of agreement. This enables the contractor to have a more profound understanding of the idea. For this reason, the current situation with the organization they should bid for this task.

Reference:

1.  Kerzner, H. (2013). Project management: a systems approach to planning, scheduling, and controlling. John Wiley & Sons.

please answer 300 words

 

CS/SB 614 authorizes  an ARNP to prescribe, dispense, administer, or order any drug, which would include controlled substances.

ARNP disciplinary sanctions are added to the bill in s. 456.072, F.S., (Section 5) to mirror a physician’s sanctions for prescribing or dispensing a controlled substance other in the course of professional practice or failing to meet practice standards. Additional acts for which discipline may be taken against an ARNP relating to practicing with controlled substances that are added to the Nurse Practice Act (Section 10) include:

 Presigning blank prescription forms.

 Prescribing a Schedule II for office use.

 Prescribing, dispensing, or administering an amphetamine or sympathomimetic amine drug, except for specified conditions.

 Prescribing, dispensing, or administering certain hormones for muscle-building or athletic performance.

 Promoting or advertising a pharmacy on a prescription form unless the form also states that the prescription may be filled at the pharmacy of your choice.

 Prescribing, dispensing, or administering drugs, including controlled substances, other than in the course of his or her professional practice.

 Prescribing, dispensing, or administering a controlled substance to himself or herself.

 Prescribing, dispensing, or administering laetrile.

 Dispensing a controlled substance listed in Schedule II or Schedule III in violation of the requirements for dispensing practitioners in the Pharmacy Practice Act.

 Promoting or advertising controlled substances.

After reading the following news article http://c-hit.org/2015/04/06/high-prescribing-nurse-surrenders-drug-licenses/

1-Identify what issues may arise with prescriptive authority of controlled substances and how you may avoid these situations? 

Posting should be a minimum of one short paragraph and a maximum of two paragraphs.  Word totals for each post should be in the 300 words range.  Whether you agree or disagree explain why with supporting evidence and concepts from the readings or a related experience.  Include a reference, link, or citation when appropriate. APA 6th edition format for references as well as in-text citations is expected.

ITM DIS – 2

 

Include at least 250 words in your original post. Indicate at least one source or reference in your original post. You can use your textbook or current research articles. 

Also, post a reply to one of your classmates. Include at least 125 words. Add to the discussion.Your discussion question responses should reflect an understanding of the situation and the reading materials.

QUESTION: How would one distinguish between an organizational weakness and a threat to the organization?

REPLY – 1 (MANASA)

 

Hello class

Before I get to the actual discussion I just want to express a brief on the whole topic basically in an organization a threat or a weakness both are an Impact it depends if it is internal or by any other sources it would ultimately effect the enterprise reputation and also they will undergo loss for the occurrence of these kind of events and will surely have to take some measures for the prevention of these kind of events that have occurred or yet to occur.

Weakness of the Organization

Any specific matter that is related to the internal process of the organization is actually considered the weakness of the organization. This weakness can be in different forms they include the features for the org, the resources and also its activities or operation level tasks if any of these features compromise this would surely turn out to be the weakness of the organization. It is not an obvious that happens to be a weakness in an organization but these kind of scenarios are caused generally by consequences and they also happen due to lack of decision making among the team members in the org.

Threat to the Organization

Threat on the other hand is negative influence which will actually hit the company’s core productivity and this will no doubt cause harm to the company’s name and fame. An immediate attention is always necessary for the organization if this kind if scenario occurs or yet to occur. One must be able to make a quick and wise decision to get rid of the threat. A threat can be in different forms but one of the most common threat is facing the loss of data as an enterprise runs on the web there possibilities of vulnerability that cause damage to the organizations data loss.

Reference

Weaknesses of the organization. (n.d.). Retrieved July 01, 2019, from https://ceopedia.org/index.php/Examples_of_weaknesses.

MSG Management Study  Guide. (n.d.). Retrieved July 01, 2019, from https://www.managementstudyguide.com/common-threats-to-organization.html.

A+ Answers

1. (TCOs 1–8) Which of the following statements is false? (Points : 3)

A private method cannot be accessed by a class in a different package.

A public class can be accessed by a class from a different package.

A protected method can be accessed by a subclass in a different package.

A method with no visibility modifier can be accessed by a class in a different package.

 

 

Question 2.2. (TCOs 1–8) What is the output of running class C?

class A {

public A() {

System.out.println(

“The default constructor of A is invoked”);

}

}

class B extends A {

public B() {

System.out.println(

“The default constructor of B is invoked”);

}

}

public class C {

public static void main(String[ ] args) {

B b = new B();

}

Nothing displayed

“The default constructor of A is invoked”

“The default constructor of B is invoked” “The default constructor of A is invoked”

“The default constructor of A is invoked” “The default constructor of B is invoked”

“The default constructor of B is invoked”

 

 

Question 3.3. (TCOs 1–8) What modifier should you use on the members of a class so that they are not accessible to another class in a different package but are accessible to any subclasses in any package? (Points : 3)

Private

Public

Protected

Use the default modifier

 

 

Question 4.4. (TCOs 1–8) Invoking _____ removes all elements in an ArrayList x. (Points : 3)

x.delete()

x.clear()

x.clean()

x.empty()

x.remove()

 

 

Question 5.5. (TCOs 1–8) A class design requires that a particular member variable must be accessible by any subclasses of this class, but otherwise not by classes which are not members of the same package. What should be done to achieve this? (Points : 3)

The variable should be marked public.

The variable should be marked private and an accessor method provided.

The variable should be marked private.

The variable should have no special access modifier.

The variable should be marked protected.

 

 

Question 6.6. (TCOs 1–8) Which of the following statements is for terminating the program when closing the frame? (Points : 3)

frame.setDefaultCloseOperation(null)

frame.setDefaultCloseOperation(JFrame.STOP_ON_CLOSE)

frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE)

frame.setDefaultCloseOperation(JFrame.TERMINATE_ON_CLOSE)

 

 

Question 7.7. (TCOs 1–8) The default layout out of a contentPane in a JFrame is _____ (Points : 3)

GridLayout.

None

FlowLayout.

BorderLayout.

 

 

Question 8.8. (TCOs 1–8) The default layout out of a JPanel is _____ (Points : 3)

BorderLayout.

FlowLayout.

GridLayout.

None

 

 

Question 9.9. (TCOs 1–8) What is best to describe the relationship between a container and a layout manager? (Points : 3)

Composition

Inheritance

Aggregation

Association

 

 

Question 10.10. (TCOs 1–8) Swing components that don’t rely on native GUI are referred to as _____ (Points : 3)

heavyweight components.

GUI components.

non-GUI components.

lightweight components.

 

 

 

Employment Laws

 

Assignment 1: Discussion—Employment Laws

One aspect of talent management is to ensure that all human resource decisions are in compliance with local, national, and sometimes global laws.

Using the University online library resources and the Internet, research human resource decisions and the law.

For this assignment, assume you are a manager in the HR department for WidgetMaker, a large US-based company with offices in several states. It is your job to sort through requests and grievances that employees submit to company management.

This week you have received the following four notifications:

  1. A pregnant female employee requests four months of unpaid maternity leave. She wants the company to ensure that her job, status, and pay will all remain upon her return.
  2. A male employee demands four weeks of paid leave to be used when his stay-at-home wife gives birth to his second child.
  3. A small group of employees running the factory machines contend that adequate safety equipment has not been provided for them. They are reluctant to return to working with the machines until the safety materials are provided.
  4. An older male employee contends that within his department he has repeatedly been treated differently due to his sex, age, and religion.

Select three of the scenarios listed above and, for each of them, respond to the following:

  • What national laws are being violated and what are the minimal actions required by law?
  • How do you recommend the company respond?
  • Does your recommendation go beyond what is required by law?
  • What other factors besides legal compliance (for example, ethics, company reputation, financial concerns, etc.) were involved in your decision? Why were these factors important to your decision?

Write your initial response in 300–500 words. Your response should be thorough and address all components of the discussion question in detail, include citations of all sources, where needed, according to the APA Style, and demonstrate accurate spelling, grammar, and punctuation.

[NOTE] No copy will be accepted, please make sure it’s original. Thank you

disscussion replies in own words plz not outide sources

1: I have a major rule for myself that helps me avoid showing negativity at work. My rule is, leave it all at the door. No matter what is going on in my personal life, I always leave it at the door. I do not share my problems with my coworkers. My job is my means of supporting myself, therefore, it is extremely important to me. When I am at work, I do not let my personal life get to me. An easy way that I do this is by leaving my phone in my locker. If you do not have the distractions from your outside world, you will be able to concentrate on your work.

2:  If you have a boss or manager that is motivated and wants to make the company or business successful, employees can feel that.  The leader becomes how others work or what they can provide.  I would never show my negativity to a team or business partners.  It doesn’t matter what type of day you are having, or what is going on in your personal life, you should always be professional and never let your feelings get in the way of motivating others to be their best and always setting a positive work enviornment and attitude to others. 

3: Thank you for sharing. I think it’s good that you know when you are ready and you are not allowing others to shuffle you into something that you are not mentally prepared for. I think when an individual is in the wrong profession or career, it makes them unhappy and unsatisfied with where they are. Sadly, some people feel ‘stuck’ in that position and will go years until they can do something to change it because they do not want to start all over. Though your manager caught you out of character, there could still be some good in that situation. Now that your manager knows that he needs to allow your more space and time, you won’t feel pressured to make hasty decisions. 

4: I liked what Kinicky stated in the video “if you can’t manage yourself, then you can’t manage anything out there” and that statement is so true. Learning to master one’s own mental capacity or emotional state of mind is the first step in understanding how to manage others. How can someone who is emotionally unhealthy lead others? It is not enough to just know the job but knowing how to work well with others and help draw out the best in them is just as important. Especially in leadership positions 

Multiple choice

1. Lara owns a 60 percent interest and Lance owns a 40 percent interest in LL Partnership, a general partnership. On January 1, 2011, Lara’s adjusted basis in her partnership interest was $60,000 and Lance’s adjusted basis for his partnership interest was $10,000. During 2011, LL Partnership had net taxable ordinary income of $50,000 and the following separately stated items: qualified dividend income of $1,000; taxable interest income of $2,600; charitable contributions of $3,000; and Section 179 expense of $20,000. During 2011, partnership liabilities decreased by $25,000 and there were no distributions made to either partner (assume liabilities are allocated in proportion to their percentage ownership of the partnership). Which of the following correctly states the basis in each partner’s interest in LL Partnership on December 31, 2011?

A. Lara: $63,360 and Lance: $12,240.

B. Lara: $65,520 and Lance: $12,680.

C. Lara: $90,360 and Lance: $30,240.

D. Lara: $92,160 and Lance: $31,440.

 

2. Ten years ago, Lisa acquired a one-third interest in Dee Associates, a general partnership. In the current taxable year, when Lisa’s entire interest in the partnership was liquidated, Dee Associates’ assets consisted of cash of $20,000 and tangible property with an adjusted basis to the partnership of $46,000 and a fair market value of $40,000 on the date of distribution. Dee Associates had no liabilities. Lisa’s adjusted basis in her one-third interest in the partnership was $22,000. Lisa received cash of $20,000 in complete liquidation of her entire interest. How much loss will Lisa recognize upon receipt of the liquidating distribution?

A. 0.

B. $2,000 short-term capital loss.

C. $2,000 long-term capital loss.

D. $2,000 ordinary loss.

 

3. Mark, Pete and Mickey are equal partners in the 2MP Partnership, a general partnership. On January 1, 2011, Mark’s adjusted basis in his partnership interest was $15,000, Pete’s adjusted basis in his partnership interest was $10,000, and Mickey’s adjusted basis in his partnership interest was $20,000. The partnership had taxable income of $30,000 in 2011 which was allocated equally among the partners. On December 31, 2011, the partnership made a non-liquidating distribution of $25,000 cash to Pete. How much income or gain did Pete recognize as a result of the distribution?

A. 0.

B. $5,000.

C. $15,000.

D. $25,000.

 

4. Ellen is a 25 percent partner in EFGH Partners, a general partnership. Ellen’s adjusted basis in her partnership interest is $18,000. During the current taxable year, Ellen received a non-liquidating distribution of land from EFGH Partners that had an adjusted basis to the partnership of $23,000 and a fair market value of $45,000 on the date of distribution. What is Ellen’s basis in the land received in the non-liquidating distribution?

A. 0.

B. $18,000.

C. $23,000.

D. $45,000.

 

information security systems response hpk

In the current digital world, security is the most important aspect for an organization or individual. As the number of cyber-attacks is increasing day by day, Security Awareness Training (SAT) is the most priority for all the companies. 

The SAT provides a great way to educate employees and keep the organization’s security policy fresh in their minds. There are different stages involved in this process.

Forming Security Team: This is the first step to develop the guidelines, policies, and delivery. It’s a great advantage having a specialized team ensure the success of the SAT program. The team size will depend on the organization needs and culture. 

Determine Roles: The organization can provide training personnel at the appropriate levels based on the roles. The idea is to help organizations deliver the right training to the right people. Every organization has different teams and all of them may not require the same training. For example, the network team required more training on security, but the business team or Testing team may not require. So, it’s very important to provide SAT based on the role. The manager role required different SAT training than a team member.

              General Security Training:  All personals

              Intermediate Security Training: Managers, Some Specialized Roles

              In-Depth Security Training: Specialized Roles, Higher Management

Passwords: All passwords must contain letters, numerical, capital letters and special characters and length should be more than 15 characters. Also, need to avoid keeping the first name, last name and month names. All the passwords must be changed on monthly basis.

Clean Desk Policy:  Its always better to implement clean desk policy. All the employees should not list the passwords on paper or system. It’s always better to memorize and keep a unique password which is easy for you not others.

Security Audit: It’s one of the most important and needs to perform this task on quarterly. Based on the audit results an organization can update the security guidelines and policies.

References:

1.  Jan Killmeyer. Information Security Architecture: An Integrated Approach to Security in the Organization, Second Edition

2.  https://www.enterprise-cio.com/news/2016/jan/22/importance-security-awareness-training-enterprise-it-governance/