UNIVERSITY EXAMINATIONS: 2014/2015
ORDINARY EXAMINATION FOR THE BACHELOR OF SCIENCE
IN INFORMATION TECHNOLOGY
BIT 3209 MOBILE PROGRAMMING
DATE: APRIL, 2015 TIME: 2 HOURS
INSTRUCTIONS: Answer Question ONE and any other TWO
QUESTION ONE
a) Describe THREE Java Technologies clearly specifying the kind of applications
developed by each. [4 marks]
b) How is Mobile Java API different from Desktop APIs? [4 marks]
c) Describe briefly how J2ME is modular. [4 marks]
d) Why are android phones most favored to windows or apple phones with regard to
applications? [4 marks]
e) Compare and contrast web-application and mobile-application (give three examples
in each case). [6 marks]
f) What is J2ME good for other than downloading games to the phone? Enlist 4 areas
[4 marks]
g) What is the difference between CLDC and CDC based configurations? [4 marks]
QUESTION TWO
a) List THE seven steps for Mobile application Development. [7 marks]
b) Juma is new in Mobile Application Development. As an expert in the same, advice
Juma how to set the environment for mobile application development (assume
android developments) [5 marks]
c) Write short notes on emulators based on the following topics
i) What are emulators? [2 marks]
ii) How are emulators different from the actual phones? [4 marks]
iii) Why are they necessary? [2 marks]
QUESTION THREE
a) Discuss the Life Cycle of an activity. [6 marks]
b) Develop an and android application that can be used by a mobile device owner to
compute the amount of money that accrue on depositing a principle amount to a bank
that charges an interest rate of 16 p.a. over a duration of time. The amount is
displayed on one activity and the interest on another (Interest=principle * time * rate)
[10 marks]
c) How would you load the above application on a mobile device, be it an android phone
or a Nokia Phone? [4 marks]
QUESTION FOUR
a) Discuss the following under the topics: portability, specificity, games development.
You may consider tabulating your discussion headed by the specified titles
i) Low-Level API
ii) High Level API
[6 marks]
b) When doing Mobile App Development, what are the presumed activities during
program execution? [4 marks]
c) Draw a diagram showing a hierarchical of liquid crystal display UI(lcdui).
[10 marks]
QUESTION FIVE
a) Describe the following methods of the RMS
i. getSize()
ii. getSizeAvailable()
[4 marks]
b) Write an application to compute the factorial of a number. Assume the factorial is
computed via a function. The function is called through a controller.
[8 marks]
c) Discuss FOUR types of screens
[8 marks]