Solved by: AllAcademicHelp.com
CSIT242 Session 4 2019Assignment #1Due: 26thOct
2019 2355hrs (Wollongong NSW time)Marks: 15 marks
The purpose of this assignment is to create interactive
applications using different views, multiple activities (scenes) and
programmatically manipulate UI components.
For the purpose of this assignment, two applications should be
developed. One for Android platform and another for the iOS
this assignment, you will create an
application “Rail Fare Calculator” to calculate the fare
between two rail stations and the approximate duration to reach the
The fare from Compassvale and Bakau station is $0.40. The journey
duration is approximately 6 mins for off peak hour.
Allow the user to choose the starting
and destination rail stations;
Allow the user to choose peak or off-peak hours
Present the calculated fare and approximate journey duration;
Allow the user to change starting point
and destination and make as many calculations as the user wants.
Android application must support all popular Android devices and
screen sizes. You should record which one you have tested in your
iOS application must support all popular iOS devices and screen
sizes. You should record which one you have tested in your report.
The applications should have an icon and
Each station should be presented by name and logo/image
The user should easily navigate thru application’s layouts
(scenes). The application may use a navigation
menu and every layout (scene) should have a caption.
If there is a need, the application may
display additional Toasts, Snackbars or Alerts
The user should choose a starting and
destination station (from the offered
The application should set peak or off-peak automatically based on
the current time, but the user can opt to choose either peak or
The application should display the calculated fare and approximate
The application may provide simple instructions for the user (in the
form of tips).
The user can choose a new starting,
destination station and peak or off-peak.
The fares between stations are calculated based on the distance
apart and timing (peak or off peak).
The distance between each stations are shown below:
rail only travels in one direction as stated below:
peak hours are from 0700hrs to 0900hrs and 1800hrs to 2000hrs.
off-peak fare is calculated as below:
km travelled is $0.15. The final calculated fare is rounded down to
the nearest 10 cents.
peak fare is 1.5 times of off-peak fare.
From Compassvale to Bakau, the total distance is 3.3km (1.5km
The off-peak fare calculation is 3.3x$0.15 = $0.495 = $0.40
The peak fare is $0.495×1.5 = $0.7425 = $0.70
Journey duration Calculation
The speed of the rail is 1km/min. (for both peak and off-peak)
The train stops for 30 sec at each station for peak and 60 sec for
The calculated duration is rounded up as estimated journey duration.
From Compassvale to Bakau the total distance is 3.3km (1.5km
The travel time is 3.3 x 1min = 3.3min
The number of stops (including the starting station) is 2.
The estimated peak journey duration is 3.3 min + 1 min = 4.4 min = 5
The estimated off-peak Journey duration is 3.3 min + 2 mins = 5.4
min = 6 mins.
Testing and Deployment
The applications should be tested using the emulators within the
Android studio and Xcode.
Use appropriate view controls/objects to design the applications.
Apply ‘delightful’ UI for public to
Prepare a report that has header
My student number:
My email address:
any requirements, remarks or readme for your applications. The
report also should include test results with screen captures
of (virtual) devices of the applications (during run-time).
Submit a ZIP file containing both project folders (one for Android
and one for iOS) and your report (in .pdf) over Moodle submission
You are not required to submit a hardcopy
of the report, nor copy out all the source code. Make sure your
project folders are complete and ready to be open by any other
Android Studio IDE and Xcode for code assessment.
Submit your assignment before the due date. Penalties apply to all
late work, except if student academic consideration has been
granted. Late submissions will attract a penalty of 20% of the
assessment mark. This amount is per day including weekends. Work
more than 5 days late will be awarded a mark of zero.
Submission via email is not acceptable.
Assignments without reports will not be marked.
Enquiries about the marks can only be made within a maximum of 1
week after the assignment results are published.
By submitting this assignment you declare that this assignment is
Your own work and you did not collaborate with or copy from
(folders, layouts/scenes, class files)
1 / 1
2.5 / 2.5
4 / 4
7.5 / 7.5
Let’s block ads! (Why?)
READY TO PLACE AN ORDER