JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD MCA V MOBILE APPLICATION DEVELOPMENT Previous Question Paper (February - 2022 - R17)

MCA | V | V | R17 | February - 2022

Answer PaperPaper Code: 845AAMaximum Marks: 75Time: 3 Hours

Answer any Five Questions

All Questions Carry Equal Marks

Main

115 marks
a

What is activity? Explain the life cycle of activity.

7 marks

Answer

An Activity is a fundamental component in Android that provides a screen with which users can interact to perform tasks, such as dialing a number, taking a photo, or sending an email. Each activity is implemented as a subclass of the Activity class.

The Activity Lifecycle consists of several callback methods that the system calls as the activity transitions between states:

  • onCreate(): Called when the activity is first created. This is where you perform static setup such as creating views and binding data to lists.
  • onStart(): Called when the activity becomes visible to the user.
  • onResume(): Called when the activity starts interacting with the user. The activity is now at the top of the activity stack.
  • onPause(): Called when the system is about to start resuming a different activity. Used to commit unsaved changes or stop animations.
  • onStop(): Called when the activity is no longer visible to the user.
  • onRestart(): Called after the activity has been stopped, prior to it being started again.
  • onDestroy(): The final call received before the activity is destroyed, either because the activity is finishing or the system is reclaiming resources.
b

Explain the creation of Android Virtual device to run program on emulator.

8 marks

Answer

An Android Virtual Device (AVD) is an emulator configuration that lets you model an actual device by defining its hardware profile, system image, and storage properties. To create an AVD in Android Studio, follow these steps:

  1. Open the AVD Manager by clicking the device icon in the toolbar or navigating to Tools > AVD Manager.
  2. Click the Create Virtual Device button.
  3. Select a hardware profile (e.g., Pixel 4) from the list and click Next.
  4. Select a system image (API level) that matches your project's target SDK. If not downloaded, click the download icon next to the version.
  5. Verify the configuration settings, such as AVD Name, orientation, and camera settings.
  6. Click Finish to create the device.
  7. To run your program, select the created AVD from the device dropdown menu in the toolbar and click the Run button. The emulator will launch the virtual device and install your application package.
2

Write short notes on:

15 marks
a

Android SDK manager

8 marks

Answer

Sign in to view the complete answer paper.

b

Types of android applications.

7 marks

Answer

Sign in to view the complete answer paper.

315 marks
a

What is fragment? Explain states and life cycle of fragment.

8 marks

Answer

Sign in to view the complete answer paper.

b

Write about Spinner in UI and its adapter.

7 marks

Answer

Sign in to view the complete answer paper.

4

Write about Picker component in Android and handle event generated by it with example code.

15 marks

Answer

Sign in to view the complete answer paper.

5

Explain and illustrate with example passing data between activities using intent.

15 marks

Answer

Sign in to view the complete answer paper.

615 marks
a

Explain the procedure to design notification in Android.

7 marks

Answer

Sign in to view the complete answer paper.

b

Write the code to send the data to intent in Android.

8 marks

Answer

Sign in to view the complete answer paper.

7

Explain how to insert and delete data using Content provider.

15 marks

Answer

Sign in to view the complete answer paper.

815 marks
a

What is the role of GPS in android? Write its features.

7 marks

Answer

Sign in to view the complete answer paper.

b

Explain the steps to connect internet resource using download manger.

8 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the solved question paper with answers of MOBILE APPLICATION DEVELOPMENT from JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD for MCA V V, February - 2022, R17.

For the question paper without answers, switch to the Question Paper tab.

Other papers in MOBILE APPLICATION DEVELOPMENT

Loading Question Papers

Fetching data from database...