Questions
In Java: 1) Create a new eclipse project. 2) Create a basic SWING window 3) Create...

In Java:

1) Create a new eclipse project.

2) Create a basic SWING window

3) Create a Label Called Name

4) Create a Text Field for entering the name

5) Create a Text Field for entering and email

5) Create a text area to push the results to

6) Create two buttons, one that says submit and the other that says clear.

7) When the user enters their name and email, they should press submit and see the Text area populate with the data they submitted.

8) When the user presses clear it should clear any text from all fields.

In: Computer Science

Answer all the questions given below Explain the difference between edge triggered and level triggered interrupt...

  1. Answer all the questions given below

  1. Explain the difference between edge triggered and level triggered interrupt by sketch. Where the starting address of the memory location of every interrupt is stored?

              (b) Consider the following 8051 interfacing problem. Crystal frequency: 11.059MHz. The LED  

                D8 will light up with every key press as shown below.

  1. Initialize IE register for external interrupt at INT0

  2. Initialize TCON register for the appropriate type of interrupt

  3. Declare and define the interrupt service routine

  4. Access and configure relevant pin as needed

  5. Call back action in the main function as needed

In: Computer Science

The patient recovery time from a particular surgical procedure is normally distributed with a mean of...

The patient recovery time from a particular surgical procedure is normally distributed with a mean of 3 days and a standard deviation of 1.9 days. Let X be the recovery time for a randomly selected patient. Round all answers to 4 decimal places where possible.

a. What is the distribution of X? X ~ N(,)

b. What is the median recovery time? days

c. What is the Z-score for a patient that took 4.4 days to recover?

d. What is the probability of spending more than 2.5 days in recovery?

e. What is the probability of spending between 2.9 and 3.7 days in recovery?

f. The 90th percentile for recovery times is days.

Private nonprofit four-year colleges charge, on average, $27,166 per year in tuition and fees. The standard deviation is $7,402. Assume the distribution is normal. Let X be the cost for a randomly selected college. Round all answers to 4 decimal places where possible.

a. What is the distribution of X? X ~ N(,)

b. Find the probability that a randomly selected Private nonprofit four-year college will cost less than 25,605 per year.

c. Find the 60th percentile for this distribution. $ (Round to the nearest dollar.)

The average number of words in a romance novel is 64,416 and the standard deviation is 17,228. Assume the distribution is normal. Let X be the number of words in a randomly selected romance novel. Round all answers to 4 decimal places where possible.

a. What is the distribution of X? X ~ N(,)

b. Find the proportion of all novels that are between 59,248 and 71,308 words.

c. The 80th percentile for novels is words. (Round to the nearest word)

d. The middle 50% of romance novels have from words to words. (Round to the nearest word)

According to a study done by UCB students, the height for Martian adult males is normally distributed with an average of 64 inches and a standard deviation of 2.4 inches. Suppose one Martian adult male is randomly chosen. Let X = height of the individual. Round all answers to 4 decimal places where possible.

a. What is the distribution of X? X ~ N(,)

b. Find the probability that the person is between 59.3 and 61.7 inches.

c. The middle 40% of Martian heights lie between what two numbers?
Low: inches
High: inches

In: Statistics and Probability

Create business rules for each of the exercises (below is an example of the format needed)

Create business rules for each of the exercises (below is an example of the format needed)

 A writer may create many novels.

 A novel is created by a writer.

 A consumer may buy many novels.

 A novel may be bought by may consumers.

 Exercise A

 United Broke Artists (UBA) is a broker for not-so-famous artists. UBA maintains a small database used to track artists, paintings, and galleries. A particular painting can be duplicated and exhibited in multiple galleries, provided the galleries have the space. UBA accepts work from artists, many of whom provide multiple

 paintings to be presented at available galleries.

 Exercise B

 An insurance company sells home, auto, and life insurance. The company has three departments -- one for each type of insurance -- and every department has its own group of agents. A customer is assigned an agent based on the type of insurance he or she desires. The agent then creates a policy for the customer.

 Exercise C

 A publisher wants a database to store the books it publishes along with their authors. An author can write many books, and a book can have more than one author. When the publisher and author(s) agree to produce a book, a contract is created for the book, one for each author. The contract specifies the percentage of the profit the author will receive back.

 Exercise D

 A supermarket has many departments, each of which has employees. A few of the employees in each department manage it. An employee can only work in one department at any given time. A department has many products, some of which can

 be offered in more than one department at the same time. For instance, batteries are offered in the electronics, toys, photo, groceries, and hardware departments.

 Exercise E

 A rapidly growing health care organization has a number of clinics across the state that offer outpatient services. Each doctor is assigned a specific clinic. A patient can schedule an appointment at a specific clinic or with a specific doctor. If the patient has no specific doctor in mind, one is assigned based on availability. As an outcome of the appointment, the doctor may choose to prescribe one or more medications for the patient. A given prescription is written for a specific medication and indicates the strength, daily dosage, and instructions for the patient.


In: Computer Science

On of the major aspects of the struggle for civil rights over the centuries has been...

  1. On of the major aspects of the struggle for civil rights over the centuries has been
    1. The demand for voting rights
    2. The demand for equal opportunity
    3. The demand for social justice and racial equality
    4. all of the above
  1. ____The U.S. Bill of Rights is a listing of
    1. Implied rights
    2. Civil liberties
    3. Inalienable rights
    4. Enumerated powers
  2. ____Guarantees of equal treatment under the law to most social groups are
    1. Civil rights
    2. Civil order
    3. Civil disobedience
    4. Civil prerogatives
  3. ____The U.S. Bill of Rights was intended by its Framers to protect individual rights from
    1. Violation by the states
    2. Violation by the local police
    3. Violation by the federal government
    4. Violation by private individuals
  4. ____The first Constitutional Amendment to clearly define citizenship was
    1. The 13 Amendment
    2. The 14 Amendment
    3. The 15 Amendment
    4. The 16 Amendment
  5. ____The 14th Amendment reversed
    1. Barron v Baltimore
    2. The Civil Rights Cases
    3. Plessey v Ferguson
    4. Dred Scott v Sanford
  6. ____ The first Amendment to the U.S. Constitution enumerates
    1. Protections against double jeopardy
    2. Protection against cruel and unusual punishment
    3. Freedom of speech, press, religion, assembly, petition
    4. Freedom of speech, press, religion, assembly, property
  7. ____The 14th Amendment to the U.S. Constitution was intended to protect civil rights against
    1. Violation by the states
    2. Violation by corporations
    3. Violation by foreign companies
    4. Violation by private individuals
  1. In your own words, briefly explain the meaning of the following concepts and why do they exist.
    1. Habeas corpus
    2. Bill of attainder
    3. Ex post facto law
    4. Cruel and unusual punishment

In: Economics

The following is a list of costs that were incurred in producing a textbook. Please indicate...


The following is a list of costs that were incurred in producing a textbook. Please indicate whether

each cost is: (a) a product or period cost, and

(b) if it is a product cost, whether it is a direct material, direct labor, or factory overhead cost.


  1. (a) Insurance on the factory building and equipment
  2. (b) Salary of the vice president of finance
  3. (c) Hourly wages of printing press operators during production
  4. (d) Straight-line depreciation on the printing presses used to manufacture the textbook
  5. (e) Straight-line depreciation on the office building
  6. (f) Electricity used to run the presses during the printing of the textbook
  7. (g) Sales commissions paid to textbook representatives for each textbook sold
  8. (h) Paper on which the textbook is printed
  9. (i) Book covers used to bind the pages
  10. (j) Salaries of staff used to develop artwork for the textbook
  11. (k) Glue used to bind pages to cover
  12. (l) Salary of quality control supervisor who inspects each textbook before it is shipped
  13. (m) Plant manager’s salary
  14. (n) Maintenance supplies
  15. (o) Property taxes on the headquarters building
  16. (p) Factory supervisors’ salaries
  17. (q) Travel costs of marketing executives to annual sales meeting
  18. (r) Supplies used by the Accounting Department in preparing various managerial reports
  19. (s) Fees paid to lawn service for office grounds upkeep
  20. (t) Cost for marketing at a national conference
  21. (u) Attorney fees for drafting a new lease for headquarters offices
  22. (v) License fees for use of patent for printing press, based on number of textbooks produced

In: Accounting

The seven criteria for describing a nation’s economy. Using these seven criteria, develop a profile of...

The seven criteria for describing a nation’s economy. Using these seven criteria, develop a profile of Saudi Arabia. Discuss what implications does this profile have for marketing opportunities in the country?

·            Type of economy. Is the nation an advanced industrial state, an emerging economy, a transition economy, or a developing nation?

·            Type of government. Is the nation ruled by a monarchy, a dictatorship, or a tyrant? Is there an autocratic, one-party system? Is the nation dominated by another state, or is it a democracy with a multiparty system? Is it an unstable or terrorist nation?

·            Trade and capital flows. Is the nation characterized by almost completely free trade or incomplete free trade, and is it part of a trading bloc? Is there a currency board, or are there exchange controls? Is there no trade, or does the government dominate trade possibilities?

·            The commanding heights (e.g., the transportation, communications, and energy sectors). Are these sectors state owned and operated? Is there a mix of state and private ownership? Are they all private, with or without controlled prices?

·            Services provided by the state and funded through taxes. Are pensions, health care, and education provided? Pensions and education but not health care? Do privatized systems dominate?

·            Institutions. Is the nation characterized by transparency, standards, the absence of corruption, and the presence of a free press and strong courts? Or is corruption a fact of life and the press dominated by the government? Are standards ignored and the court system compromised?

·            Markets. Does the nation have a free market system characterized by high-risk/high-reward entrepreneurial dynamism? Is it a free market that is dominated by monopolies, cartels, and concentrated industries? Is it a socialized market with cooperation among business, government, and labor (but with little entrepreneurial support)? Or is planning, including price and wage controls, controlled by the center.

In: Economics

In Assembly Language (Visual Studio 2017), create a procedure that generates a random string of Length...

In Assembly Language (Visual Studio 2017), create a procedure that generates a random string of Length L, containing all capital letters. When calling the procedure, pass the value of L in EAX, and pass a pointer to an array of byte that will hold the random string. Write a test program that calls your procedure 20 times and displays the strings in the console window. In your program, the random string size shall be preset as a constant.

Please include output.

Objectives:

  1. Write user defined procedures
  2. Call and test user defined procedures
  3. Use Irvine.inc library to take input and display output. (INCLUDE Irvine32.inc)

How to See Result

You may notice that your console window will show up then quickly disappear. You have two ways to view your result from console window. One way is to set the break point at exit statement in main procedure. Another way is to add the following statement before exit statement in main procedure:

Call ReadChar

This will hold the console window to wait for your input. You can hit any key to close the console window. It is better if you add a prompt to tell user what to do. For instance: “Press any key to continue…”. To do so, you simply add

prompt BYTE “Press any key to continue…”, 0

in your .data section and add the following code before Call ReadChar:

move dx, OFFSET prompt

Call WriteString

In: Computer Science

Novel Coronavirus Disease (COVID-19) Family Dilemma: Part II Glenda Taylor, 67 years old (John’s spouse) Primary...

Novel Coronavirus Disease (COVID-19) Family Dilemma: Part II

Glenda Taylor, 67 years old (John’s spouse)

Primary Concept

Professionalism/Communication

Interrelated Concepts (In order of emphasis)

  • Clinical Judgment
  • Collaboration
  • Patient Education

NCLEX Client Need Categories

Percentage of Items from Each Category/Subcategory

Covered in Case Study

Safe and Effective Care Environment

  • Management of Care

17-23%

ü

  • Safety and Infection Control

9-15%

Health Promotion and Maintenance

6-12%

Psychosocial Integrity

6-12%

ü

Physiological Integrity

  • Basic Care and Comfort

6-12%

ü

  • Pharmacological and Parenteral Therapies

12-18%

  • Reduction of Risk Potential

9-15%

ü

  • Physiological Adaptation

11-17%

I. Scenario

History of Present Problem:

John Taylor is a 68-year-old African-American male who was admitted to the MedSurg unit after testing positive for COVID-19 today. Four hours later he got up to use the bathroom and went into acute respiratory distress with increasing O2 needs and decreasing O2 sat. John is transferred emergently to the intensive care unit (ICU). John’s spouse Glenda has not been allowed to visit her husband because of current hospital policy that does not allow visitors for COVID-19 patients.

What data from the history is RELEVANT and must be NOTICED as clinically significant by the nurse?

(Reduction of Risk Potential)

RELEVANT Data from Present Problem:

Clinical Significance:

The Dilemma Begins

IMPORTANT CONSIDERATION: The essence of a clinical dilemma is that there is no clear right or wrong answer or response. Using principles of medical ethics and the American Nurses Association code of ethics and one’s conscience are guidelines to successfully resolve the dilemmas that nurses will experience in practice.

Current Concern:

Since Glenda has not been updated on John’s change of status, you call Glenda and communicate his critical condition

and his need to be intubated and placed on a ventilator. Glenda is clearly upset and states, “I need to see him! I need to be there! We’ve been married for 48 years and nothing has separated us! He needs me now more than ever!”

What data from the current concern is RELEVANT and must be NOTICED as clinically significant by the nurse?

(Reduction of Risk Potential)

RELEVANT Data from Current Concern:

Clinical Significance:

Caring and the “Art” of Nursing

What is John’s spouse likely experiencing/feeling right now in this situation? What would you specifically communicate to his spouse under these circumstances? (NCLEX: Psychosocial Integrity)

What Patient/Family is Experiencing:

What to Communicate:

Resolving the Dilemma

  1. Interpreting RELEVANT clinical data, what is the essence of this clinical dilemma? (Management of Care)

2. What additional information is needed by the nurse to clarify the dilemma? (Management of Care)

3.What additional members of the healthcare team could be used in this situation if Glenda was able to be in the hospital? Why? (Management of Care)

4. What psychosocial/holistic care PRIORITIES need to be addressed for this patient?

(Psychosocial Integrity/Basic Care and Comfort)

Psychosocial PRIORITIES:

PRIORITY Nursing Interventions:

Rationale:

Expected Outcome:

  1. How can you ensure that John’s spouse receives adequate communication about the plan of care despite her inability to be in the hospital?

6. What principles of therapeutic communication are relevant and how can they be stated by the nurse to develop trust and encourage dialogue between the nurse and family during this phone call? (Psychosocial Integrity)

Please read the current scenario with John.

What about his wife?

We are going to cover every aspect as noted in the scenario.

What is the relevant data with the current problem?

What is the relevant data with the current concern with John's wife Glenda?

What is the art of nursing with caring?

Resolving the Dilemma..and the psychosocial Properties and the nursing interventions.

And we will finish with block 6 and therapeutic communication. STUDENT-Part-II-COVID-19-Family_Dilemma.pdf

Principles Therapeutic Communication:

HOW to Communicate:

In: Nursing

Tony and Suzie are ready to expand Great Adventures even further in 2019. Tony believes that...

Tony and Suzie are ready to expand Great Adventures even further in 2019. Tony believes that many groups in the community (for example, Boy Scouts, church groups, civic groups, and local businesses) would like to hold one-day outings for their members. Groups would engage in outdoor activities such as rock climbing, fishing, capture the flag, paintball, treasure hunts, scavenger hunts, nature hikes, and so on. The purpose of these one-day events would be for each member of the group to learn the importance of TEAM (Together Everyone Achieves More).

Tony knows that most people are not familiar with these types of activities, so to encourage business he allows groups to participate in the event before paying. He offers a 6% quick-payment discount to those that pay within 10 days after the event. He also guarantees that at least eight hours of outdoor activities will be provided or the customer will receive a 20% discount. For the first six months of the year, the following activities occur for TEAM operations.

Jan. 24   Great Adventures purchases outdoor gear such as ropes, helmets, harnesses, compasses, and other miscellaneous equipment for $4,300 cash.
Feb. 25   Mr. Kendall’s Boy Scout troop participates in a one-day TEAM adventure. Normally, Tony would charge a group of this size $2,800, but he wants to encourage kids to exercise more and enjoy the outdoors so he charges the group only $2,300. Great Adventures provides these services on account.
Feb. 28   The Boy Scout troop pays the full amount owed, less the 6% quick-payment discount.
Mar. 19   Reynold’s Management has its employees participate in a one-day TEAM adventure. Great Adventures provides services on account for $3,300, and Reynold’s agrees to pay within 30 days
Mar. 27   Reynold’s pays the full amount owed, less the 6% quick-payment discount.
Apr. 7   Several men from the Elks Lodge decide to participate in a TEAM adventure. They pay $6,800, and the event is scheduled for the following week.
Apr. 14   The TEAM adventure is held for members of the Elks Lodge.
May. 9   Myers Manufacturing participates in a TEAM adventure. Great Adventures provides services on account for $5,300, and Myers agrees to pay within 30 days.
Jun. 1−30   Several MBA groups participate in TEAM adventures during June. Great Adventures provides services on account for $20,500 to these groups, with payment due in July.
Jun. 30   Myers Manufacturing fails to pay the amount owed within the specified period and agrees to sign a three-month, 9% note receivable to replace the existing account receivable.

1. Record TEAM adventure transactions occurring during the first six months of 2019

As of June 30, 2019, Great Adventures finishes its first 12 months of operations. If Suzie wants to prepare financial statements, part of the process would involve allowing for uncollectible accounts receivable.

a. Suppose Suzie estimates uncollectible accounts to be 5% of accounts receivable (which does not include the $5,300 note receivable from Myers Manufacturing). Record the adjustment for uncollectible accounts on June 30, 2019.

Prepare a partial balance sheet showing the net accounts receivable section

In: Accounting