Categories
Writers Solution

Completing our Programming Projects using Code Check. Nothing is required by you to use this program.

You will use what you have learned from Chapters 1 and 2 in Big Javascript Late Objects to complete the following programs.  Use what you have learned about the Scanner class, Constants, variables, printf, and Strings to complete the project. 

Remember to watch the Lecture Videos and additional videos in iCollege for examples on these topics and how to comment your program correctly.  **Please do not use any advanced material that is not in Chapters 1 or 2.

We will be completing our Programming Projects using Code Check.  Nothing is required by you to use this program.  For each project, I will provide a URL that will take you to the project to complete.  Once you have completed the coding project(s) (you have unlimited attempts), you will download the Report from the Code Check website and upload this zipped file(s) to this Assignment folder.  Inside this zipped file will be your completed code and your *calculated score based on testing.  You may use your IDE (jGrasp/Eclipse) to write the code and then copy and paste over to Code Check, if desired.

*The calculated score will be located at the bottom of your submission in the form of (for example) “5/5 = 100%”, “4/5 = 80%”, “3/5 = 60%”, etc.  IF YOU DO NOT obtain 100%, I encourage you to reach out for help on the Problem & Solutions Blog with your error messages so others can help.  You can also view the “Common Code Check Errors” document located in iCollege.  Please make sure you have viewed the “How to Use Code Check” video before starting.

TakeoutOrder.java

We will be writing a simple program to model a take out fast food order.  Once we have the user’s name and food order, we will output the “check” or “receipt” with the total purchase.

The following are sample runs of the program to help you write your code and format your output.  Please make note of “blank” lines in between output statements.  It must match exactly to pass the Code Check tests.

Sample Output 1:

Welcome to Burger Hut. We sell hamburgers, cheeseburgerssmall fries, large fries, and one size drink.Once you have placed your order, your receipt will print.

Please enter your first name: JamiePlease enter your last name: HowardsEnter how many hamburgers to order: 1Enter how many cheeseburgers to order: 2Enter how many small fries to order: 2Enter how many large fries to order: 1Enter how many drinks to order: 3

               Burger Hut             <– Notice the indented name and date           6/28/2021 5:51 PM

Howards, J          <– Notice the left-aligned last name, first initial and totalTotal: $27.40

     \\Thank you and come again!//    <– Notice the indented goodbye message and \\ //

Sample Output 2:

Welcome to Burger Hut. We sell hamburgers, cheeseburgerssmall fries, large fries, and one size drink.Once you have placed your order, your receipt will print.

Please enter your first name: ArianellePlease enter your last name: WalkersonEnter how many hamburgers to order: 0Enter how many cheeseburgers to order: 4Enter how many small fries to order: 3Enter how many large fries to order: 1Enter how many drinks to order: 5

               Burger Hut           6/28/2021 5:51 PM

Walkerson, ATotal: $39.05

     \\Thank you and come again!//

Instructions for Part 1:

  1. Go to the following URL to complete the project: Programming Project 1
  2. If using and IDE (jGrasp or Eclipse), create a new class file named TakeoutOrder.Javascript with a main method.
  3. You will be filling in code everywhere you see the ellipses (. . .) in the code.  Please follow the instructions and use the Sample Outputs to guide you.
  4. Write the Class comment and @author and @version tags
  5. Declare and initialize 5 Constants for:
    1. The cost of a hamburger is 4.75
    2. The cost of a cheeseburger is 4.95
    3. The cost of a small fry is 1.00
    4. The cost of a large fry is 2.50
    5. The cost of a drink (one size only) is 2.75 
      • Remember to name your Constants according to Javascript standards using ALL_CAPS.
  6. Use a series of println statements to output the “Greeting” message (see Sample Output)
  7. The prompt for the user’s first name is already included in Code Check.  Create a variable to store the input for the first name and use a Scanner method to read the value from the Console.
  8. The prompt for the user’s last name is already included in Code Check.  Create a variable to store the input for the last name and use a Scanner method to read the value from the Console.
  9. Following the example of Steps 7 & 8, write the prompts for each food item and create variables to store the inputs.  Use Scanner methods to read in the values from the Console.  (You will have 5 more prompt and input statements.)
  10. Using only existing variables and Constants, calculate the total cost of the bill (receipt).  No *magic* numbers here – use the variables and constants only.
  11. Using printf statements, output the Restaurant name (Burger Hut) and the date and time (6/2/8/2021 5:51 PM) indented.  *Note: To indent the output in, you will need a numerical value in your printf statement before the ‘s’ in %s  (see p. 52).  You can judge how far in to indent by comparing the ‘B’ in Burger to the line above it – notice it is under the ‘d’ in drinks.
  12. Using a println statement, output the last name, first initial of the user.
  13. Using printf statements, output the total with 2 decimal places (see p. 52) and the goodbye message indented .  Again, use the method of Step 11 to judge how far to indent.  You will also need the \\ and // in the message, so please make sure to look at Escape Sequences.
  14. Submit your code in Code Check and check the results of the tests. Please correct any error messages or output formatting issues.
  15. Once you have everything correct, download the zipped file and then upload to this Assignment folder.  You should see a “Download” button that looks like this that will give you a zipped file containing your code and test data: 

Testing and Submitting

Once you have thoroughly tested your program, please upload the zipped file only to this Programming Project 1 folder.

You will be graded on:

  1. Neatness of code and use of proper indentation of 4 spaces, 8 spaces, etc.  This is the Checkstyle part of your Report.
  2. Commenting of code – including class comment, @author, @version, and code comments. This is the Checkstyle part of your Report.
  3. Good use of constant and variable names – they should be descriptive names and not individual characters or abbreviations.  Ex.  FINAL_COST or firstName. This is the Checkstyle part of your Report.
  4. Output is correct and matches the Sample Output for all tests that executed on your code in Code Check.  This is the Test 1, Test 2, etc. part of your Report.  They must say “Pass”.
  5. Correct calculations using variables and constants (i.e. the math is correct).  This is the Test 1, Test 2, etc. part of your Report.
  6. My visual inspection of your code.  I will be checking for good variable and constant names and well as good indenting of code.  Instructor reserves the right to make adjustments to the Code Check score based on inspection

GET SOLUTION FOR THIS ASSIGNMENT

CLICK HERE TO MAKE YOUR ORDER

TO BE RE-WRITTEN FROM THE SCRATCH

NO PLAGIARISM

  • Original and non-plagiarized custom papers- Our writers develop their writing from scratch unless you request them to rewrite, edit or proofread your paper.
  • Timely Deliverycapitalessaywriting.com believes in beating the deadlines that our customers have imposed because we understand how important it is.
  • Customer satisfaction- Customer satisfaction. We have an outstanding customer care team that is always ready and willing to listen to you, collect your instructions and make sure that your custom writing needs are satisfied
  • Confidential- It’s secure to place an order at capitalessaywriting.com We won’t reveal your private information to anyone else.
  • Writing services provided by experts- Looking for expert essay writers, thesis and dissertation writers, personal statement writers, or writers to provide any other kind of custom writing service?
  • Enjoy Please Note-You have come to the most reliable academic writing site that will sort all assignments that that you could be having. We write essays, research papers, term papers, research proposals. Misuse of Department Property

Get Professionally Written Papers From The Writing Experts 

Green Order Now Button PNG Image | Transparent PNG Free Download on SeekPNG Our Zero Plagiarism Policy | New Essays
Categories
Writers Solution

My stomach hurts, I have diarrhea and nothing seems to help

 Assignment 1: Lab Assignment: Assessing the Abdomen

 Please note this assignment is due week 6.  Please refer to your resource list as well as your grading rubrics and study guide for week 6. In this Lab Assignment, you will analyze an Episodic note case study that describes abnormal findings in patients seen in a clinical setting. You will consider what history should be collected from the patients as well as which physical exams and diagnostic tests should be conducted. You will also formulate a differential diagnosis with several possible conditions. Please use your Resource list and grading rubric as a guide. Please reach out to me if you have any questions regarding this assignment

ABDOMINAL ASSESSMENT

Subjective:

  • CC: “My stomach hurts, I have diarrhea and nothing seems to help.”
  • HPI: JR, 47 yo WM, complains of having generalized abdominal pain that started 3 days ago. He has not taken any medications because he did not know what to take. He states the pain is a 5/10 today but has been as much as 9/10 when it first started. He has been able to eat, with some nausea afterwards.
  • PMH: HTN, Diabetes, hx of GI bleed 4 years ago
  • Medications: Lisinopril 10mg, Amlodipine 5 mg, Metformin 1000mg, Lantus 10 units qhs
  • Allergies: NKDA
  • FH: No hx of colon cancer, Father hx DMT2, HTN, Mother hx HTN, Hyperlipidemia, GERD
  • Social: Denies tobacco use; occasional etoh, married, 3 children (1 girl, 2 boys)

Objective:

  • VS: Temp 99.8; BP 160/86; RR 16; P 92; HT 5’10”; WT 248lbs
  • Heart: RRR, no murmurs
  • Lungs: CTA, chest wall symmetrical
  • Skin: Intact without lesions, no urticaria
  • Abd: soft, hyperactive bowel sounds, pos pain in the LLQ
  • Diagnostics: None

Assessment:

  • Left lower quadrant pain
  • Gastroenteritis

PLAN: This section is not required for the assignments in this course (NURS 6512) but will be required for future courses.

To Prepare

Review the Episodic note case study your instructor provides you for this week’s Assignment. Please see the “Course Announcements” section of the classroom for your Episodic note case study.

  • With regard to the Episodic note case study provided:
  • Review this week’s Learning Resources, and consider the insights they provide about the case study.
  • Consider what history would be necessary to collect from the patient in the case study.
  • Consider what physical exams and diagnostic tests would be appropriate to gather more information about the patient’s condition. How would the results be used to make a diagnosis?
  • Identify at least five possible conditions that may be considered in a differential diagnosis for the patient.

The Assignment

  1. Analyze the subjective portion of the note. List additional information that should be included in the documentation.
  2. Analyze the objective portion of the note. List additional information that should be included in the documentation.
  3. Is the assessment supported by the subjective and objective information? Why or why not?
  4. What diagnostic tests would be appropriate for this case, and how would the results be used to make a diagnosis?
  5. Would you reject/accept the current diagnosis? Why or why not? Identify three possible conditions that may be considered as a differential diagnosis for this patient. Explain your reasoning using at least three different references from current evidence-based literature.
  6. Assignment statusSolved by our Writing Team at CapitalEssayWriting.com
  7. CLICK HERE TO ORDER THIS PAPER AT CapitalEssayWriting.com
Categories
Writers Solution

By William Shakespeare My mistress’ eyes are nothing like the sun;

Directions: Work to paraphrase the poem into its literal meaning, identify the

examples of figurative language and satirical devices, and determine the tone

of the poem and the poem’s theme.

Sonnet 130 (My mistress’ eyes ….)

By William Shakespeare

My mistress’ eyes are nothing like the sun;

Coral is far more red than her lips’ red;

If snow be white, why then her breasts are dun;

If hairs be wires, black wires grow on her head.

I have seen roses damasked, red and white,

But no such roses see I in her cheeks;

And in some perfumes is there more delight

Than in the breath that from my mistress reeks.

I love to hear her speak, yet well I know

That music hath a far more pleasing sound;

I grant I never saw a goddess go;

My mistress when she walks treads on the ground.

And yet, by heaven, I think my love as rare

As any she belied with false compare.

  1. What six complaints the speaker has made about his “mistress:”:

What is the figurative language used?

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

What are the satirical elements used?

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

_____________________________________________________________________________

What is the effect of this comparison?

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

What is the tone of the poem up to this point? Explain.

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

In Shakespeare’s time, the word reeks didn’t have the negative connotation that it does today.

How does this change your understanding of the line?

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

The speaker is not always the poet. Who could the speaker be? To whom could the speaker be

talking to?

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

Pick two tone adjectives to describe the speaker’s attitude towards the subject.

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

Identify the poem’s central theme. What is the purpose of the poem overall? What is

Shakespeare suggesting about life?

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

Why do you think the poet only describes the physical features of his mistress? Nothing is

written to describe her personality. Why do you think this is?

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

On a scale of 1 to 10, with 10 being the highest, how would you rate this sonnet as a love

poem? Explain.

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

If the order of the poem’s lines were reversed and the speaker started by telling the mistress he

loves her, before mentioning the negative points, how would this change your view of the

poem?