061006T4ICT ICT Technician Level 6 IT/OS/ICT/CR/11/6 Develop Mobile Application Nov. /dec. 2022
061006T4ICT ICT Technician Level 6 IT/OS/ICT/CR/11/6 Develop Mobile Application Nov. /dec. 2022
061006T4ICT
ICT Technician Level 6
IT/OS/ICT/CR/11/6
Develop Mobile Application
Nov. /Dec. 2022
WRITTEN ASSESSMENT
Time: 3 hours
om
t.c
INSTRUCTIONS TO CANDIDATES
e
tv
sy
Page 1 of 6
©2022 The Kenya National Examination Council
2. State TWO popular operating systems that a developer can create a mobile application to run
on. (2 marks)
3. Explain TWO reasons how a mobile application is different from desktop applications.
(4 marks)
4. Describe TWO mobile development approaches a developer might consider while planning
to develop a mobile application. (4 marks)
om
5. Below are statements from AndroidManifest.xml file of a mobile application. Use it to
et.c
<application
ea
android:allowBackup="true"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:theme="@style/Theme.AppCompat.Light.NoActionBar">
<activity
android:name=".AboutActivity"
android:exported="false" />
<activity
android:name=".SettingsActivity"
android:exported="false"
android:label="@string/title_activity_settings"
android:parentActivityName=".MainActivity" />
Page 2 of 6
©2022 The Kenya National Examination Council
</Application>
8. Define TWO radio buttons in activity_main.xml file given that the feature loads by default
with one option already selected as shown in Figure 1. (3 marks)
Figure 1
om
t.c
development. (4 marks)
sy
ea
10. Describe TWO important procedures done after finishing developing a mobile application.
(4 marks)
11. The following code runs when the user clicks on the button (id=button). This code in a
mobile application includes three checkboxes for the question: “Which countries are in East
Africa?”
button.setOnClickListener{
i) In which file is the method most likely to exist in the development environment.
(1 mark)
ii) Where will the result appear when the user clicks the button? (2 marks)
Page 3 of 6
©2022 The Kenya National Examination Council
12. John was developing a mobile application for a client; the requirement was that he needed to
incorporate a database for the application. State TWO types of databases that he could use
for the application. (2 marks)
om
et.c
tv
sy
ea
Page 4 of 6
©2022 The Kenya National Examination Council
b) Describe FOUR main framework components that can be used within a mobile
ea
textClock
Figure 2
button1
button2
a) Edit the file activity_main.xml to produce the user interface appearing as in Figure 2.
Page 5 of 6
©2022 The Kenya National Examination Council
i) button1 (3 marks)
ii) button2 (3 marks)
iii) textClock (4 marks)
b) Implement event handlers for the two buttons containing text, to switch the time displayed;
when button1 is clicked it displays Kenyan time and button2 displays Germany time.
(i). button1. (5 marks)
(ii). button2. (5 marks)
16. You have been hired by Bidii Quality Foods, who wants to expand their restaurant business.
Currently, outside customers make telephone calls to order their food to be delivered. They
would want you as a mobile application developer to come up with a simple prototype for
ordering.
a) Using the FOUR main stages of developing a mobile application, describe how you will go
about it, mentioning the tools and software involved.
om
t.c
i) Setup (3 marks)
e
tv
(3 marks)
iv) Publish (3 marks)
b) Design TWO activities as they would appear on the screen or emulator i.e. draw smartphone
screen snapshots, for;
(i) The main activity to welcome users, a list of today’s menu and directions to
order. (4 marks)
(ii) The next activity after the user has selected one option from the main activity;
show user selection, the price and delivery modalities. (4 marks)
Page 6 of 6