Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: THEend8_
MODEL EXAMINATION
Semester 2 - Main, 2022
COMP5216 Mobile Computing
EXAM WRITING TIME: 3 hours
EXAM CONDITIONS:
This is a short release take-home exam.
INSTRUCTIONS TO STUDENTS:
Please answer ALL questions in the provided spaces on this exam paper answer
booklet.
You can insert hand drawn diagrams as images into the relevant space of the word
document or use drawing tools of MS Word for diagrams.
After answering ALL questions, convert this word document to a PDF and upload it
to “Final Exam – Main” assignment at Canvas site “Final Exam for: COMP5216”.
Please tick the box to confirm that your examination paper is complete.
Room Number ________
Student Number |__|__|__|__|__|__|__|__|__|
ANONYMOUSLY MARKED
(Please do not write your name on this exam paper)
For Examiner Use Only
Q Mark
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Total ________
Page 2 of 4
NOTE: In this model exam paper, we have included only 4 questions, just to
provide you some preparation. But in your exam, you will have to answer 5
questions. Also, these model exam questions will not appear in your final
exam.
Question 1
1.1 List an advantage of using Network Location instead of GPS location and
provide an example use case for the given advantage. [4 marks]
1.2 Many users have regular device charging patterns that can be easily captured
with modern machine learning capabilities. If your app is able to predict the
next charging time, explain two strategies that use this knowledge to reduce
the energy consumption of your app. [4 marks]
1.3 Explain a technique that can be used to implement the following functionalities
in an Android app. If the proposed technique involves collecting data from a
sensor or leveraging an API, those should be explicitly specified.
1.3.1 Dim the screen when a user put the phone inside a pocket or a handbag.
[2 marks]
1.3.2 Count the number steps a person has climbed during the day. [2 marks]
Question 2
You have been asked to design an app that collects Motion Sensor and Body
Sensor data from a smartphone and upload to a cloud service for fitness
analytics. The app should start automatically across reboots or any user actions.
Data is collected in a sample rate of few seconds. Note: This is a design question
only. You don’t have to write code for this.
2.1 Describe technical approach that you plan to follow including the basic
components of Android you need to develop this app (You may use a block
diagram to explain your design). [6 marks]
2.2 If the data upload process is not real time, describe two methods you can use
to reduce resource usage (e.g. bandwidth and energy). [4 marks]
2.3 If the data upload requirement is real time describe, describe two methods you
can use to reduce resource usage (e.g. bandwidth and energy) ? [4 marks]
Page 3 of 4
Question 3
Design an Android mobile app that records the distance travelled by the user
throughout the day and display it to the user whenever the user invokes the app
with historical statistics. Note: This is a design question only. You don’t have to
write code for this.
3.1 Describe two methods of obtaining the distance travelled by the user and
explain why one method will not be sufficient to record distance throughout the
day. [6 marks]
3.2 Propose an energy efficient algorithm to collaboratively utilize the above two
methods of distance calculation. (Note: Specify if you have made any
assumptions on the default settings of the smartphone). [6 marks]
3.3 Name the android permissions required for the functionality of the app. [2
marks]
Question 4
You started a new company to sell small electronic items online. Smartphones
can be used in numerous ways to enhance the efficiency of every business.
Design an innovative mobile app to improve your productivity of your new
business. Note: Innovation, feasibility, and usability will be taken into account for
marking.
4.1 Briefly explain the primary goal of your app. [2 marks]
4.2 Justify the innovation of your solution (competitive advantage) [6 marks]
4.3 Explain the functionality of your app (how your mobile app works) with
storyboards or a block diagram. [8 marks]
4.4 Explain your technical approach in developing the above proposed app as an
Android mobile app. [8 marks]
END OF EXAMINATION
Page 4 of 4
Additional questions you can try.
Due to recent COVID-19 pandemic, many industries moved to working from
home arrangements. This has introduced challenges in terms of providing secure
remote access and also monitoring remote workers. Many companies have opted
using VPN (virtual private network) solutions to let employees access company
resources remotely. However, verifying the person behind the remote computer
connected to the VPN is still a challenge. In fact, the company information is more
vulnerable when remote computers are connected via VPNs. For example, family
members of the employee may accidently access company information as many
households share computers. In some cases, work can be outsourced without the
knowledge of the company.
You have been asked to develop a mobile app that can monitor remote workers.
In particular, making sure that the person behind the computer is really the
employee of the company.
4.1 Describe a strategy that you plan to develop to continuously monitor
(authenticate) the employee during the work hours. The answer should contain
steps that the employee should follow (e.g. workflow of the app). Note: The
proposed strategy should be non-invasive or should be minimally interfere with
the work. [8 marks]
4.2 Explain two strategies or mechanisms that you can develop to ensure
user/employee privacy in developing this particular app? [4 marks]
4.3 Explain a strategy that you can develop to minimise energy consumption of
the proposed app. Note: The strategy should address one of the most power
consuming actions of the proposed app and the answer should be clearly liked to
the proposed app. [4 marks]
4.4 Explain an application specific risks or threats for the success of your solution.
Provide a mitigation strategy for the identified risk or threat. [4 marks]