We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 4
DAR ES SALAAM INSTITUTE OF TECHNOLOGY
T
COMPUTER STUDIES DEPARTM
End Semester Examination
SEMESTER II - 2020/2021
BEng 19 COE
COU 07602 Mobile Application Development
TIME: 3:00 HRS _ DATE: June 2022
Instructions
1. This paper consists of TWO sections, A and B.
Answer ALL questions, in Section A and ANY FOUR
questions from Section B.
3. Cellular phones are not allowed in the examination room.
4. Write your examination number on every page of your
answer booklet (s) provided.
5. You are not allowed to write anything in the question paper.
6. The use of computers is STRICTLY NOT ALLOWED.Qni.
()
Gi)
ii)
Gv)
\)
(vi)
SECTION
Answer ALL Questions (10 MARKS)
Describe Google Android SDK.
(1 mark)
List down four key components of Android Architecture. (1 mark)
Define Spinner as applied to Android App Development. (1 mark)
Differentiate between padding and margin as XML-widget property
Peerreen (1 mark)
Enumerate the three key loops when monitoring an activity.
.-(1-5 marks)
Explain the terms below and support your answer with java
programming codes.
a) Toast
..(2 marks)
b) Intent
(2.5 marks)SECTION B:
Answer ANY FOUR Questions (30 MARKS)
Qn2.
(i) Contrast and compare Spinner from Listview? (2 marks)
(ii) Develop a step-by-step procedure using line of codes in java
language to implement Spinner. (5.5 marks)
Qn3.
(i) Write web-programming codes for two items, ‘help’ and ‘logout’ on
the standard menu as applied in Android. (2.5 marks)
(ii) Implement java codes in order for the items mentioned above to
function in Android devic (5 marks)
Qn4.
Norisa (developer) managed to secure the contract between her and Visual
Impaired Organization. They agreed on developing a Smart Vision android
App which will track the real-time location of a visually impaired person’s
smart stick and send the location coordinated to the career,
(i) Develop an intent for detecting a visual impaired person’s location
on a map.
(4 marks)
(ii) Develop an intent for sending an SMS to the career of the visually
impaired person (3.5 marks)
Qns(i) Define SQLite Database (1.8 marks}
(ii) Hlustrate SQLite level 2 cesign (3 marks)
(iii) Complete the code below by filling the missing items (3 marks)
public class MainActivi extends
@Override
protected VOId .....0000-1 (Bundle savedInstanceState) {
super.onCreate(savedin. stanceState),
(R.layout.activity_main),
Qn6.
Juana is a young developer. She managed to develop a login page (GUI) w ith
a ‘username’, ‘password’ and ‘submit’ button. However, she faces
challenges on connecting this activity to SQLite DB for credential
submission. Write the java codes for the SQLite database handling process
(7.5 marks)