SIT 302_Mobile Application Development
SIT 302_Mobile Application Development
DURATION: 2 HOURS
Instructions to Candidates:
Page 1 of 3
SECTION ONE - COMPULSORY
QUESTION ONE
QUESTION THREE
(a) Draw an illustration of the Android architecture. Explain the main parts of the architecture (10
Marks)
(b) Name the method that is used to stop the services in an Android application (2 Marks)
(c) Assume you have an application that is already running an activity called Activity 1. Activity 1
starts another activity called Activity 2. Name one activity lifecycle method that will be called on
Activity 1 after this point, but before Activity 2 starts (4 Marks)
(d) Suppose you have an application that is running on Activity called Activity 1. Suppose that
Activity 1 executes and starts other activities, but that the user never quits or backs out of the
activity. How many times can Activity 1’s onCreate ( ) methods get called? Explain your answer
(2 Marks)
Page 2 of 3
(e) You have been doing your mobile application performance testing on a simulator. Why would
you need to do some testing on real device (2 Marks)
QUESTION FOUR
(a) List the FOUR features of an AlertDialog (4 Marks)
(b) An application resides on mobile devices and was written specifically for that device. What type
of application is it, select one from the options: web based, hybrid or native. Explain your answer.
(2 Marks)
(c) Write an android application program that inputs integer number, then it generates and computes
the sum of 1 (one) to that number. The computed number is displayed. (14 Marks)
Page 3 of 3