MODULE 6 Flashcards

1
Q

_____ class enables switching between activities

A

Intent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

_____ pass data between activities

A

Intents

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

_____ is used to load data into intents

A

putExtra

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

_____ means that if a user quits the app and comes back, the data will stay

A

Persist

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Ways to make data persist:

A
  • Shared preferences mechanism
  • Traditional file systems
  • SQLite database system
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

_____ provides access to data that is accessed by all activities

A

SharedPreferences

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

SharedPreferences object for reading data is called _____

A

prefs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

_____ converts bits and bytes into data objects on the app

A

De-serialization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Sharedpreferences object for writing data is called _____

A

editor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

_____ converts data objects into bites and bytes to store on disk

A

Serialization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

_____ is a method that initiats saving process

A

Commit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

_____ is used to get data from database

A

rawQuery

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

_____ type is used to store floating point numbers

A

real

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Classes to access database API:

A
  • SQLiteDatabase
  • SQLiteOpenHelper
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

_____ is used to add data to database

A

execSQL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Upgrading a database is done using _____

A

ALERT

14
Q

Database queries return objects of type _____

A

Cursor