Exam 11: Discover Persistent Data

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

SharedPreferences are best when your app needs to save small chunks of data.

(True/False)
4.8/5
(39)

Loading data saved in a SharedPreferences XML file begins by _______________ the SharedPreferences object.

(Short Answer)
4.9/5
(34)

Data stored in ____________________ is lost when the app (or the device) stops running.

(Short Answer)
4.8/5
(40)

If you have a large amount of data to store as persistent data, which of the following storag e methods would be most efficient?

(Multiple Choice)
4.9/5
(28)

The persistent data structure is available in some form in every programming language. 

(True/False)
4.8/5
(44)

The _____________________ stores structured data in a private database.

(Short Answer)
4.7/5
(37)

Which Android tool can store data that can be used in different Activities of your application or by another application ?

(Multiple Choice)
4.8/5
(29)

When you write data using SharedPreferences, with which SharedPreferences object can you make changes?

(Multiple Choice)
4.8/5
(36)

In a key-value pair, what is the key that uniquely identifies the preference ?

(Multiple Choice)
4.8/5
(46)

________________________ stores data, which can be available to other apps on shared external storage.

(Short Answer)
4.8/5
(45)

The code to assign a key-value pair for a floating point value with keyname interest and variable name fl t Inter est using a SharedPreferences editor object named edit is ___________________________________.

(Short Answer)
4.9/5
(32)

Which method is used to retrieve a Boolean value from a SharedPreferences object?

(Multiple Choice)
4.8/5
(41)

Android applications cannot save data for later retrieval if the application is closed .

(True/False)
4.8/5
(40)

All applications on a device can access any files created by an app when they are saved with the internal storage method.

(True/False)
4.8/5
(39)

The code to store the string "Hello" into a key named " gree ting" using a SharedPreferences editor object named edit is ____________________________.

(Short Answer)
4.7/5
(39)

What's the first step when writing persisten t data using a SharedPreferences file?

(Multiple Choice)
4.8/5
(34)

Persistent data stores values permanently by placing the information in a file.

(True/False)
4.9/5
(45)

The ______________________ method retrieves long values.

(Short Answer)
4.8/5
(33)

Which d ata type is NOT supported by the SharedPreference s class?

(Multiple Choice)
4.8/5
(42)

If a numeric value is undefined in a key's value, what is it set to?

(Multiple Choice)
4.8/5
(37)
Showing 21 - 40 of 50
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)