0% found this document useful (0 votes)
20 views3 pages

Cit 3350 Mobile Application Development

The document outlines the examination details for the course CIT 3350: Mobile Application Development at Meru University of Science and Technology for the academic year 2021/2022. It includes instructions for answering questions, a breakdown of topics covered such as Android application components, mobile device limitations, and the Android software architecture. The exam consists of five questions, each with multiple parts focusing on practical coding and theoretical concepts in mobile application development.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views3 pages

Cit 3350 Mobile Application Development

The document outlines the examination details for the course CIT 3350: Mobile Application Development at Meru University of Science and Technology for the academic year 2021/2022. It includes instructions for answering questions, a breakdown of topics covered such as Android application components, mobile device limitations, and the Android software architecture. The exam consists of five questions, each with multiple parts focusing on practical coding and theoretical concepts in mobile application development.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

MERU UNIVERSITY OF SCIENCE AND TECHNOLOGY

P.O. Box 972-60200 – Meru-Kenya.


Tel: +254 (0)799529958, +254 (0)799529959, +254 (0)712524293
Website: www.must.ac.ke Email: [email protected]

UNIVERSITY EXAMINATIONS 2021/2022

THIRD YEAR SECOND SEMESTER EXAMINATION FOR THE DEGREE OF BACHELOR


OF INFORMATION TECHNOLOGY, BACHELOR OF COMPUTER SCIENCE, BACHELOR
OF COMPUTER TECHNOLOGY, BACHELOR OF COMPUTER SECURITY AND
FORENSICS AND BACHELOR OF EDUCATION ARTS

CIT 3350: MOBILE APPLICATION DEVELOPMENT

DATE: MAY 2022 TIME: 2 HOURS

INSTRUCTIONS:
Answer question one and any other two questions

QUESTION ONE (30 MARKS)


a. Android applications include components that may be classified into four categories. Name
and briefly describe these categories. (4 marks)
b. Write the following files for a simple tax calculator given the income: -
i. MainActivity.java (3 Marks)
ii. Main_Activity.xml (3 Marks)
iii. Manifest.xml (3 Marks)
iv. Incometax.java (3 Marks)
c. Android operating systems for mobile devices has been increasing its market share
worldwide. Describe one reason that explains this trend. (4 Marks)
d. Define and explain the relationship between default parameters and overloading.
(4 marks)
e. State and briefly describe the four parts of a GSM network. (4 marks)

Meru University of Science & Technology is ISO 9001:2015 Certified


Foundation of Innovations Page 1
f. Discuss three limitations that are associated with mobile devices. (6 Marks)

QUESTION TWO (20 MARKS)

a. State and briefly describe FIVE methods used to describe the fragment life cycle in
android application development. (6 marks)

b. What is an exception handler? Use an example to explain your answer (4 Marks)


c. Briefly explain the purpose of '' Setcontentview(R.layout.main)''
lines of code
Public void oncreate (Bundle savedinstancesstate)
{ .....
Setcontentview(R.layout.main);
...}
in the following ( 4 Marks)
d. Explain five states that an activity goes through during a life cycle. Draw a well
labelled diagram that illustrates the lifecycle. (6 Marks)

QUESTION THREE (20 MARKS)

a. With the help of a diagram, describe the four layers of the android software architecture.
(6 marks)
b. What is information hiding and how is it implemented? (4 Marks)
c. Describe the following layouts in the context user interface of a mobile application.
draw a diagram for each case to demonstrate your understand. (4 Marks)
i) Relative Layout
ii) Frame layout
d. Briefly describe four functions of a manifest XML file in mobile programming.
(6 Marks)

Meru University of Science & Technology is ISO 9001:2015 Certified


Foundation of Innovations Page 2
QUESTION FOUR (20 MARKS)

a. State and explain any two selection controls that are used to implement user interface of a
mobile application. Write a sample code to demonstrate their implements. (5 Marks)
b. Using the SMS API write the code for MainActivity.java for composing a new SMS
(5 Marks)
c. Using an android code example, how to launch an activity in android (5 Marks)
d. Write android code to demonstrate how you pass the data to sub-activities (5 Marks)

QUESTION FIVE (20 MARKS)

a. Describe the six steps of the mobile application development process. (6 marks)
i. Explain the meaning of the following lines of code in the context of mobile
programming. (6 Marks)
public class Lab2 extends Activity
{
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
TextView view = new TextView(this);
view.setText(“Fresher’s Night is on Friday 11th March 2022 \n");
setContentView(view);
}
}
b. Write android Strings File (strings.xml) that would display your name on the screen
(4 Marks)
c. Write android Layout File (activity_main.xml) that would display your name on the
screen (4 Marks)

Meru University of Science & Technology is ISO 9001:2015 Certified


Foundation of Innovations Page 3

You might also like