CMT 314 SPECIAL Past Paper 4
CMT 314 SPECIAL Past Paper 4
Fax: 254-20-891084
MAY – JULY 2019 TRIMESTER
FACULTY OF SCIENCE
setContentView(R.layout.activity_main);
h) Discuss any FIVE different storages in android giving role of each(10 marks)
QUESTION TWO
<TextView
android:id="@+id/texto"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/listaVista"
android:layout_alignParentBottom="true"
android:layout_alignRight="@+id/listaVista"
android:text="firstname"/>
android:text="lastname"/>
<ListView
<ListView
android:id="@+id/listaVista"
i) Explain the role of the elements used from above. (4 marks)
ii) An IT class was evaluating the history of android software development. Discuss a
brief history of android software development. (4 marks)
i) DVM(2 marks)
QUESTION FOUR
a) Explain the scope of intent filter of the coding used below. (4 marks)
<intent-filter>
<actionandroid:name="android.intent.action.MAIN"/>
<categoryandroid:name="android.intent.category.LAUNCHER"/>
</intent-filter>
ii) State and explain SIX folders are impotent in android project. (6 marks)
iii) The android students was evaluating container .Briefly state any FOUR
components available in android container. (4 marks)
iv) Discuss major security issues facing mobile technology today (6 marks)
QUESTION FIVE
a) Use the android coding below;
Intentintent=newIntent(this,MyTestActivity.class);
startActivity(intent);
*END*