Our Services

Get 15% Discount on your First Order

[rank_math_breadcrumb]

Week 7: Due on Feb 25, 2024 11:59 PM This week’s assignment involves writing a Python program to collect all the data of a road trip and calculate each person’s share of the cost. Prompt the user for

Week 7: Due on Feb 25, 2024 11:59 PM

This week’s assignment involves writing a Python program to collect all the data of a road trip and calculate each person’s share of the cost. Prompt the user for each of the following:

  • The number of people on the trip.
  • The number of days of the trip.
  • For each day of the trip:
    • Cost of food.
    • Cost of gas.

The food and gas costs should be stored in two separate arrays. Calculate and display each of the following:

  • the total cost of each category;
  • the total cost of the trip; and
  • each person’s share of the total cost.

Your program should include Header comments (what the program does) and in-line comments (the major design steps). Also document the currency of the country visited.

Submit your Python program as a text file (.py) file. In addition, submit a Design outline and a Test plan/report (3 different test cases – one test case must be 5 days and 5 people) in a Word document or a PDF file and include a screenshot of execution of your program for each test case.

Your submission must also adhere to the Submission Requirements document. (i.e., Filename and display your name, class, date in the output).

Grading:

15% – Design – outline proper sequence of steps, calculations (if necessary). Identify all your loops, validation.

10% – Test Plan – Completeness of your Test plan/report (at least three (probably more) test cases).  You should have a test case for each invalid and one for a valid password. Include screenshots for each test case.

10% – Documentation – Header and in-line comments. Documentation of major steps (from design outline).

65% – Program prompts and executes correctly on all test cases. Satisfies all requirements (each requirement – 10 pts, compiles – 20 pts, effectiveness and neatness – 10 pts, descriptive variables – 5 pts, def main() – 5 pts).

mportant note: This is an individual assignment and students are required to submit their original/independent work and adhere to UMGC academic integrity policy. Your submission should adhere to the Submission Requirements document. It is advised that you read all the material, including the Lecture before attempting the assignment. Also, review the example programs and practice exercises.

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

DFA Closure: 1.4 c and f. Do union and intersection for each (use cross product algorithm) Each of the following languages is the intersection of two simpler languages. In each part, construct DFAs fo

DFA Closure: 1.4 c and f. Do union and intersection for each (use cross product algorithm) Each of the following languages is the intersection of two simpler languages. In each part, construct DFAs for the simpler languages, then combine them using the construction discussed in footnote 3 (page 46) to

DFA Closure: 1.4 c and f. Do union and intersection for each (use cross product algorithm) Each of the following languages is the intersection of two simpler languages. In each part, construct DFAs fo

DFA Closure: 1.4 c and f. Do union and intersection for each (use cross product algorithm) Each of the following languages is the intersection of two simpler languages. In each part, construct DFAs for the simpler languages, then combine them using the construction discussed in footnote 3 (page 46) to

1.2 Lab – More Charts in Excel Submission: Completed Excel workbook via Canvas. Part 1 – Multiple Variable Charts Overview • This problem furthers the ideas from the notes ‘1.2 – Basic Charts in Excel

1.2 Lab – More Charts in ExcelSubmission: Completed Excel workbook via Canvas.Part 1 – Multiple Variable ChartsOverview• This problem furthers the ideas from the notes ‘1.2 – Basic Charts in Excel’, where we learnedhow to create and format many simple charts in Excel.• The first tab of the accompanying workbook

TNM1 — Task 2: Multipage Website Prototype User Interface Design — C773 PRFA — TNM1 PreparationTask OverviewSubmissionsEvaluation ReportCompetencies 4040.01.1 : User Interface Design Projects The grad

TNM1 — Task 2: Multipage Website Prototype User Interface Design — C773 PRFA — TNM1 PreparationTask OverviewSubmissionsEvaluation ReportCompetencies 4040.01.1 : User Interface Design Projects The grad TNM1 — Task 2: Multipage Website Prototype User Interface Design — C773 PRFA — TNM1 PreparationTask OverviewSubmissionsEvaluation ReportCompetencies 4040.01.1 : User Interface Design Projects The graduate

In Units I, II, and III, you learned about the history of computers, application and system software, blockchain, cryptocurrency, computer ethics, and explored two Microsoft Office applications, Word

In Units I, II, and III, you learned about the history of computers, application and system software, blockchain, cryptocurrency, computer ethics, and explored two Microsoft Office applications, Word and Excel.  In this assignment you will demonstrate what you have learned in these three units. This assignment will have five parts. 

TNM1 — Task 2: Multipage Website Prototype User Interface Design — C773 PRFA — TNM1 PreparationTask OverviewSubmissionsEvaluation ReportCompetencies 4040.01.1 : User Interface Design Projects The grad

TNM1 — Task 2: Multipage Website Prototype User Interface Design — C773 PRFA — TNM1 PreparationTask OverviewSubmissionsEvaluation ReportCompetencies 4040.01.1 : User Interface Design Projects The graduate describes user interface design project constructs. 4040.01.2 : User Interface Design Process The graduate describes the user interface design process. 4040.01.3 : User Centered Web Design The graduate explains the

TNM1 — Task 1: Project Proposal with Strategies User Interface Design — C773 PRFA — TNM1 PreparationTask OverviewSubmissionsEvaluation ReportCompetencies 4040.01.1 : User Interface Design Projects The

TNM1 — Task 1: Project Proposal with Strategies User Interface Design — C773 PRFA — TNM1 PreparationTask OverviewSubmissionsEvaluation ReportCompetencies 4040.01.1 : User Interface Design Projects The graduate describes user interface design project constructs. 4040.01.2 : User Interface Design Process The graduate describes the user interface design process. 4040.01.3 : User Centered Web Design The graduate explains

TNM1 — Task 2: Multipage Website Prototype Competencies 4040.01.1 : User Interface Design Projects The graduate describes user interface design project constructs. 4040.01.2 : User Interface Design Pr

TNM1 — Task 2: Multipage Website Prototype Competencies 4040.01.1 : User Interface Design Projects The graduate describes user interface design project constructs. 4040.01.2 : User Interface Design Process The graduate describes the user interface design process. 4040.01.3 : User Centered Web Design The graduate explains the relationship between the user and the site design. 4040.01.4 : User Interface

IntroductionUser interface and user experience (UI/UX) designer is one of the most popular job titles in the technology industry. UI/UX designers tend to enjoy the challenges associated with creating

IntroductionUser interface and user experience (UI/UX) designer is one of the most popular job titles in the technology industry. UI/UX designers tend to enjoy the challenges associated with creating products that people love. Industry leaders know that design is a substantial competitive advantage, and they are competing for best talents;

In Units V, VI, and VII, you learned about the components of a computer, how a computer works, the internet, networks and network communications, cloud computing, web development, digital identity, so

In Units V, VI, and VII, you learned about the components of a computer, how a computer works, the internet, networks and network communications, cloud computing, web development, digital identity, social media, e-commerce, ethical behavior, databases, and explored two Microsoft Office applications, PowerPoint and Access.  In this assignment, you will

In the previous assignment, the annotated bibliography, you collected 15 – 20 references. Now, you are to craft an analytical research paper. Using the same themes assigned for the previous assignment

In the previous assignment, the annotated bibliography, you collected 15 – 20 references. Now, you are to craft an analytical research paper. Using the same themes assigned for the previous assignment.  GROUP 1: Context-Aware Computing  Prepare a ten (10) page research paper. In the paper, you are to cover the

This week, you will submit the second project, the Desktop Migration Proposal. Using the requirements analysis your manager provided and the Internet research you conducted, submit your recommendation

This week, you will submit the second project, the Desktop Migration Proposal. Using the requirements analysis your manager provided and the Internet research you conducted, submit your recommendation to the assignment folder. As you are writing your recommendation, ensure your analysis and recommendations align with your manager’s priorities and concerns.

In Units I, II, and III, you learned about the history of computers, application and system software, blockchain, cryptocurrency, computer ethics, and explored two Microsoft Office applications, Word

In Units I, II, and III, you learned about the history of computers, application and system software, blockchain, cryptocurrency, computer ethics, and explored two Microsoft Office applications, Word and Excel.  In this assignment you will demonstrate what you have learned in these three units. This assignment will have five parts.