Exam 1: Basics of Android: Hello World

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

AVD stands for __________________.

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

Android Virtual Device

The AppCompatActivity's direct superclass is:

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

B

In order to test an app on a device, we need to:

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

B

An XML element can have only 0 or 1 attribute.

(True/False)
4.8/5
(37)

Which of the following defines a valid String element?

(Multiple Choice)
4.7/5
(34)

Which of the following code snippets defines a valid dimension element?

(Multiple Choice)
4.7/5
(33)

XML elements can be nested.

(True/False)
4.8/5
(41)

We can access the activity_main.xml resource file from the layout directory using the expression ___________.

(Short Answer)
4.9/5
(46)

The int parameter of the setContentView( int ) method represents:

(Multiple Choice)
4.8/5
(33)

The name of the directory where we should place the icon file for the app is:

(Multiple Choice)
4.8/5
(36)

We can test an app on a device only in vertical orientation.

(True/False)
4.8/5
(40)

What hex number represents green?

(Multiple Choice)
4.8/5
(36)

Which class do we use to send some output to Logcat?

(Multiple Choice)
4.9/5
(24)

Android apps can be distributed via:

(Multiple Choice)
4.9/5
(33)

It is possible to set up breakpoints throughout the code so that we can debug the app.

(True/False)
4.9/5
(43)

It is possible to preview a GUI XML file inside the environment without running the app.

(True/False)
4.9/5
(35)

The colors.xml file contains ___________ constants.

(Short Answer)
4.8/5
(38)

A color has been defined in colors.xml using < color name="myColor">#33FD42< /color>. How do you use it?

(Multiple Choice)
4.8/5
(37)

The name of the XML attribute that we use to specify that an app will run in horizontal orientation only is:

(Multiple Choice)
4.8/5
(32)

The red, green, and blue values of a gray shade are all equal. Including black and white, how many shades of gray are there?

(Multiple Choice)
4.9/5
(39)
Showing 1 - 20 of 23
close modal

Filters

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