Exam 3: Engage Android User Input, Variables, and Operations

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

Which class should you use if you want to convert the string "123" to the number one hundred and twenty-three?

Free
(Multiple Choice)
4.8/5
(44)
Correct Answer:
Verified

A

Which primitive data type should you use if the variable should have only two values and will be used in conditional statements?

Free
(Multiple Choice)
4.8/5
(32)
Correct Answer:
Verified

C

Java variable names are case sensitive.

Free
(True/False)
4.9/5
(41)
Correct Answer:
Verified

True

A Spinner control displays a prompt with a list of strings, called ____________________, in a pop-up window.

(Short Answer)
4.9/5
(32)

____________________ are multitouch interactions such as pressing two fingers to pan, rotate, or zoom.

(Short Answer)
4.9/5
(38)

To display text in a TextView control, which method should be used?

(Multiple Choice)
4.8/5
(34)

Which statement establishes a currency decimal format so that the variable itemCost is displayed in U.S. dollar format in the following statement? USdollars.format(itemCost));

(Multiple Choice)
4.9/5
(37)

You add new theme names to the XML code in the _______________ file.

(Short Answer)
5.0/5
(37)

What do you use if you want an app to wait for a user to click or tap a button before taking action?

(Multiple Choice)
4.8/5
(34)

What term can be described as multitouch interactions such as pressing two fingers to pan, rotate, or zoom?

(Multiple Choice)
4.8/5
(42)

You have a variable that will only assume values between 0 and 100. What would be the most compact primitive type to use?

(Multiple Choice)
4.9/5
(45)

What keystroke can you use to invoke possible code completion suggestions as you type an XML or Java line of code?

(Multiple Choice)
4.7/5
(30)

To assign a phrase as the value of a String variable, in which of the following characters should the text be placed?

(Multiple Choice)
4.7/5
(34)

The String type is a class, not a primitive data type.

(True/False)
4.7/5
(39)

Which kind of TextView can suggest the completion of a word after the first few letters?

(Multiple Choice)
4.8/5
(29)

What method returns the text label from a selected Spinner item?

(Multiple Choice)
4.9/5
(34)

Good graphic design communicates simplicity.

(True/False)
4.7/5
(26)

You should always declare variables in an Android application at the end of the Activity.

(True/False)
4.9/5
(35)

Write the statement to display the string "It's my birthday!" in a TextView object named whatsToday. ______________________________

(Short Answer)
4.9/5
(36)

The default value for a boolean variable is True.

(True/False)
4.8/5
(35)
Showing 1 - 20 of 50
close modal

Filters

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