Exam 11: Discover Persistent Data

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

An undefined string value is set to a(n) ____________ value, which is represented by empty quotes. 

Free
(Short Answer)
4.8/5
(33)
Correct Answer:
Verified

null

The code to create a n instance of a SharedPreferences editor object named edit is ______________________________.

Free
(Short Answer)
4.9/5
(39)
Correct Answer:
Verified

SharedPreferences.Editor edit = SharedPref.edit();

Which statement dynamically assigns an image named car in the drawable folder to an ImageView control?

Free
(Multiple Choice)
4.9/5
(40)
Correct Answer:
Verified

C

Which method is used to store integer data in a SharedPreferences object ?

(Multiple Choice)
4.9/5
(34)

How does the Shared preferences option of storing persistent data store private data?

(Multiple Choice)
4.8/5
(37)

In an Android project, an ImageView control can display an image by assigning what in the XML layout file ?

(Multiple Choice)
4.8/5
(30)

The name-value pair in a SharedPreferences object is saved to a(n)  ____________________ file that can be retrieved later in the app or after the app closes.

(Short Answer)
4.7/5
(33)

The following permissions are necessary in the Android Manifest file to use which type of storage?

(Multiple Choice)
4.9/5
(47)

SharedPreferences can be used to save only int and string primitive data.

(True/False)
4.8/5
(38)

A(n) _______________ stores persistent data on a web server.

(Short Answer)
4.9/5
(41)

All applications can read and write files placed on external storage.

(True/False)
4.8/5
(40)

T he Shared Preferences class provides one of the easiest ways to sav e and load data. Which specific data type does this refer to ?

(Multiple Choice)
4.9/5
(36)

What is one of the most effective ways to save simple application data to an Android device?

(Multiple Choice)
4.8/5
(38)

Which of the following correctly completes the statement b elow to instantiate a Shared Preferences object? SharedPreferences sharedPref =

(Multiple Choice)
4.8/5
(34)

If data is lost when an app or the device stops running w here was the data st ored?

(Multiple Choice)
4.9/5
(38)

The persistent ____________________ structu re is available in some form in every programming language.

(Short Answer)
4.8/5
(41)

_____________________ stores values permanently by placing the information in a file.

(Short Answer)
4.8/5
(43)

With Android, yo u have th e option of storing persist e nt data only on the device's internal storage.

(True/False)
4.8/5
(42)

Before an app attempts to connect to a netwo rk connection, what action should be taken?

(Multiple Choice)
4.9/5
(34)

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

(Multiple Choice)
4.8/5
(45)
Showing 1 - 20 of 50
close modal

Filters

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