BIT3209 BBIT311  MOBILE PROGRAMMING.

UNIVERSITY EXAMINATIONS: 2018/2019
EXAMINATION FOR THE DEGREE OF BACHELOR OF SCIENCE IN
INFORMATION TECHNOLOGY /BACHELOR OF BUSINESS IN
INFORMATION TECHNOLOGY / BACHELOR OF APPLIED COMPUTING
BIT 3209/ BBIT 311: MOBILE PROGRAMMING
FULL TIME/PART TIME/DISTANCE LEARNING
DATE: APRIL, 2019 TIME: 2 HOURS
INSTRUCTIONS: Answer Question One & ANY OTHER TWO questions.

QUESTION ONE
(a). Briefly explain the meaning of the term “ Mobile Service” (2 Marks)
(b) State and explain three examples of mobile services (3 Marks)
(c) Describe four factors that needs to be considered before developing a mobile application
(4 Marks)
(d) The following figure shows a mobile user interface with one text field for writing a message
and a button for sending a message.


i. Write an XML code that displays the user interface illustrated in the above figure (4 Marks)
ii. Write java code that defines an event handler that prints a Toast message “ Message sent”
when the user press send button (2 Marks)
(e) Describe the meaning of the term intent in the context of mobile programming (2 Marks)
(f) Write a sample java code for creating and sending intent object (2 Marks)
(g). Briefly explain two reasons why Android platform is preferred by developers when developing
mobile applications (2 Marks)
g). Describe three types of native mobile applications (3 Marks)
h) Describe the importance of integrated development Environment (IDEs) in mobile programming
(2 Marks)
(i) State and explain two categories of integrated development Environment (IDEs) as used in
mobile programming (4 Marks)

QUESTION TWO
(a) Briefly describe the term A Uniform Resource Identifier (URI) as used in mobile programming
(1 Mark)
(b) State and explain two methods for designing user interface of a mobile application (4 Marks)
(c)Briefly explain the meaning of the following terms in the context of mobile programming.
Write a sample code for each case (10 Marks)
i) XML Namespace
ii) XML tag
iii) XML element
iv) XML attributes
v) Attribute values
(d) Write an XML code that implements the user interface in the above figure (5 Marks)


QUESTION THREE
(a). Write an XML that displays the following output when executed in an emulator or real device
(5 Marks)


(b) Briefly explain the purpose of the following lines of code in the context of developing android
applications ( 7 Marks)


(c) Describe the meaning of the statement ‘ life cycle of an activity’ and explain five states that an
activity goes through during a life cycle. Draw a well labelled diagram that illustrates the lifecycle.
(8 Marks)
QUESTION FOUR
(a) Describe the meaning of the following terms as used in mobile programming. Give one example
for each case
(i) Data Adapter (3 Marks)
(ii) Adapter view (3 Marks)
(b) Briefly explain the following XML lines code (6 Marks)


(c) Briefly explain the following concepts as used in mobile programming. Give one example for
each case (4 Marks)
(i)View Groups
(iii) Views
(d) Describe any three characteristics of mobile web applications (3 Marks)
(e) Describe the meaning of the term “Content Provider” as used in Android Application
Development. (1 Mark)
QUESTION FIVE
(a) Briefly explain the meaning of the following terms as used in mobile programming. Write a
sample XML code that demonstrates implementation each term
i) Text View (4 Marks)
ii) Relative layout (4 Marks)
(b) Describe the functions linear layout in the context user interface of a mobile application.
(2 Marks)
(c) Write XML code that demonstrates the implementation of the following hierarchical structure
of mobile user interface (6 Marks)


(d) Briefly describe four functions of a manifest XML file in mobile programming (4 Marks)

(Visited 172 times, 1 visits today)
Share this:

Written by