Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Purpose: Gaining technical skills using Python Directions: Scenario: A service/help desk is working to have the computer preprocess the tickets based upon keywords. Based upon

Purpose:

Gaining technical skills using Python

Directions:

Scenario: A service/help desk is working to have the computer preprocess the tickets based upon keywords. Based upon the following keyword it is automatically routed to a certain expert individual. Your program will be a subset of this. In particular, your program will need to allow the user to enter the text for a ticket and then provide the result of who the ticket would be routed to based upon the following table. We'll assume users will spell the keywords correctly, but not necessarily the capitalization to be the same as below. Also, the first keyword encountered in the following list is where the ticket will be routed.

Keyword Routed To
urgent Pry Ority
Linux Pebble Penguin
Windows Kurt Ains
Mac Don Alds
Office Dusty Places
Zoom Don Alds

Password doesn't work

Password incorrect

Password reset

Locked out

New password

Pebble Penguin
Routed to next available technician

Create the python program that solves the problem in the scenario. Make sure to format it as seen in the screenshot below. Formatting means the prompts for the user should be spelled and written the same way as seen in the screenshot as well as the spacing between outputs (single-spaced, double-spaced, etc.) should also match. Make sure variable values are formatted the same way as seen in the screenshot.

Note: The program was run 4 separate times in the screenshot (i.e. why RESTART line is seen) with the user entering in the different information in the ticket. The text used in the last test case can be copied from the file Project 3 Sample Text Message.txt Download Project 3 Sample Text Message.txtand pasted into the Python shell window.

Make sure to follow good programming practices as mentioned in Good and Bad Programming Practices.

You should only use modules/libraries we have covered thus far.

Grading:

Make sure to review the grading rubric prior to submitting your assignment to ensure you have completed everything to the appropriate standard. The grading rubric is below this assignment's directions.

Make sure to test your program to ensure it works for all possible test cases (assuming appropriately formatted CSV files). Your instructor will run your program against different test data and part of your grade will be based upon how your program performs on these test cases.

Submission:

Upload your .py file here

Note(s):

To allow the user to type text the program can use, you'll need to introduce a line of code called a prompt. Here's an example in Python to create a prompt saying "Please enter your name: " and the result is stored in name. By default, Python input statements store the data as a string data type. So name is a string data type.

name = input("Please enter your name: ")

Consider using the find function for strings in the Python Documentation for strings Links to an external site..

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 11g SQL

Authors: Jason Price

1st Edition

0071498508, 978-0071498500

More Books

Students also viewed these Databases questions

Question

x-3+1, x23 Let f(x) = -*+3, * Answered: 1 week ago

Answered: 1 week ago