Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Help Desk Assignment 1 This assignment develops software to support the services provided by the IT help desk in an organization. The help desk provides

Help Desk Assignment 1
This assignment develops software to support the services provided by the IT help desk in an
organization. The help desk provides over-the-phone and on-site assistance with technical problems to
employees from different departments at multiple locations. The department of the employee who
requested the service is charged for the service.
The charge for service consists of a fixed charge and a variable charge. The fixed charge is $10, and the
variable charge is the product of duration of service in minutes and charge/minute. The charge/minute
varies with the area in which the service is provided, as specified later. The help desk would like to
develop a system that maintains information on support provided to employees. The system should do the
following:
Let the user enter the department code for the employee, the start time and end time of the service
(if the study of Chapter 2 was postponed to a later time, you may enter the number of minutes
instead of the start time and end time), the fixed charge and the area of support.
Compute and display the duration of service in minutes, charge/minute and total charge for the
service.
The following are additional requirements of the input data and the computation and display of results:
The department code consists of an alphabetical letter that represents the location, followed by
two numeric digits that represent the department, as in G03.
The duration of service = End time - Start time.
Assume that each service ends the same day it is started.
The valid entries for area of service are:
computer system (includes computer, printer, network, database and some applications),
ERP, BI and cloud.
The charge per minute is:
computer system: $1.00min; ERP: $1.25min; BI: $1.5min; cloud: $1.25min
Total charge = fixed charge duration of service in minutes charge ?min
Use a ListBox to display results. The decimals of dollar amounts displayed in the ListBox must
be aligned, even when they are of different sizes.
Validate data as follows:
The start time cannot be later than the end time.
Make sure that a valid number is entered in the fixed charge field. If the fixed charge is not a
valid number, do not let the user move away from the Textbox where the number is entered. Use
an Error Provider to display an appropriate message, and let the user type over.
Make sure that the first character of the department code entered by the user is an "A,""F,""G"
or "N."
Use Try Catch to catch other errors.
Other general requirements are:
Use efficient code that is easy to understand.
You must use meaningful and self-explanatory names for all variables and objects like forms,
TextBoxes, and so on, using the naming conventions followed in the textbook. Don't use variable
names like tc (for total charge). You don't have to name Labels that are not used in the code.
Create a project named HDassignment1, and develop a form named Helpdesk that meets the requirements
specified above.
image text in transcribed

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

Students also viewed these Databases questions

Question

Discuss the states of accounting

Answered: 1 week ago