[This question paper contains 7 printed pages]
Your Roll No. : ........................
Sl. No. of Q. Paper : 1740A F-8
--- Content provided by FirstRanker.com ---
Unique Paper Code : 2341802
Name of the Course : B.Tech. Computer Science
Name of the Paper : Mobile Applications on Android Platform
Semester : VIII
Time: 3 Hours Maximum Marks : 75
--- Content provided by FirstRanker.com ---
Instructions for Candidates:
- Write your Roll No. on the top immediately on receipt of this question paper.
- Section - A is Compulsory.
- Attempt any four questions from Section - B.
- Parts of a question must be answered together.
--- Content provided by FirstRanker.com ---
SECTION - A
- (a) Describe the requirement of Kernel layer in Android architecture. 2
P.T.O.
- (b) Define the purpose of start Activity For Result () method in Android application. 2
- (c) Briefly explain virtual device and SDK manager. 2
- (d) How is the menu resource (defined in XML file, say "my_menu") inflated in the function on Create Options Menu () ? 3
- (e) Explain Delegation Event Model in JAVA. 3
- (f) How is the data fetched from SQLite database using Cursor? 3
- (g) Describe the use of intent in Android ? Write a code to view the webpage. 4
- (h) Briefly explain the following classes : 4
- Check Box
- Image View
--- Content provided by FirstRanker.com ---
- (i) Explain the following layouts : 4
- Relative Layout
- Frame Layout
- (j) Differentiate between 'Inner Class' and 'Anonymous Class' with suitable examples. 4
- (k) Differentiate between 'throw' and Throws in JAVA with a suitable example (s). 4
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
SECTION - B
- (a) Briefly describe On Item Selected Listener () used by the Spinner class. 4
- (b) Consider the following intent present in : 6
--- Content provided by FirstRanker.com ---
Activity Q:
Intent intent = new Intent (Intent. ACTION_VIEW);
Intent. set Data (Uri. parse ("http://du.ac.in"));
Check the compatibility of the following activities (Activity A, Activity B and Activity C with action and data of Activity Q, given above ? Justify your answer.
P.T.O.
--- Content provided by FirstRanker.com ---
- Activity A:
<activity android:name=".Activity A">
<intent-filter>
<action android: name="android.intent.action. WEB_SEARCH"/>
<action android: name="android.intent.action. MAIN" />--- Content provided by FirstRanker.com ---
< category android:name="android.intent. category. LAUNCHER"/>
<data android:scheme="http"/>
</intent-filter>
</activity> - Activity B:
--- Content provided by FirstRanker.com ---
<activity android:name=".ActivityB">
<intent-filter>
<action android:name="android.intent.action. WEB_SEARCH" />
<action android:name="android.intent.action. MAIN" />
- <category android:name="android.intent. category. DEFAULT"/>
--- Content provided by FirstRanker.com ---
<data android:mime Type="text/plain"/>
</intent-filter>
</activity> - Activity C:
<activity android:name=".Activity C">--- Content provided by FirstRanker.com ---
<intent-filter>
<action android:name="android.intent.action. VIEW"/>
<action android:name="android. intent.action. MAIN" />
< category android:name="android. intent. category.DEFAULT"/>
<category android:name="android. intent.category.LAUNCHER"/>--- Content provided by FirstRanker.com ---
<data android:scheme="http"/>
<intent-filter>
</activity>
P.T.O.
- (a) Explain grid view with the examples. 4
- (b) Briefly explain runtime polymorphism and dynamic binding with appropriate examples. 6
--- Content provided by FirstRanker.com ---
- (b) Describe SQ Lite database. Write code for adding and removing data from SQ Lite database. 6
- (a) Differentiate between Abstract class and Interfaces in JAVA. 4
- (b) Create a simple registration form (including e-mail id, password with appropriate input type and a button). On clicking the button, pass the details to another activity and display the data. 6
- (a) Explain activity lifecycle of Android application. 6
- (b) Write a code snippet to create a dialog box. 6
- (a) Briefly describe the features (any four) of Android Application. 4
--- Content provided by FirstRanker.com ---
- Write short note on any five of the following: 10
- ART
- Density independent pixel
- R.java file
- Ninepatch bitmaps
- Array adapter
- Finally Block (JAVA)
- Static Class in JAVA
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
Visit FirstRanker.com for more question papers.
This download link is referred from the post: CBSC NCERT Class 1 Important Worksheets Chapter Wise || Central Board of Secondary Education
--- Content provided by FirstRanker.com ---