Android - Chapter 2 Test

Is this your test? Login to manage it. If not, you can create a quiz just like it.

This is a non-interactive preview of the quiz content.

1.
1 point
The drawable folders in the Package Explorer are ldpi, mdpi and _____.
2.
1 point
When an application has more than one Activity, the Android Manifest file must have an intent so the application can navigate among multiple Activities.
3.
1 point
A Layout that arranges components in a vertical column or horizontal row.
4.
1 point
In which subfolder in the Package Explorer are the XML files store?
5.
1 point
Errors in program code are indicated by ____.
6.
1 point
The ____ method creates an intent to start another Activity.
7.
1 point
The three types of button controls are Button, ToggleButton & ___
8.
1 point
This symbol is placed at the end of most lines of Java code?
9.
1 point
The preferred unit of measurement is ____.
10.
1 point
A unit of measurement that stands for scaled independent pixels.
11.
1 point
The OnClickListener() method awaits the button click action.
12.
1 point
A piece of code that serves as a placeholder to declare itself, containing just enough code to link to the rest of the program.
13.
1 point
Which of the following is NOT an ImageView property?
14.
1 point
A statement that makes more Java functions available to a program.
15.
1 point
An object is a piece of code that serves as a placeholder to declare itself, containing just enough code to link to the rest of the program
16.
1 point
A property that changes the text written within a control.
17.
1 point
The first phase of program development is to ____.
18.
1 point
In the Palette in the layout folder, in which category is the ImageView control found?
19.
1 point
A property that sets the size of text in a control.
20.
1 point
A control that displays an icon or a graphic from a picture file.
21.
1 point
What is the preferred unit measure for text size?
22.
1 point
Comments in Java start with pound (#) signs.
23.
1 point
Which of the following is the correct code to declare a Button control with the variable bt that references a button in the XML layout with Id property btnReserve.
24.
1 point
What is the property that defines the name of a Button control?
25.
1 point
The entry point of an Activity is the ____ method.
26.
1 point
Java code necessary to display the content of a specific screen
27.
1 point
A part of a program coded to respond to the specific event.
28.
1 point
Which layout method provides the most flexibility in positioning controls?
29.
1 point
Which of the following code opens the XML layout named medical?
30.
1 point
To create an object of a specific class.
31.
1 point
A specific, concrete instance of a class.
32.
1 point
Which two keys are pressed to auto-complete a line of Java code?
33.
1 point
To display graphics such as pictures and icons in an app, you use a TextView control.
34.
1 point
This is an Android component that represents a single screen with a user interface.
35.
1 point
Code in the Android Manifest file that allows an Android application with more than one Activity to navigate among Activities.