Introduction- For this assignment I’m going to make the design of the given project. in this
task I will do the screen designs, Flow charts and the variables I’m going to use for the
program that I’m creating.
Scenario: You have been appointed as a junior programmer at a new software development
company. They have asked you to design a car rental program for their first customer.
The requirements of the program:
I will be designing a application called car rental program. The program would allow the
customers to see the pricing of the rented cars and staff members would book the cars for
them with their login. The program would contain the following elements:
Vehicles list will be shown to customer.
Should include payment type so that customers can make the bookings.
Calculations must be done by the number of days.
Calculation on discount.
Option for new customer to register.
Form should include clear button to clear all the data on the form.
Bookings should be done.
The rental agreement must be shown to the customer before purchase.
Rental date must be included.
Due date should also be shown.
Customer information must be saved. So that the data can be fetched later on.
The program should include login form. (password protected)
The program should contain text boxes, labels, arrays, dropdown boxes and buttons. The
buttons will have to have various functions including calculating functions.
Task 1
- Design the screen layout for the program
-Make a flow chart to illustrate how the flow of the program will work.
- Create a table with all the elements and controls you will use in the program and
write description of the reason for using it.
Page 2
, Unit 14- Event driven application/P3
Elements of the program.
Control ID Text Event handler
description
Form frmrental Joe’s car rental The main form
Label Label1 Joe’s car rental The heading of the form
Label Label2 Customers name:
Text box Txtcustomer Control for entering
strings
Label Label3 Vehicle make
Dropdown box drpvehicalmake Control to enter a string.
Allows user to select a
vehicle make based on the
users to choice in
drpvehicalemake
Label Label4 Vehicle model Display the vehicle make
when a vehicle is selected
in the dropdown box
Dropdownbox Drpvehiclemodel Control to enter a string.
Allows the user to select
vehicle model based on
the users choice in
drpvehivlemodel.
Listbox 1st rental Display the customer
name, vehicle model,
vehicle type in the list
box when the rental
button is clicked.
Button btnRental Rental
Radio button radday Day rental To choose the length for
the rental and have a price
attached to the period.
Radio button radweek Weekly rental To choose a length for the
rental and have a pricing
attached to that period.
Button btnRentalAgreement Rental agreement This button will gather all
the input data and display
it to the user in a suitable
form. The code must
include the following-
The customer
name
The vehicle make
and model.
Length of rental
Cost of rental
Rental agreement
number (must
increment
sequentially)
Page 3
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller John1998. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $5.79. You're not tied to anything after your purchase.