ログイン

MIDTERM-APPDEV 3 CHAPTER 4
48問 • 1年前
  • Jamaica Rose Gilo
  • 通報

    問題一覧

  • 1

    An Activity is a class that is designed to handle a single task that the user can perform.

    T

  • 2

    A layout is the visual component of a user interface in Android.

    T

  • 3

    An Intent is a class that is used to describe an operation to be performed.

    T

  • 4

    An Intent is used to start new activities within an app.

    T

  • 5

    The size of an EditText is specified in ems.

    T

  • 6

    The DatePicker widget will display only at runtime.

    T

  • 7

    The height and width of a widget can be set to a specific size, not just a relative size.

    T

  • 8

    Any button in a layout automatically responds to a click.

    F

  • 9

    Autoformatted characters in an EditText do not count toward the total length of the input.

    F

  • 10

    ImageButtons can use image files located anywhere on the development machine.

    F

  • 11

    Colors are defined in the color.xml file, and the specific color is defined with a name that matches the standard Crayola colors.

    F

  • 12

    All widgets in a layout must have an @+id.

    F

  • 13

    The Activity class has no subclasses other than the ones you implement.

    F

  • 14

    Which of the following objects is coded to handle a single user task?

    Activity

  • 15

    Which of the following objects is used to start an Activity?

    Intent

  • 16

    Which of the following objects is used to include multiple tasks within a single Activity?

    FragmentActivity

  • 17

    What is the relationship between a layout and a widget?

    A layout is made up of widgets.

  • 18

    Which of the following is the correct attribute value to set the widget's width to match the size of the widget or the data it contains?

    wrap_content

  • 19

    Which of the following is the correct attribute value to set the widget's height to match the size of the widget that contains it?

    match_parent

  • 20

    Which of the following is the best description of the function of this attribute: layout_marginLeft=20dp?

    Positions the widget 20dp from the widget on its left

  • 21

    Which of the following attributes would you use to position a widget right at the bottom of a RelativeLayout?

    layout_alignParentBottom=true

  • 22

    Which of the following is the proper way to name a widget textViewTest?

    @+id/textViewTest

  • 23

    How do you place more than one widget in a ScrollView?

    Place them within a layout within the ScrollView.

  • 24

    The unit of measure ems specifies the size of an EditText as what?

    The number of capital Ms that can be displayed in it

  • 25

    How is tabbing implemented in an Android layout?

    Using the attribute imeOptions=actionNext.

  • 26

    Which of the following best describes the function of the following EditText attribute: inputType=textCapWords?

    Displays a soft keyboard with alpha characters and capitalizes all words as they are entered

  • 27

    Which of the following is the best dimension to use when setting the size of a TextView?

    sp

  • 28

    When is the attribute nextFocusDown used?

    When it is not clear which is the next widget that should be tabbed to

  • 29

    In a TableLayout, you define what?

    Rows but not cells

  • 30

    Which of the following best describes the function of the setContentView= attribute of a layout?

    Trick question—setContentView is code in the activity class.

  • 31

    Which of the following best describes the function of Intent.FLAG_ACTIVITY_CLEAR_TOP?

    It's used in an Intent to tell the Android OS not to make multiple copies of the same activity.

  • 32

    Which of the following is used by the activity to get a reference to a widget in a layout?

    findViewById

  • 33

    Which of the following is the best description of an OnClickListener?

    An object used in the activity code to make a widget respond to a user touch.

  • 34

    What is the final keyword used for?

    To stop a variable assignment from changing during execution

  • 35

    Which of the following is the correct code for disabling an EditText?

    setEnabled(false)

  • 36

    What does the interface do that is declared in a DialogFragment?

    Enables communication of the dialog result back to calling activity

  • 37

    How does the time object store dates and times?

    Number of milliseconds from 1/1/1970.

  • 38

    What is the function of the FragmentManager?

    Displays and keeps track of all fragments displayed in an activity

  • 39

    An attribute that specifies the number characters that can be input in an EditText.

    maxLenth

  • 40

    A layout that can have only one widget in it.

    ScrollView

  • 41

    An object used to start activities.

    Intent

  • 42

    An object used when an activity wants to display custom dialogs.

    FragmentManager

  • 43

    An attribute that specifies how data is formatted in an EditText.

    inputType

  • 44

    Used to name a widget.

    @+id

  • 45

    A measurement of time.

    Milliseconds

  • 46

    An object that allows widgets to be positioned by referencing one another.

    RelativeLayout

  • 47

    A specification of widget height or width.

    match_parent

  • 48

    Any object used in a layout.

    Widget

  • 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 5

    MIDTERM-APPDEV 3 CHAPTER 5

    Jamaica Rose Gilo · 42問 · 1年前

    MIDTERM-APPDEV 3 CHAPTER 5

    MIDTERM-APPDEV 3 CHAPTER 5

    42問 • 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

    An Activity is a class that is designed to handle a single task that the user can perform.

    T

  • 2

    A layout is the visual component of a user interface in Android.

    T

  • 3

    An Intent is a class that is used to describe an operation to be performed.

    T

  • 4

    An Intent is used to start new activities within an app.

    T

  • 5

    The size of an EditText is specified in ems.

    T

  • 6

    The DatePicker widget will display only at runtime.

    T

  • 7

    The height and width of a widget can be set to a specific size, not just a relative size.

    T

  • 8

    Any button in a layout automatically responds to a click.

    F

  • 9

    Autoformatted characters in an EditText do not count toward the total length of the input.

    F

  • 10

    ImageButtons can use image files located anywhere on the development machine.

    F

  • 11

    Colors are defined in the color.xml file, and the specific color is defined with a name that matches the standard Crayola colors.

    F

  • 12

    All widgets in a layout must have an @+id.

    F

  • 13

    The Activity class has no subclasses other than the ones you implement.

    F

  • 14

    Which of the following objects is coded to handle a single user task?

    Activity

  • 15

    Which of the following objects is used to start an Activity?

    Intent

  • 16

    Which of the following objects is used to include multiple tasks within a single Activity?

    FragmentActivity

  • 17

    What is the relationship between a layout and a widget?

    A layout is made up of widgets.

  • 18

    Which of the following is the correct attribute value to set the widget's width to match the size of the widget or the data it contains?

    wrap_content

  • 19

    Which of the following is the correct attribute value to set the widget's height to match the size of the widget that contains it?

    match_parent

  • 20

    Which of the following is the best description of the function of this attribute: layout_marginLeft=20dp?

    Positions the widget 20dp from the widget on its left

  • 21

    Which of the following attributes would you use to position a widget right at the bottom of a RelativeLayout?

    layout_alignParentBottom=true

  • 22

    Which of the following is the proper way to name a widget textViewTest?

    @+id/textViewTest

  • 23

    How do you place more than one widget in a ScrollView?

    Place them within a layout within the ScrollView.

  • 24

    The unit of measure ems specifies the size of an EditText as what?

    The number of capital Ms that can be displayed in it

  • 25

    How is tabbing implemented in an Android layout?

    Using the attribute imeOptions=actionNext.

  • 26

    Which of the following best describes the function of the following EditText attribute: inputType=textCapWords?

    Displays a soft keyboard with alpha characters and capitalizes all words as they are entered

  • 27

    Which of the following is the best dimension to use when setting the size of a TextView?

    sp

  • 28

    When is the attribute nextFocusDown used?

    When it is not clear which is the next widget that should be tabbed to

  • 29

    In a TableLayout, you define what?

    Rows but not cells

  • 30

    Which of the following best describes the function of the setContentView= attribute of a layout?

    Trick question—setContentView is code in the activity class.

  • 31

    Which of the following best describes the function of Intent.FLAG_ACTIVITY_CLEAR_TOP?

    It's used in an Intent to tell the Android OS not to make multiple copies of the same activity.

  • 32

    Which of the following is used by the activity to get a reference to a widget in a layout?

    findViewById

  • 33

    Which of the following is the best description of an OnClickListener?

    An object used in the activity code to make a widget respond to a user touch.

  • 34

    What is the final keyword used for?

    To stop a variable assignment from changing during execution

  • 35

    Which of the following is the correct code for disabling an EditText?

    setEnabled(false)

  • 36

    What does the interface do that is declared in a DialogFragment?

    Enables communication of the dialog result back to calling activity

  • 37

    How does the time object store dates and times?

    Number of milliseconds from 1/1/1970.

  • 38

    What is the function of the FragmentManager?

    Displays and keeps track of all fragments displayed in an activity

  • 39

    An attribute that specifies the number characters that can be input in an EditText.

    maxLenth

  • 40

    A layout that can have only one widget in it.

    ScrollView

  • 41

    An object used to start activities.

    Intent

  • 42

    An object used when an activity wants to display custom dialogs.

    FragmentManager

  • 43

    An attribute that specifies how data is formatted in an EditText.

    inputType

  • 44

    Used to name a widget.

    @+id

  • 45

    A measurement of time.

    Milliseconds

  • 46

    An object that allows widgets to be positioned by referencing one another.

    RelativeLayout

  • 47

    A specification of widget height or width.

    match_parent

  • 48

    Any object used in a layout.

    Widget