Android_Development_Exam
Android_Development_Exam
1. What is the primary language officially supported by Android for native app development as of
A) Java
B) Kotlin
C) Swift
D) Python
3. Which component is not considered one of the four main Android app components?
A) Activity
B) Fragment
C) Service
D) BroadcastReceiver
6. Which Android layout allows you to position child views in relation to each other or the parent?
A) LinearLayout
B) RelativeLayout
C) FrameLayout
D) GridLayout
B) It is an imperative UI framework
9. What is the correct way to request a runtime permission in modern Android development?
B) Using ActivityCompat.requestPermissions()
D) By enabling it in Gradle
10. Which tool is commonly used to inspect and debug Android layouts at runtime?
A) Android Profiler
B) Layout Inspector
C) Logcat
D) Lint
11. What is the recommended architecture pattern for modern Android app development promoted
by Google?
A) MVC
B) MVP
C) MVVM
D) MVI
12. Which annotation is used in Room to indicate the primary key in an Entity class?
A) @Primary
B) @EntityKey
C) @Id
D) @PrimaryKey
13. Which of the following best describes the role of Coroutines in Android development?
1. B
2. C
3. B
4. D
5. B
6. B
7. C
8. B
9. B
10. B
11. C
12. D
13. C
14. B
15. C