0% found this document useful (0 votes)
46 views6 pages

Mobile App Development Exam Questions

This document contains a past exam paper for the subject Mobile Application Development from Gujarat Technological University. The paper consists of 5 sections with 3-4 questions in each section. The questions test knowledge of key Android concepts like activities, fragments, intents, permissions, UI components, databases, services, notifications and more. Code snippets and diagrams are required in some answers. Marks are allocated for each question part and range from 3-7 marks per part. Instructions specify the exam duration as 2.5 hours and allow calculators. In total there are 70 marks for the paper.

Uploaded by

Savaliya Vaidik
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views6 pages

Mobile App Development Exam Questions

This document contains a past exam paper for the subject Mobile Application Development from Gujarat Technological University. The paper consists of 5 sections with 3-4 questions in each section. The questions test knowledge of key Android concepts like activities, fragments, intents, permissions, UI components, databases, services, notifications and more. Code snippets and diagrams are required in some answers. Marks are allocated for each question part and range from 3-7 marks per part. Instructions specify the exam duration as 2.5 hours and allow calculators. In total there are 70 marks for the paper.

Uploaded by

Savaliya Vaidik
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Seat No.: ________ Enrolment No.

___________

GUJARAT TECHNOLOGICAL UNIVERSITY


BE - SEMESTER–VII (NEW) EXAMINATION – WINTER 2021
Subject Code:3170726 Date:27/12/2021
Subject Name:Mobile Application Development
Time:10:30 AM TO 01:00 PM Total Marks: 70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
4. Simple and non-programmable scientific calculators are allowed.

Q.1 (a) What is the use of Android Manifest file? 03


(b) Define: Class, Object, Encapsulation, Inheritance 04
(c) Explain Android architecture with proper diagram. 07

Q.2 (a) What is AVD? Explain the process of creating AVD in Android 03
application development.
(b) Explain basic building blocks/components of Android Application. 04
(c) What is Activity? Draw and explain Activity lifecycle in detail. 07
OR
(c) What is Fragment? Draw and explain the lifecycle of a fragment. 07
Q.3 (a) What is Layout? What are the advantages of setting a Layout? 03
(b) List out various layouts available in Android. Explain any one in 04
detail.
(c) What is an Intent? Explain types of Intent in Android with example. 07
OR
Q.3 (a) Explain Checkbox in Android with example. 03
(b) Write code to display Toast Message on click of Button. 04
(c) Explain different types of menus in android with example. 07
Q.4 (a) Explain the use of Shared Preferences. 03
(b) Explain Internal vs. External storage. 04
(c) Write a Program for establishing connection with SQLite database. 07
OR
Q.4 (a) What is parsing? Discuss how can you perform parsing using JSON 03
in Android application.
(b) Discuss AsyncTask in detail. 04
(c) Write Code to insert Contact Details (cID, cName, cPhoneNumber) 07
in SQLite Database in Android.
Q.5 (a) How to add notification in Android App? Explain with an example. 03
(b) What is Geocoding and Reverse Geocoding? Explain it with 04
example.
(c) Which are the types of animations supported in Android? Explain 07
any one in detail.
OR
Q.5 (a) Explain the use of Broadcast Receiver in Android. 03
(b) What is Service? Discuss various Service life cycle methods in 04
detail.
(c) How can you publish your application in Google Play Store? Explain 07
the entire process.

*************

1
Seat No.: ________ Enrolment No.___________

GUJARAT TECHNOLOGICAL UNIVERSITY


BE - SEMESTER–VII (NEW) EXAMINATION – WINTER 2022
Subject Code:3170726 Date:07-01-2023
Subject Name:Mobile Application Development
Time:10:30 AM TO 01:00 PM Total Marks:70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
4. Simple and non-programmable scientific calculators are allowed.
Marks
Q.1 (a) Explain Versions in android. 03
(b) Differentiate between Flowchart and DFD. 04
(c) Draw and explain Activity lifecycle of android application in detail. 07

Q.2 (a) Explain about the Android [Link] file. 03


(b) Write difference between Table Layout and Frame Layout. 04
(c) Write a brief note on android Architecture with proper diagram. 07
OR
(c) Explain Intent and Fragment in details. 07
Q.3 (a) How to use Spinner in android application. 03
(b) Explain Content provider. 04
(c) List out UI components of android application. Explain any three in brief. 07
OR
Q.3 (a) What is BroadCast Receiver? How to add it in android app. 03
(b) Explain Material design. 04
(c) Write a note on different Permissions in android. 07

Q.4 (a) Discuss how you can perform parsing using JSON in android application. 03
(b) Write a code to insert Employee details (eid, ename, eaddress, 04
edesignation) in SQLite database.
(c) Write the steps for CRUD operation to use Firebase database in android 07
application.
OR
Q.4 (a) Briefly explain AsyncTask loader. 03
(b) Write a code to insert product information (pid, pname, pcategory, pprice) 04
in SQLite database.
(c) Explain Animation and its types in android. Explain any one in details. 07

Q.5 (a) Explain GeoCoding and ReverseGeoCoding. 03


(b) Discuss about [Link] tool and Web Server. 04
(c) Write a code to get current location & display it in text view. 07
OR
Q.5 (a) Explain Background Services. 03
(b) Explain about the entire process to publish any android application. 04
(c) Write a code to take picture with camera and display current date time 07
with it using android application.
*************

1
Seat No.: ________ Enrolment No.___________

GUJARAT TECHNOLOGICAL UNIVERSITY


BE - SEMESTER–VII (NEW) EXAMINATION – SUMMER 2022
Subject Code:3170726 Date:06/06/2022
Subject Name:Mobile Application Development
Time:02:30 PM TO 05:00 PM Total Marks: 70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
4. Simple and non-programmable scientific calculators are allowed.
MARKS

Q.1 (a) Differentiate between JVM and DVM. 03


(b) Enlist and define the components of android application. 04
(c) Describe the Android architecture with neat diagram in detail. 07

Q.2 (a) What is Toast? Explain How to customize it? 03


(b) What is [Link]? Write its usages with example. 04
(c) Explain any four UI Components of Android application. 07
OR
(c) Develop a Registration form using android UI components, which 07
take details from user like Name, Email ID, Password, Conform
Password, Mobile Number, gender etc... On click of register
button all details should show on another activity with a welcome
message.

Q.3 (a) What is Fragment? Differentiate between Activity and fragment. 03


(b) Discuss the need of permissions in Android. Write the permissions 04
required to set system functionalities like Bluetooth, camera,
internet.
(c) What is an Activity? Explain the activity life cycle with all events 07
in detail.
OR
Q.3 (a) Enlist and define types of Menus in android. 03
(b) Explain the concept of Recycler view. Write down the steps to 04
implement recycler view in android application.
(c) Define services in Android operating system. Explain service 07
Lifecycle with neat diagram.

Q.4 (a) What do you mean by NoSQL? How it is differ from relational 03
database?
(b) What do you mean by Async task? Explain with example. 04
(c) Develop an application to store student details like roll no, name, 07
branch, marks, percentage and retrieve student information using
roll no. in SQLite databases.
OR
Q.4 (a) Describe the task of Notification Manager in Android. 03

1
(b) Can we use the mobile screen as a Canvas to draw any shapes on 04
it? Write the steps for using Graphics objects in an android
application.
(c) List different types of data storage available in Android. Describe 07
the significance of SQLite database in Android.

Q.5 (a) Describe Tween Animation in android. 03


(b) Write a program to locate user’s current location. (Write ONLY 04
.java and manifest file)
(c) What is Media Player in android? Explain how to play audio using 07
Media Player
OR
Q.5 (a) List sensors in Android and explain any one in detail. 03
(b) Write steps to publishing android applications. 04
(c) Write the steps to use firebase database in an android application 07
for CRUID operation.

*************

2
Seat No.: ________ Enrolment No.___________

GUJARAT TECHNOLOGICAL UNIVERSITY


BE – SEMESTER- VII EXAMINATION-SUMMER 2023
Subject Code: 3170726 Date: 30/06/2023
Subject Name: Mobile Application Development
Time: 10:30 AM TO 01:00 PM Total Marks: 70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
4. Simple and non-programmable scientific calculators are allowed

MARKS

Q.1 (a) What are the JVM and DVM? Explain DVM in details. 03

(b) Describe how to publish Android Application on Google Play. 04

(c) List various layouts available in Android. Explain any two out of that. 07

Q.2 (a) What is ScrollView and ListView? Explain anyone with suitable 03
example.

(b) Explain Android architecture with proper diagram. 04

(c) Write a code to send data from one activity to another activity using 07
implicit intent

OR

(c) Write a code to send SMS from Android App using the concept of 07
explicit intent.

Q.3 (a) What you mean by fragment in Android? Explain fragment with an 03
example.

(b) What is the use of Content Provider? 04

(c) Write all necessary code to print all the files stored in Music folder of 07
SD card

OR

Q.3 (a) What is use of Manifest file? 03

(b) What is Shared Preference.? Explain with and example. 04

(c) Write all necessary code to take photo from Camera and store photo in 07
MYAPP folder of SD card

Page 1 of 2
Q.4 (a) Explain the concept of AsyncTask with an example. 03

(b) List and explain different types of menu in android. 04

(c) How to add notification in Android App? Explain with an example. 07

OR

Q.4 (a) What is the use of Broadcast Receiver? How to add it in Android App? 03

(b) Explain Recycler View with example. 04

(c) Write an android program with suitable for login page with database 07
connectivity.

Q.5 (a) What is parsing? Discuss how you can perform parsing using JSON in 03
Android application

(b) Write an android application that will display toast (Message) on 04


specific interval of time. (write java code)

(c) Write the significance and syntax of update() and delete() of 07


SQLiteDatabase class

OR

Q.5 (a) What is web services? How it integrates and implements in industrial 03
projects?

(b) Write a code to play music on click on button. 04

(c) Write a code to insert EventDetaiks (eID, eName, eDate,EVenue) in 07


SQLite database using Android App.

Page 2 of 2

Common questions

Powered by AI

The Android Manifest file is crucial in Android application development as it provides essential information about the application to the Android system. It declares the essential settings and configurations the Android system needs to know before any of the application's code can be executed. This includes the components of the application such as activities, services, broadcast receivers, and content providers. It also defines the permissions the application requires, the application's package name (which serves as a unique identifier), and other configurations such as the minimum Android API level the application supports. By configuring the manifest file appropriately, developers can ensure that the app interacts correctly with the system and adheres to user permissions, thus impacting its proper functioning and security.

Publishing an Android application on the Google Play Store involves several crucial steps, each contributing to the app's success. First, a developer must prepare the app by thoroughly testing it to ensure it meets functionality and performance standards. Next, creating a developer account on the Google Play Console is required. The developer then needs to configure settings such as pricing, distribution, and decide countries where the app will be available. Following this, the app must comply with Play Store policies, including content and metadata guidelines, to avoid rejection. Next, the app’s APK or AAB must be uploaded alongside promotional graphics, mandatory in-app screenshots, and promotional videos. Each component of this step is strategic for capturing user interest and convincing potential users to download the app. Finally, app submission involves selecting the target audience, age restrictions, and other classifications. Regular updates and user feedback handling post-launch are also critical to maintain and improve the app's ratings and reviews on the Play Store, contributing to its long-term success.

The Android activity lifecycle includes the following primary states: onCreate, onStart, onResume, onPause, onStop, onDestroy, and onRestart. When an activity is first launched, it moves through onCreate, onStart, and onResume sequentially. During onResume, the activity is in the foreground and is interactive. If another activity becomes active, the current activity moves to onPause and then to onStop if it’s completely obscured. onStop indicates that the activity is no longer visible. If the activity is closed, onDestroy is called. The understanding of this lifecycle is crucial for enhancing app performance and user experience as it allows developers to manage transitions effectively. By accurately implementing state transitions, resources can be released or retained appropriately, ensuring that the user experience is smooth and responsive. Activities can regain user context upon returning to the foreground by using onRestart or onResume methods.

Fragments offer several advantages over activities in Android development. They allow for a more modular approach to app user interfaces, which is particularly useful for creating user interfaces that can adapt to different screen sizes and orientations, a common requirement in tablet and phone apps. Fragments can be reused independently across different activities, fostering component reuse and reducing redundancy. The lifecycle of fragments is closely tied to the lifecycle of their parent activity. When an activity's lifecycle changes, the fragments within it also undergo lifecycle changes: for instance, when the activity's onPause method is called, each fragment transitions to onPause. Understanding this interrelationship allows developers to manage fragment states efficiently, ensuring a seamless integration within the activity lifecycle.

Android provides multiple storage options, primarily internal and external storage. Internal storage is private to the application, meaning files stored here are automatically protected by the app's security permissions and are deleted when the app is uninstalled. External storage, in contrast, can be accessed by the user and other applications, which makes it more suitable for saving data the user wants to share, such as photos and documents. However, external storage requires runtime permissions and can be less secure as it can be accessed by any application with permission. The key difference lies in their access permissions and use-cases, with internal storage being more secure and private, while external storage being more accessible and suited for shared content.

JSON parsing is significant in Android for handling data interchange between the client and server or local storage. JSON, being lightweight and easy to read/write, is particularly suited for mobile applications. Through JSON parsing, an app can efficiently process raw data fetched from web services or APIs into structured, usable format within the app's code. To implement JSON parsing in Android, one can use the `JSONObject` class provided by the Android framework to parse JSON strings. For instance, if you receive a JSON response `{"name":"John", "age":30}`, you can parse it using the following code: `JSONObject jsonObj = new JSONObject(jsonStr); String name = jsonObj.getString("name"); int age = jsonObj.getInt("age");`. This enables the app to handle dynamic data, enhancing functionality and user interactivity.

Material Design has a profound impact on Android application development by providing a consistent and cohesive design language that enhances aesthetics and user experience. It introduces principles of digital-design guidance which emphasize responsive animations, meaningful motion, and usability across devices and platforms. Material Design provides a set of guidelines and visual components for developers to follow, such as color themes, typography, and shapes, which help create an intuitive, accessible, and visually appealing user interface. This standardization makes transitions and interactions feel cohesive across different parts of the application. Furthermore, the focus on touch feedback and intuitive elements like shadows and transitions improve user engagement, making applications feel more responsive and polished, thus significantly enhancing the overall user experience.

RecyclerView and ListView serve similar purposes for displaying lists of data in Android applications but differ significantly in performance and usage. RecyclerView is a more advanced and flexible version that addresses the limitations of ListView. It uses a ViewHolder pattern to improve performance by minimizing the number of view inflations, which is crucial for smooth scrolling of large datasets. Furthermore, RecyclerView supports custom layout management and animations, enabling more complex list item layouts and interactions. ListView, while easier to implement for simple lists, does not offer the same level of performance optimization or flexibility, making RecyclerView the preferred choice for modern applications that require high performance and customizable views.

Defining permissions in the Android Manifest file has significant security implications. Permissions control access to restricted parts of the system or user data, and improper handling can lead to security vulnerabilities such as unauthorized data access or exposure of sensitive functionalities like location tracking, camera access, and internet connectivity. Developers should approach permission handling by requesting the minimum necessary permissions for the functionality their app provides, following the principle of least privilege. They should also implement runtime permissions, which require the user to grant permissions explicitly at run time, thus enhancing transparency and control for the user. This approach not only ensures a higher standard of security but also improves the user experience by preventing unnecessary permission requests.

The Android Debug Bridge (ADB) is a versatile command-line tool that plays a crucial role in Android development. It provides a communication link between a computer and a connected Android device, facilitating various developmental tasks. ADB allows developers to install and debug apps directly on the device, providing a real-time testing environment. It offers support for deploying apps, running shell commands on the device, transferring files, and accessing the device's log and data files. These functions are vital for debugging as they help developers simulate user interactions and app behavior under various conditions, making ADB an essential tool for efficient application debugging and deployment.

You might also like