Android Architecture MCQ Questions & Answers
This section focuses on "Architecture" of Android. These Multiple Choice Questions (MCQ) should be practiced to improve the Android skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.
1. Android operating system is a stack of software components which is roughly divided into how many layers?
A. 2
B. 3
C. 4
D. 5
View Answer
Ans : C
Explanation: Android operating system is a stack of software components which is roughly divided into five sections and four main layers.
2. Bottom layer is known as?
A. Libraries
B. Linux kernel
C. Application Framework
D. Applications
View Answer
Ans : B
Explanation: At the bottom of the layers is Linux - Linux 3.6 with approximately 115 patches
3. Top Layer is known as?
A. Libraries
B. Android Runtime
C. Application Framework
D. Applications
View Answer
Ans : D
Explanation: Android application at the top layer. You will write your application to be installed on this layer only.
4. Which of the following libraries provides access to the application model and is the cornerstone of all Android applications?
A. android.app
B. android.content
C. android.database
D. android.widget
View Answer
Ans : A
Explanation: android.app − Provides access to the application model and is the cornerstone of all Android applications
5. android.webkit libraries is?
A. Used to render and manipulate text on a device display.
B. The fundamental building blocks of application user interfaces.
C. A set of classes intended to allow web-browsing capabilities to be built into applications.
D. A Java interface to the OpenGL ES 3D graphics rendering API.
View Answer
Ans : C
Explanation: android.webkit : A set of classes intended to allow web-browsing capabilities to be built into applications.
6. Which section provides a key component called Dalvik Virtual Machine?
A. Libraries
B. Android Runtime
C. Application Framework
D. Applications
View Answer
Ans : B
Explanation: This is the third section of the architecture and available on the second layer from the bottom. This section provides a key component called Dalvik Virtual Machine which is a kind of Java Virtual Machine specially designed and optimized for Android.
7. Activity Manager is used to?
A. Controls all aspects of the application lifecycle and activity stack.
B. Allows applications to publish and share data with other applications.
C. Provides access to non-code embedded resources such as strings, color settings and user interface layouts.
D. Allows applications to display alerts and notifications to the user.
View Answer
Ans : A
Explanation: Activity Manager :Controls all aspects of the application lifecycle and activity stack.
8. Which of the following libraries has Java interface to the OpenGL ES 3D graphics rendering API?
A. android.os
B. android.database
C. android.opengl
D. android.widget
View Answer
Ans : C
Explanation: android.opengl : A Java interface to the OpenGL ES 3D graphics rendering API
9. Resource Manager is used for?
A. Controls all aspects of the application lifecycle and activity stack.
B. Allows applications to publish and share data with other applications.
C. Provides access to non-code embedded resources such as strings, color settings and user interface layouts.
D. Allows applications to display alerts and notifications to the user.
View Answer
Ans : C
Explanation: Resource Manager : Provides access to non-code embedded resources such as strings, color settings and user interface layouts.
10. Which of the following is not a layer in Android Architecture?
A. Android Runtime
B. Libraries
C. Linux kernel
D. Application Framework
View Answer
Ans : A
Explanation: Android Runtime is not a layer in Android Architecture.
Discussion