Sample assessment pack — mirrors what the AI + DOCX renderer produce
Candidate Name___________________________________________
Registration No.___________________________________________
Assessment Date___________________________________________
Duration3 hours
Total Marks100
Location of AssessmentICT Lab, Block C
Examination OfficerMs. A. Mwangi
Assessor / TrainerJane Kamau
Reasonable adjustments: Candidates with special needs may request reasonable adjustments by notifying the Examination Officer at least 24 hours before the assessment.
Feedback: Written feedback (Competent / Not Yet Competent) will be issued to every candidate within seven (7) working days.
INSTRUCTIONS TO CANDIDATES
  1. This paper has TWO sections A and B. Attempt questions in each section as per the instructions given.
  2. You are provided with a separate answer booklet.
  3. Marks for each question are indicated in the brackets.
  4. Do not write on the question paper.
SECTION A: 40 MARKS
Attempt ALL questions in this section.
1.Define each of the following mobile development approaches as used in Mobile programming.
i.Native;(2 Marks)
ii.Hybrid;(2 Marks)
iii.Progressive web.(2 Marks)
2.Briefly describe THREE categories of mobile applications.(3 Marks)
3.State TWO limitations associated with mobile devices.(2 Marks)
4.Describe each of the following resource types used in Android development.
i.anim/(2 Marks)
ii.drawable/(2 Marks)
iii.values/(2 Marks)
5.Give TWO reasons why mobile application programmers are encouraged to use mobile development frameworks.(2 Marks)
6.State THREE interface styles applicable to mobile app development.(3 Marks)
7.Discuss THREE ways that the user experience can be enhanced in a mobile application.(3 Marks)
8.Distinguish between data replication and data synchronization.(4 Marks)
9.Giving examples, differentiate between views and view groups in mobile programming.(4 Marks)
10.Write an XML snippet to create a login page with the following elements: username field, password field, submit button, cancel button.(4 Marks)
11.Explain THREE functions of the AndroidManifest.xml file.(3 Marks)
SECTION B: 60 MARKS
Attempt any THREE questions in this section.
12.a) With the help of a well-labelled diagram, describe the life cycle of an activity in Android programming.(6 Marks)
b) Describe the procedure used to install an Android application on a physical mobile device.(4 Marks)
c) Describe TWO key components of the Android operating system.(4 Marks)
d) Describe the function of: (i) R.layout.activity_main, (ii) onCreate() method.(4 Marks)
e) State TWO advantages of Android applications.(2 Marks)
13.a) (i) Briefly describe the role of TWO selection controls a programmer may use to implement the UI of a mobile e-learning application.(4 Marks)
   (ii) Write a sample code to implement the two selection controls named above.(4 Marks)
b) Describe THREE layout class interface controls programmers can use.(6 Marks)
c) Write an XML code (relative layout) to implement an interface that adds two numbers — must include at least two TextFields with input_type attribute and a SUM button.(6 Marks)
14.a) Re-write the following XML code eliminating the errors:(3 Marks)
<?xml version="1.0" encoding="utf-8"?> <resources < name="opaque_red">#f00 <string name="greetings">Hi There!</string> </ >
b) Write code extracts showing how (i) Services, (ii) Content Providers, (iii) Broadcast Receivers are inherited from their main classes.(6 Marks)
c) Explain the difference between procedural and object-oriented programming design methods.(4 Marks)
d) Giving an example, briefly describe the strings.xml file.(3 Marks)
e) Describe TWO applications of Intent in mobile programming.(4 Marks)
15.a) Describe the function of each of the following XML lines:(6 Marks)
android:layout_width="match_parent" android:layout_height="match_parent" android:fitsSystemWindows="true"
b) Describe TWO characteristics of a Fragment in Android.(4 Marks)
c) Using the grading table below (A: above 80, B: 60–80, C: 50–60, D: 45–50, E: 25–45, F: below 25):
   (i) Design a simple interface allowing a student to enter marks and receive a corresponding grade (use LinearLayout).(5 Marks)
   (ii) Write a method that determines the grade based on the score (use if selection).(5 Marks)
Click a tab above to switch between the four document types in a paid pack — College-branded, moderation-ready.