JAYAWANT SHIKSHAN PRASARAK MANDAL’s
Bhivrabai Sawant Polytechnic
(Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai)
Gat No. 720 (1&2), Wagholi, Pune-Nagar Road, Pune-412207)
Phone:020 – 65335100 Tele fax: - + 91-020-65335100
E-mail:
[email protected] Website: www.jspm.edu.in
Computer Engineering Department
Academic Year 2024-25
PIP Unit-2
Course: MAD Course Code:22617
Semester: VI
Que.N B
loom’s Marks Assignment Questions Relevance
o. evel
L to CO
1 1,2 4 Explain features of Android SDK.
2 1,2 4 Define emulator COI604.1
3 2,4 4 Describe various installation steps of android studio and its environment.
4 2 4 Explain DVM with Diagram.
5 2 2 Define Android Virtual device (AVD)?
6 2 4 Difference between JVM and DVM any four point.
7 2 2 nlist and describe the tools and software required to develop android
E
application.
Sign of Course Coordinator Sign of Module Coordinator Sign of H.O.D.
JAYAWANT SHIKSHAN PRASARAK MANDAL’s
Bhivrabai Sawant Polytechnic
(Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai)
Gat No. 720 (1&2), Wagholi, Pune-Nagar Road, Pune-412207)
Phone:020 – 65335100 Tele fax: - + 91-020-65335100
E-mail:
[email protected] Website: www.jspm.edu.in
Computer Engineering Department
Academic Year 2024-25
PIP Chapter 2 Solution
Course: MAD Course Code:22617
Semester:VI
Que.N B
loom’s M
ar Relevance
Assignment Questions
o. evel k
L s to CO
1 1, 2 4 Explain features of Android SDK.
COI604.2
Marking Scheme (1 M for each feature, any 4 features expected)
Android SDK Tools and Features
heAndroid SDK(Software Development Kit) is a collectionof libraries and tools
T
required for developing Android applications. It is regularly updated by Google with
each new version of Android, introducing additional features not found in the
previous versions. The Android SDK is compatible with all major operating systems
likeWindows,Linux, andmacOS.
Key Tools in Android SDK:
1. Android Tool:
○ T
his tool helps in managingAndroid Virtual Device(AVD)projects and
Answer
installed components of the Android SDK. It facilitates the creation,
configuration, and management of virtual devices that simulate real
Android devices for testing purposes.
2. Emulator Tool:
○ T
heAndroid Emulatorallows developers to test theirapplications
without requiring a physical Android device. It simulates Android
devices, making it easier to test apps in different screen sizes, resolutions,
and Android versions.
3. Dalvik Debug Monitor Server (DDMS):
○ D
DMSis a debugging tool that helps developers monitorand
troubleshoot their Android applications. It provides useful features such
as logging, heap and thread monitoring, network statistics, and more for
efficient debugging.
4. Android Debug Bridge (ADB):
○ A
DBis a versatile command-line tool that facilitatescommunication
between the development environment and connected Android devices or
emulators. It is used for a wide range of tasks, including installing and
uninstalling apps, transferring files, and executing shell commands on a
device.
2 1,2 2 Define emulator
Marking Scheme Correct Definition 2 M
ndroid emulator is a tool that creates virtual Android devices
A
Answer on your computer. The emulator lets you prototype, develop
and test Android applications without using a physical device
3 2,4 2 D
escribe various installation steps of android studio and its environment.
Marking Scheme A ndroid studio installation steps 3 M SDK 1 M
teps to install Android studio and SDK Pre-Installation
S
Check List
. Before installing Android SDK, there is need to install Java
1
Development Kit (JDK). Ensure that JDK is at or above 1.8.
. Uninstall older version(s) of "Android Studio" and "Android
2
SDK", if any.
We need to install two packages:
. Android Studio (IDE), which is an Integrated Development
1
Environment (IDE)
2.Android SDK (Software Development Kit) for developing and
running Android apps.
Steps to install Android studio: Download Android Studio
1 . Click Download Android Studio. The Terms and Conditions
page with the Android Studio License Agreement opens.
2. Read the License Agreement.
3 . At the bottom of the page, if you agree with the terms and
conditions, select the I have read and agree with the above terms
and conditions checkbox.
4. Click Download Android Studio to start the download.
. When prompted, save the file to a location where you can easily
5
locate it, such as the Downloads folder.
6. Wait for the download to complete.
Install Android Studio
a ) Open the folder where you downloaded and saved the Android
Studio installation file.
b) Double-click the downloaded file.
c ) If you see a User Account Control dialog about allowing the
installation to make changes to your computer, click Yes to confirm
the installation.
d) Click Next to start the installation.
e) Accept the default installation settings for all steps.
f ) Click finish when installation is done. Installing Android SDK
Within Android Studio, you can install the Android SDK as
follows:
1. Click Tools > SDK Manager.
2. In the SDK Platforms tab, select Android Tiramisu Preview.
3. In the SDK Tools tab, select Android SDK Build.
4. Click OK to install the SDK.
4 2 4 Explain DVM with Diagram.
Marking Scheme Explanation 2 M
- T he Dalvik Virtual Machine (DVM) is an android virtual machine optimized for
mobile devices.
- Dalvik VM is also a virtual machine that is highly optimized for mobile devices.
Thus, it provides all the three things, that are memory management, high
performance as well as battery life.
- It is strictly developed for Android mobile phones.
- The Dex compiler converts the class files into the .dex file that run on the Dalvik
VM.
Answer
- M ultiple class files are converted into one dex file.
- The javac tool compiles the java source file into the class file.
- The dx tool takes all the class files of your application and generates a single .dex
file.
- It is a platform-specific tool.
- The Android Assets Packaging Tool (aapt) handles the packaging process.
5 2 4z D
efine Android Virtual device (AVD)?
Marking Scheme 2 marks for correct answer
n Android Virtual Device (AVD) is a configuration that defines the
A
characteristics of an Android phone, tablet, Wear OS, Android TV, or
COI604.2
Answer Automotive OS device that you want to simulate in the Android Emulator. The
AVD Manager is an interface you can launch from Android Studio that helps you
create and manage AVDs.
6 4 4 Difference between JVM and DVM any four point.
Marking Scheme Any four points, 4 M
Answer
7 2 2 E
nlist and describe the tools and software required to develop android application.
Marking Scheme 2 marks
Tools and Software Required to Develop Android Applications
1. A
ndroid Studio: The official IDE for Android development.It includes a code editor, emulator,
and debugging tools.
2. J ava Development Kit (JDK): A required software kitfor compiling and running Java code,
version 8 or higher is recommended.
3. A
ndroid SDK: Provides necessary libraries and toolsfor building Android apps, including an
emulator and API management.
Answer
4. A
ndroid Virtual Device (AVD): Simulates Android devicesfor testing apps without using a
physical device.
5. Gradle: A build automation tool used to compile andpackage Android apps.
6. Git: A version control system to track code changes and collaborate with other developers.
7. F
irebase: A platform offering backend services like real-time databases, authentication, and app
analytics.
Sign of Course Coordinator Sign of Module Coordinator Sign of H.O.D.