Recall & Review
beginner
What is local storage in mobile apps?
Local storage is a way to save data directly on the device, so the app can access it without needing the internet.
Click to reveal answer
beginner
How does local storage help when the internet is not available?
Local storage keeps data saved on the device, so the app can still show information and work even without an internet connection.
Click to reveal answer
intermediate
Name two common types of local storage in Android apps.
SharedPreferences for small key-value data and SQLite database for structured data are common local storage types in Android.
Click to reveal answer
beginner
Why is local storage faster than fetching data from the internet?
Because data is saved on the device itself, accessing it is quicker than waiting for data to download from a server.
Click to reveal answer
beginner
What is a real-life example of using local storage for offline access?
A notes app saving your notes on your phone so you can read and edit them even when you have no internet.
Click to reveal answer
What does local storage allow your app to do?
✗ Incorrect
Local storage saves data on the device so the app can access it without internet.
Which Android local storage method is best for small key-value pairs?
✗ Incorrect
SharedPreferences is designed for small key-value data storage on Android.
Why is local storage faster than online data fetching?
✗ Incorrect
Local storage data is saved on the device, so it loads faster than downloading from the internet.
What happens if your app has no local storage and no internet?
✗ Incorrect
Without local storage or internet, the app cannot access needed data.
Which is NOT a benefit of local storage?
✗ Incorrect
Local storage does not provide cloud backup; it stores data only on the device.
Explain how local storage enables an app to work offline.
Think about where the data lives when you have no internet.
You got /3 concepts.
List common local storage options in Android and when to use each.
Consider the size and type of data you want to save.
You got /3 concepts.