ARSD Mod 2 Pseudocode and Python Program Design Project

Overview

Module 2 Assignment 2 features designing the logic for a simple program using pseudocode and then writing the program in Python.
Each lab asks you to write pseudocode that plans the program’s logic before you write the program in Python and to turn in three things: 1) the pseudocode, 2) a screenshot of the IDLE console’s results, and 3) the Python program.

Instructions

Pseudocode and Python Program Design Requirements

Design the pseudocode and a Python program that asks customers for their name, where they want to go, how long they plan to stay, and calculate how much it will cost by multiplying the days by $100 per day. Confirm the information that the user provided.

  1. In a welcome message, tell the customer that she/he won a free vacation with airfare and hotel expenses paid.
  2. Ask for the customer’s name.
  3. Ask the user “where do you want to go for vacation? Display the location on screen.
  4. How many days will he or she spend on vacation, 4 or 7 days?
  5. Calculate the cost by multiplying the number of days by 100.
  6. Display the total expenses for food and entertainment.

Module 2 Assignment 2: Post Your Pseudocode & Python Program:

  1. Write your pseudocode using English-like program statements. Save it as a Word .docx file or .rtf file.
  2. Create a New File in IDLE and Save the file with your initials. [example for someone with the initials cc: M2Lab2cc.py]
  3. At the top of your program, add a comment using the # sign, add your name and the assignment M2Lab2.
  4. Write your program following the steps in the Instructions.
  5. Save your new Python program, run it and test it.
    • Tip: If you see the # of days repeat 100 times, you are multiplying a string. Look up how to input an integer for the # of days.
  6. Take a screenshot of your program output in the Python console window [Alt Key + PrntScreen].
  7. Right click and Paste the screenshot into the same Word document with your pseudocode.
  8. Upload to M2 Assignment 2 Pseudocode & Python Assignment Submission Folder.
    1. Output screenshot with your pseudocode
    2. Python program

See the Schedule in the Syllabus Module for due dates. Review the Rubric attached to the Assignment Submission Folder for grading information.

“Get 15% discount on your first 3 orders with us”
Use the following coupon
FIRST15

Order Now