ログイン

MIDTERM-APPDEV 3 CHAPTER 5
42問 • 1年前
  • Jamaica Rose Gilo
  • 通報

    問題一覧

  • 1

    Android apps can only store data in a SQLite Database.

    F

  • 2

    Data stored in a SharedPreferences object persists even if the app is uninstalled.

    F

  • 3

    The database version number of a SQLite database has no functional implications.

    F

  • 4

    Implementing a data source object is required to use SQLite in an Android app.

    F

  • 5

    Primitive data may not be passed to a SQLite data source object. Only object data is allowed.

    F

  • 6

    The soft keyboard is automatically dismissed by the system when data is saved.

    F

  • 7

    Flat files in Android are read and written as a stream of characters.

    F

  • 8

    Flat files in Android stored on an SD card are private to the app that stores them.

    F

  • 9

    The SharedPreferences object is used to store single bits of primitive data in a key/value pair.

    T

  • 10

    SQLite is a fully functional, relational database management system.

    T

  • 11

    To use SQLite in an Android app, you must implement your own subclass of the SQLiteOpenHelper object.

    T

  • 12

    Data persists in a SharedPreferences object throughout the phases of the activity life cycle.

    T

  • 13

    Flat files in Android can be stored on either internal or external storage.

    T

  • 14

    When data is made to exist through many iterations of an apps life cycle, it is said to ______?

    Persist

  • 15

    The object used to make primitive bits of data persist across changes in the app life cycle is the _____ object.

    SharedPreferences

  • 16

    The method used to store and retrieve primitive data that only needs to be used by one activity is?

    getPreferences

  • 17

    Which of the following objects would be used to read a flat file in an Android app?

    FileInputStream

  • 18

    Which of the following is the language used to read and write data to a SQLite database?

    SQL

  • 19

    Which of the following best describes the function of the Database helper class?

    To create and upgrade a SQLite database

  • 20

    When is the onUpgrade method of a SQLite database executed?

    The first time the database is accessed after the version number has been incremented

  • 21

    Which of the following components of Eclipse is used to collect and view system debug information?

    LogCat

  • 22

    When should a SQLite database be closed?

    As soon as the activity is done using the database.

  • 23

    The SQLite databases insert method returns what?

    The number of rows successfully inserted.

  • 24

    Which of the following is the best description of the ContentValues object?

    It is an object used to hold a set of key/value pairs.

  • 25

    Which of the following is the best description of a TextWatcher object?

    It is an object used to detect changes in data entered into an EditText.

  • 26

    Which of the following would be the best event to format user-entered data as it is typed?

    onTextChanged

  • 27

    Which of the following objects is required to hide the soft keyboard?

    InputMethodManager

  • 28

    Which of the following best describes a Cursor object?

    It is an object used to hold and navigate through a querys result set.

  • 29

    When are cursors closed automatically?

    Cursors are never closed automatically.

  • 30

    Why would you use a RadioGroup with a set of RadioButtons rather than just use the RadioButtons by themselves?

    Because the RadioGroup makes the buttons interdependent without coding.

  • 31

    The edit() method is used with a SharedPreferences object to do what?

    To enable the insertion of a key/value pair into the SharedPreferences object

  • 32

    The commit() method is used to do what?

    Make modifications to the SharedPreferences object persist

  • 33

    A point in the code set to stop program execution during debugging.

    Breakpoint

  • 34

    An object that must be subclassed in an app to use a SQLite database.

    SQLiteOpenHelper

  • 35

    A way to store data in a set of related tables.

    Relational Database

  • 36

    An object used to make bits of primitive data persist.

    SharedPreferences

  • 37

    An object that can be associated with an EditText to identify changes in the content of the EditText.

    TextWatcher

  • 38

    A widget used to group a set of RadioButtons.

    RadioGroup

  • 39

    An object used to write flat files.

    FileOutputStream

  • 40

    Data that continues to be available through many iterations of the app life cycle.

    Persistent data

  • 41

    A system for collecting and viewing system debug information.

    LogCat

  • 42

    An object used to store data as a set of key/value pairs.

    ContentValues

  • Networking 2 quiz1

    Networking 2 quiz1

    Jamaica Rose Gilo · 83問 · 1年前

    Networking 2 quiz1

    Networking 2 quiz1

    83問 • 1年前
    Jamaica Rose Gilo

    MIDTERM-IT 313

    MIDTERM-IT 313

    Jamaica Rose Gilo · 100問 · 1年前

    MIDTERM-IT 313

    MIDTERM-IT 313

    100問 • 1年前
    Jamaica Rose Gilo

    MIDTERM-IT 313

    MIDTERM-IT 313

    Jamaica Rose Gilo · 94問 · 1年前

    MIDTERM-IT 313

    MIDTERM-IT 313

    94問 • 1年前
    Jamaica Rose Gilo

    MIDTERM-IT 313

    MIDTERM-IT 313

    Jamaica Rose Gilo · 58問 · 1年前

    MIDTERM-IT 313

    MIDTERM-IT 313

    58問 • 1年前
    Jamaica Rose Gilo

    MIDTERM-APPDEV 3 CHAPTER 4

    MIDTERM-APPDEV 3 CHAPTER 4

    Jamaica Rose Gilo · 48問 · 1年前

    MIDTERM-APPDEV 3 CHAPTER 4

    MIDTERM-APPDEV 3 CHAPTER 4

    48問 • 1年前
    Jamaica Rose Gilo

    MIDTERM-ADVANCED DBM C3 L2

    MIDTERM-ADVANCED DBM C3 L2

    Jamaica Rose Gilo · 97問 · 1年前

    MIDTERM-ADVANCED DBM C3 L2

    MIDTERM-ADVANCED DBM C3 L2

    97問 • 1年前
    Jamaica Rose Gilo

    Mga MALI mo!

    Mga MALI mo!

    Jamaica Rose Gilo · 29問 · 1年前

    Mga MALI mo!

    Mga MALI mo!

    29問 • 1年前
    Jamaica Rose Gilo

    INFO. ASSURANCE &SECURITY

    INFO. ASSURANCE &SECURITY

    Jamaica Rose Gilo · 100問 · 1年前

    INFO. ASSURANCE &SECURITY

    INFO. ASSURANCE &SECURITY

    100問 • 1年前
    Jamaica Rose Gilo

    INFO. ASSURANCE & SECURITY

    INFO. ASSURANCE & SECURITY

    Jamaica Rose Gilo · 33問 · 1年前

    INFO. ASSURANCE & SECURITY

    INFO. ASSURANCE & SECURITY

    33問 • 1年前
    Jamaica Rose Gilo

    3 BRANCHES OF THE PHIL. GOVERNMENT

    3 BRANCHES OF THE PHIL. GOVERNMENT

    Jamaica Rose Gilo · 20問 · 11ヶ月前

    3 BRANCHES OF THE PHIL. GOVERNMENT

    3 BRANCHES OF THE PHIL. GOVERNMENT

    20問 • 11ヶ月前
    Jamaica Rose Gilo

    ENVIRONMENTAL MANAGEMENT AND PROTECTION

    ENVIRONMENTAL MANAGEMENT AND PROTECTION

    Jamaica Rose Gilo · 16問 · 11ヶ月前

    ENVIRONMENTAL MANAGEMENT AND PROTECTION

    ENVIRONMENTAL MANAGEMENT AND PROTECTION

    16問 • 11ヶ月前
    Jamaica Rose Gilo

    ARTICLE VI-1987 CONST.

    ARTICLE VI-1987 CONST.

    Jamaica Rose Gilo · 16問 · 11ヶ月前

    ARTICLE VI-1987 CONST.

    ARTICLE VI-1987 CONST.

    16問 • 11ヶ月前
    Jamaica Rose Gilo

    ARTICLE 1-NATIONAL TERRITORY

    ARTICLE 1-NATIONAL TERRITORY

    Jamaica Rose Gilo · 10問 · 11ヶ月前

    ARTICLE 1-NATIONAL TERRITORY

    ARTICLE 1-NATIONAL TERRITORY

    10問 • 11ヶ月前
    Jamaica Rose Gilo

    ARTICLE II-DECLARATION FOR PRINCIPLES AND STATE POLICIES

    ARTICLE II-DECLARATION FOR PRINCIPLES AND STATE POLICIES

    Jamaica Rose Gilo · 11問 · 11ヶ月前

    ARTICLE II-DECLARATION FOR PRINCIPLES AND STATE POLICIES

    ARTICLE II-DECLARATION FOR PRINCIPLES AND STATE POLICIES

    11問 • 11ヶ月前
    Jamaica Rose Gilo

    ARTICLE III

    ARTICLE III

    Jamaica Rose Gilo · 6問 · 11ヶ月前

    ARTICLE III

    ARTICLE III

    6問 • 11ヶ月前
    Jamaica Rose Gilo

    BILL OF RIGHTS

    BILL OF RIGHTS

    Jamaica Rose Gilo · 20問 · 11ヶ月前

    BILL OF RIGHTS

    BILL OF RIGHTS

    20問 • 11ヶ月前
    Jamaica Rose Gilo

    PEACE & HUMAN RIGHTS ISSUES AND CONCEPTS

    PEACE & HUMAN RIGHTS ISSUES AND CONCEPTS

    Jamaica Rose Gilo · 8問 · 11ヶ月前

    PEACE & HUMAN RIGHTS ISSUES AND CONCEPTS

    PEACE & HUMAN RIGHTS ISSUES AND CONCEPTS

    8問 • 11ヶ月前
    Jamaica Rose Gilo

    RA 6713

    RA 6713

    Jamaica Rose Gilo · 9問 · 11ヶ月前

    RA 6713

    RA 6713

    9問 • 11ヶ月前
    Jamaica Rose Gilo

    MATH PROBLEMS AND BASIC OPERATIONS

    MATH PROBLEMS AND BASIC OPERATIONS

    Jamaica Rose Gilo · 62問 · 11ヶ月前

    MATH PROBLEMS AND BASIC OPERATIONS

    MATH PROBLEMS AND BASIC OPERATIONS

    62問 • 11ヶ月前
    Jamaica Rose Gilo

    問題一覧

  • 1

    Android apps can only store data in a SQLite Database.

    F

  • 2

    Data stored in a SharedPreferences object persists even if the app is uninstalled.

    F

  • 3

    The database version number of a SQLite database has no functional implications.

    F

  • 4

    Implementing a data source object is required to use SQLite in an Android app.

    F

  • 5

    Primitive data may not be passed to a SQLite data source object. Only object data is allowed.

    F

  • 6

    The soft keyboard is automatically dismissed by the system when data is saved.

    F

  • 7

    Flat files in Android are read and written as a stream of characters.

    F

  • 8

    Flat files in Android stored on an SD card are private to the app that stores them.

    F

  • 9

    The SharedPreferences object is used to store single bits of primitive data in a key/value pair.

    T

  • 10

    SQLite is a fully functional, relational database management system.

    T

  • 11

    To use SQLite in an Android app, you must implement your own subclass of the SQLiteOpenHelper object.

    T

  • 12

    Data persists in a SharedPreferences object throughout the phases of the activity life cycle.

    T

  • 13

    Flat files in Android can be stored on either internal or external storage.

    T

  • 14

    When data is made to exist through many iterations of an apps life cycle, it is said to ______?

    Persist

  • 15

    The object used to make primitive bits of data persist across changes in the app life cycle is the _____ object.

    SharedPreferences

  • 16

    The method used to store and retrieve primitive data that only needs to be used by one activity is?

    getPreferences

  • 17

    Which of the following objects would be used to read a flat file in an Android app?

    FileInputStream

  • 18

    Which of the following is the language used to read and write data to a SQLite database?

    SQL

  • 19

    Which of the following best describes the function of the Database helper class?

    To create and upgrade a SQLite database

  • 20

    When is the onUpgrade method of a SQLite database executed?

    The first time the database is accessed after the version number has been incremented

  • 21

    Which of the following components of Eclipse is used to collect and view system debug information?

    LogCat

  • 22

    When should a SQLite database be closed?

    As soon as the activity is done using the database.

  • 23

    The SQLite databases insert method returns what?

    The number of rows successfully inserted.

  • 24

    Which of the following is the best description of the ContentValues object?

    It is an object used to hold a set of key/value pairs.

  • 25

    Which of the following is the best description of a TextWatcher object?

    It is an object used to detect changes in data entered into an EditText.

  • 26

    Which of the following would be the best event to format user-entered data as it is typed?

    onTextChanged

  • 27

    Which of the following objects is required to hide the soft keyboard?

    InputMethodManager

  • 28

    Which of the following best describes a Cursor object?

    It is an object used to hold and navigate through a querys result set.

  • 29

    When are cursors closed automatically?

    Cursors are never closed automatically.

  • 30

    Why would you use a RadioGroup with a set of RadioButtons rather than just use the RadioButtons by themselves?

    Because the RadioGroup makes the buttons interdependent without coding.

  • 31

    The edit() method is used with a SharedPreferences object to do what?

    To enable the insertion of a key/value pair into the SharedPreferences object

  • 32

    The commit() method is used to do what?

    Make modifications to the SharedPreferences object persist

  • 33

    A point in the code set to stop program execution during debugging.

    Breakpoint

  • 34

    An object that must be subclassed in an app to use a SQLite database.

    SQLiteOpenHelper

  • 35

    A way to store data in a set of related tables.

    Relational Database

  • 36

    An object used to make bits of primitive data persist.

    SharedPreferences

  • 37

    An object that can be associated with an EditText to identify changes in the content of the EditText.

    TextWatcher

  • 38

    A widget used to group a set of RadioButtons.

    RadioGroup

  • 39

    An object used to write flat files.

    FileOutputStream

  • 40

    Data that continues to be available through many iterations of the app life cycle.

    Persistent data

  • 41

    A system for collecting and viewing system debug information.

    LogCat

  • 42

    An object used to store data as a set of key/value pairs.

    ContentValues