New! Hire Essay Assignment Writer Online and Get Flat 20% Discount!!Order Now
ITECH2000
AU
Federation University
Learning Outcomes Assessed:
The following course learning outcomes are assessed to some degree by completing this assessment:
K1. Understand constructs typical of many programming languages such as: variables, expressions, assignment, sequence, selection, iteration, procedures, parameters, return values.
A1. Design, develop, test and debug mobile apps from a given textual program specification.
S1. Analyse the input, processing and output needs of small programming problems.
Required Behaviour of the App
The app you design needs to address all of the following:
1. The user must be able to enter the total cost of the groceries, and the number of months they have been a loyalty member.
2. The user must be able to indicate whether they are a staff member (and thus receive the reduced number of points).
3. The user must be able to request a forecast of what the points awarded will be, but without actually going ahead with submitting the points. The rules given above must be followed to calculate the points. The user is not obliged to go-ahead with submitting the number of points.
4. After seeing the proposed points to be awarded, it must be possible for the user to actually go ahead with submitting the points. When this occurs, the app needs to:
a. increase a variable noting the total points of all shops that have been submitted, since the app started running.
b. increase a counter noting how many shops have been actually submitted since the app started running.
c. display a message saying how many shops have been submitted and what the total number of points calculated has been, since the app started running.
d. Clear/Reset the input components so that they are ready for the next shop’s details to be entered.
Tasks
Based on the provided scenario and required app behaviour, the following tasks must be completed for submission:
1. Write an algorithm for the behaviour of each event that your app will respond to. Put this work into a Microsoft Word document.
2. Create an app in AppInventor, named “Week3_YourName”, which implements in code the algorithms that you wrote for each event. Ensure you choose appropriate user interface components, component names, and variable names. Make sure that you test your app thoroughly using the emulator or MIT companion app.
15,000+ happy customers and counting!