WorksheetsAndroid Development Quiz
Total questions: 30
Worksheet time: 15mins
Android is based on which operating system kernel?
Windows
UNIX
Linux
MacOS
What does SDK stand for in Android development?
Software Design Kit
System Development Key
Software Development Kit
Source Design Kernel
Which company leads the Android open-source project?
Apple
Microsoft
Samsung
Android home screens can include app icons and ________.
Menus
Widgets
Folders only
Notifications only
Which of the following is NOT a typical Android device type?
Smartphone
Tablet
Smartwatch
iPhone
Which of these is NOT a touch gesture recognized by Android?
Tapping
Swiping
Clicking
Pinching
Which Android component allows developers to test apps without physical devices?
Emulator
Compiler
Launcher
Debugger
What provides haptic feedback on Android devices?
Touchscreen
Vibration
Sound
Notification
What is the main IDE for Android app development?
Eclipse
NetBeans
Android Studio
IntelliJ
Android manages processes efficiently to minimize ________.
CPU usage
RAM usage
Battery consumption
Screen brightness
Which component represents a single screen with a user interface?
Activity
Service
BroadcastReceiver
ContentProvider
What is the entry point of an Android application?
Launcher Activity
Manifest File
Main Activity
Service Class
Which lifecycle method is always called first when an activity starts?
onStart()
onPause()
onCreate()
onResume()
An activity becomes “paused” when it has:
Lost focus but is still visible
Been destroyed
Been minimized
Been re-created
Which component runs tasks in the background without UI?
Broadcast Receiver
Service
Activity
Content Provider
Which lifecycle method should save user data before an app closes?
onResume()
onCreate()
onPause()
onStart()
Which Android feature allows persistent storage of small key-value data?
SQLite Database
SharedPreferences
DataManager
File Explorer
What happens when the Back button is pressed?
App minimizes
Current activity ends and previous one resumes
App restarts
Data is saved automatically
Which component efficiently displays large sets of scrollable data?
ListView
RecyclerView
Spinner
ViewPager
What is the role of a RecyclerView Adapter?
To animate screen transitions
To connect data to view items
To store images in memory
To handle user authentication
What is the main purpose of RecyclerView in Android?
To store user preferences
To efficiently display and interact with large sets of data
To manage application lifecycle
To send notifications
Which of the following is NOT a dynamic view container in Android?
ScrollView
ListView
RecyclerView
ImageView
RecyclerView improves performance by:
Recreating all items each time
Recycling off-screen views
Using XML caching
Disabling animations
Which class in RecyclerView controls how items are displayed on the screen?
RecyclerView.Adapter
RecyclerView.LayoutManager
RecyclerView.ViewHolder
RecyclerView.ViewGroup
Which layout manager displays items in a grid format?
LinearLayoutManager
GridLayoutManager
CustomLayoutManager
FrameLayoutManager
The RecyclerView.Adapter is responsible for:
Connecting data to individual views
Controlling animation speed
Managing activity lifecycle
Handling user input events
What is the purpose of a ViewHolder in RecyclerView?
To hold and bind data efficiently to views
To store layout resources
To detect screen gestures
To manage animations
What type of class in Kotlin is ideal for modeling real-world data?
Object class
Abstract class
Data class
Static class
Which Android architecture pattern separates data, UI, and business logic?
MVC
MVVM
MVP
All of the above
What is LiveData used for in Android applications?
Handling images and media
Providing observable data that updates the UI automatically
Encrypting sensitive data
Displaying notifications
