Command line menu-driven python application

Assignment Help Python Programming
Reference no: EM133424543

Overview - Python language syntax including functions The Lab for this week demonstrates your knowledge of this additional Python functionality.

Python Applications for this Lab:

The first exercise produces a command line menu-driven python application providing users with the ability to perform several math and security related functions. The second part documents your testing and pylint analysis results.

1. Create a menu-driven python application with following menu options for users to run at the command line:

a. Generate Secure Password
b. Calculate and Format a Percentage
c. How many days from today until July 4, 2025?
d. Use the Law of Cosines to calculate the leg of a triangle.
e. Calculate the volume of a Right Circular Cylinder
f. Exit program

As you put this menu together be sure to adhere to the following guidance and hints:
1. Create functions to be called sending in the parameters the user enters.
2. Validate input data to ensure each entry from the user is correct before proceeding.
3. Prompt the user to reenter information as needed.
4. The following Python sites are excellent resources for learning more about the string, datetime, secrets, math, and random number libraries mentioned in the readings that you should use as part of this exercise.
5. Use comments to document your code
6. Test with many combinations.
7. Use pylint to verify the code style - the goal is a 10!

Some additional guidance related to your functions created:

Part 1. For the secure Password, you should prompt the user for the length of the password to be created, as well as the complexity (i.e. Use of Upper Case, Use of Lower Case, Use of Numbers, Use of special characters). Check out options from commercial password generators such as Norton. Note in a command line interface, the input and prompts are just text, so you won't be creating a GUI, just the functionality that allows the user to enter the information needed.
2. For the percentage, consider a simple example, where the user has to enter the numerator and denominator and the number of decimal points for formatting. For example, 22, 57, 3 would yield 38.596 percent.
3. For days until July 4, 2025 the output should just be the number of days. There would be no input other than the selection from the menu
4. The formula for the law of cosines can be found at sites such as You want to solve for c (lower case
c) in the following diagram.
5. The formula for a right cylinder can be found here: Be sure to select right circular cylinder.
6. When exiting the program be sure to thank the user for visiting your application.

Part 2. Document your testing results using your programming environment. You should also include and discuss your pylint results for the application. The test document should include a test table that includes the input values, the expected results and the actual results. A screen capture should be included that shows the actual test results of running each test case found in the test table. Be sure to include multiple test cases to provide full coverage for all code and for each function you develop and test.

Attachment:- Python Applications.rar

Reference no: EM133424543

Questions Cloud

What warranties were made in this sale : The machine Stephenson really liked was the "Superwasher." The salesperson said, "Your clothes will be cleaner than they have ever been if you use
Will the average flow time experienced by potential customer : Will the average flow time experienced by potential customers who stay in the system until they receive service increase, decrease, or stay the same?
Explanation specific truth conditions for each connective : Explain the difference between the conditional and the bi conditional. Include in your explanation the specific truth conditions for each connective.
How does this case falls under the sales of goods act : How does this case falls under the Sales of Goods Act? Explain. Does the passage of the title come into play in this case? Explain briefly.
Command line menu-driven python application : produces a command line menu-driven python application providing users with the ability to perform several math and security related functions
When have you or someone you know used a logical fallacy : When have you or someone you know used a logical fallacy to sway an opinion, win an argument, or gain an advantage? Did you (or the person in question)
Bakery specializing in fresh baked goods : You run a bakery specializing in fresh baked goods. the optimal service level should decrease as the variance of demand goes up. Is the consultant right?
Elaborate upon the challenges inherent within the release : elaborate upon the challenges inherent within the release from incarceration and back into society under parole. Are there new support mechanisms
Elaborate upon the challenges inherent within the release : elaborate upon the challenges inherent within the release from incarceration and back into society under parole. Are there new support mechanisms

Reviews

len3424543

5/22/2023 9:51:31 PM

SDEV 300- using PyCharm program please! Submission requirements for this project include 2 files. (Zipping them into one file is acceptable and encouraged): Python Command Line Math and Security Related Application Code ? Word or PDF file containing your test and pylint results

Write a Review

Python Programming Questions & Answers

  Display the dollars and quarters and dimes and nickels

Display the dollars, quarters, dimes, nickels, and pennies that the customer should receive in return. In order to avoid roundoff errors.

  What are the most popular movies for different age groups

What are the most popular movies for different age groups? Your code should be able to provide a movie ID for the movie that has the highest number.

  Establish a socket to a dns server

A simple network application socket connection communication programming lab. Query the DNS server for a DNS host name or IP address.

  What is the difference in execution speed

In Python, Using a random number generator, create a list of 500 integers.

  Write a python program to display your height

Write a Python program to display your height in centimetres and in feet. To convert from centimetres to feet: 1 cm = (1/30.48) ft

  Create a python script that opens a file and perform task

Create a python script that opens a .mbox file and perform the following: the script will open a file containing a blacklist of words and it will report whether

  Asign true to the variable has_dups

Asign True to the variable has_dups if the string s1 has any duplicate character (that is if any character appears more than once) and False otherwise

  Write a program that computes the value with a given digit

Write a program that computes the value of a+aa+aaa+aaaa with a given digit as the value of a. Suppose the following input is supplied to the program.

  Develop and test a python program

develop and test a python program to track student marks in the various assignments in a given unit of study. The time allocated for this project is 10 weeks.

  What are some methods that will aid secure the data

In regards to Python programming, what are some methods that will aid secure the data-in-transit and at-rest? Also, what are some examples?

  Produce the simulation of the orbits of the planets

Need to produce a code with object oriented programming using python, which will produce the simulation of the orbits of the planets around the sun

  Write a program that inputs an integer

Write a program that inputs an integer. It will then print 4 columns of numbers. The first column will consist of all the numbers from one to the input number.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd