联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codinghelp

您当前位置:首页 >> Python编程Python编程

日期:2022-04-10 12:42

CSIT242 Autumn Session 2022

Assignment #1

Due: 05:00 pm Monday 11 April 2022

Marks: 20 marks (20%)

The purpose of this assignment is to create an interactive application using different

views, multiple activities (scenes) and programmatically manipulate UI components.

For the purpose of this assignment, one application should be developed – by the

student’s choice – for the Android or iOS platform.

Aims

In this assignment, you will create an application, “My Entertainment”. The application

should calculate the charges for using entertainment facilities. The entertainment centre is

open every day (Monday-Sunday) from 6 am to 10 pm. Each session is one hour (starting

every half-hour), and the user can have multiple sessions. For example:

Entertainment facility: Bowling

Day: Saturday, Start time: 12:30, hours: 3, End time: 15:30

Number of lanes: 2

Total amount: $120 (discount:$12) = $108

Your application should:

− Allow the user to choose the entertainment facilities: Bowling, Laser Arena,

Internet & Gaming Cafe, Karaoke, Magic Show, Rock Climbing, and Kid Playland.

− Allow the user to choose the desired day and time (starting at 6 am / every half-hour

– 6:00/6:30/7:00/7:30/…./20:30/21:00). However, the magic show has its schedule

for every two hours starting from 16:00, and the last show ends at 22:00 (only three

sessions a day).

− Allow user to choose how many hours ( or sessions) will use the facility;

− Present the chosen entertainment facilities, day, start and end time, number of

hours, number of participants or lanes(for bowling) and calculated charges

(amount in AUD);

− Allow the user to insert new/change the preferences and make as many calculations

as possible.

Your application must support all popular Android or iOS devices and screen sizes. You

should record which one you have tested on in your report.

Requirements

1. Design Requirements

− The applications should have an icon and logo.

− A logo is on the startup page and the first page of the application.

− The sports facilities should be presented by name and logo/image (e.g. bowling

).

− The user should easily navigate thru the application’s layouts (scenes). The

application may use a navigation menu, and every layout (scene) should have a

caption.

− If needed, the application may display additional Toasts, Snackbars or Alerts.

2. Functionalities

− The user should choose an entertainment facility (from the offered options).

− The user should choose a day (from the offered options: Monday to Sunday). The

default day option should be the current system date/time at the time of use.

− The user should choose the beginning time (the time slots should be on every half

hour). The default starting time option should be the next half-hour (or the

following schedule for the magic show) based on the current system date/time (e.g.

if the present time is 13:10, then the default starting time should be 13:30 or 16:00

for the magic show).

− The user should insert the number of hours/sessions (s) he will use the facility (the

user can insert only an integer number).

− The user should be able to set how many people (or lanes for bowling) to attend the

entertainment facility, except for the karaoke room, which is fixed at a maximum of

5 people per room.

Note: The opening hours are 6 am to 10 pm. The user cannot start before 6 am or stay

after 10 pm.

− The application should display the user’s choices and calculated charges (total

amount in AUD), including the discount if applicable.

− The user can change any input information and recalculate the charges.

− The application should provide simple instructions for the user (in the form of tips

or as a separate layout/scene).

The calculations for the charges are based on the:

- Type of the facility,

- Day and time in the week (peak or off-peak hours),

- Additional 10% discount if the user spends $100 and above.

Examples:

(1)

Entertainment Bowling:

Day: Monday, Start time: 09.30, hours: 2, End time: 11.30

Number of lanes: 2

Total amount: 2*2*$10 = $40

(2)

Entertainment facility: Laser Arena

Day: Sunday, Start time: 11.30, hours: 1, End time: 12.30

Number of participlants: 2

Total amount: 2*1*$12 + 2*1*$10 = $44

(3)

Entertainment facility: Magic Show

Day: Friday, Start time: 16.00, hours: 2, End time: 18.00

Number of participlants: 3

Total amount: 3*$50 = $150 – discount10%: $15 = $135

3. Testing and Deployment

− The applications should be tested using the emulators within the Android studio,

Xcode or by physical devices.

4. Other Expectations

Cost per

session

(mostly

one hour )

Monday-Friday

Peak hours:

16.00-22.00

Monday-Friday

Off-Peak hours:

06.00-16.00

Saturday-Sunday

Peak hours:

12.00-22.00

Saturday-Sunday

Off-Peak hours:

6.00-12.00

Bowling $15 $10 $20 $15

Internet &

Gaming

Cafe

$12 $10 $15 $10

Laser

Arena( per

half an

hour )

$10 $8 $12 $10

Karaoke $30 $25 $35 $30

Magic

Show (per

two hours)

$50 - $50 -

Rock

Climbing $15 $10 $20 $15

Kid

Playland $15 $10 $15 $10

− Use appropriate view controls/objects to design the applications.

− Apply ‘delightful’ UI for the public to use.

Submission

1. Prepare a report that has a header

------------------------------------------------------

My name:

My student number:

My email address:

Assignment number:

-------------------------------------------------------

Any requirements, remark, comment or readme for your applications should be present

in the report. The report also should include test results with screen captures of (virtual)

devices of the applications (during run-time). The source code (only Java or Swift)

should be included in the appendix.

2. Submit a ZIP file containing the project folder (Android or iOS) and your report (in

.pdf) over Moodle submission link.

3. You are not required to submit a hardcopy of the report. Ensure your project folders are

complete and ready to be open by any other Android Studio IDE or Xcode for code

assessment.

NOTES:

1. 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 five days late will be awarded a mark of zero.

2. Submission via email is not acceptable.

3. Assignments without reports will not be marked.

4. Enquiries about the marks can only be made within a maximum of 1 week after the

assignment results are published.

5. By submitting this assignment, you declare that this assignment is Your own work, and

you did not collaborate with or copy from others.

Assessment Criteria Total Marks Given Marks

1. Project structure (folders, layouts/scenes, class

files) 1

2. UI interface 7

3. Functionality 12

Total


版权所有:留学生编程辅导网 2020 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp