Semester : SEMESTER 6
Subject : Operating Systems
Year : 2019
Term : March
Branch : COMPUTER SCIENCE
Scheme : 2020 Full Time
Course Code : BCS 6B 12
Page:2
16.
17.
18.
19.
20.
21.
22.
23.
24,
25.
26.
28.
29.
30.
31.
2 C 60092
Part C
Answer any five questions.
Each question carries 4 marks.
Differentiate fragment and an activity in Android.
Explain the architecture of content providers.
What is the role of the ContentValues class and ContentResolver class ?
Explain Android Software Stack.
Illustrate the linking of activities using intent with an example.
What is the difference between action_pick and action_get_content ?
How to create a linear layout with view components ?
Explain Spinner. How is a Spinner different from the other list controls ?
(5 x 4 = 20 marks)
Part D
Answer any five questions.
Each question carries 8 marks.
Explain various Android Packages.
Explain the Layout Managers in Android UI development with code snippet.
Create an android application with a user interface containing a list view. On clicking an item in
the list view, it should display that item name in the next screen.
Explain :
1) How to create menu and menu groups ?
2) How to respond to menu items ?
3) How to load menu through xml ?
Illustrate how to establish database connectivity to an android application.
What are content providers ? Explain how to query, read, update and delete data in content
providers.
How to save and load shared preferences ? Explain :
(a) List Preference.
(b) Check box Preference.
(c) Edit Text Preference.
Draw and explain the application life cycle. 1
(5 x 8 = 40 marks)