Deck 2: Simplify the Android Studio User Interface

Full screen (f)
exit full mode
Question
Where do you need to put a picture file that will be used with an ImageView control?

A) pictures folder
B) resources folder
C) controls folder
D) drawable folder
Use Space or
up arrow
down arrow
to flip the card.
Question
Comments in Java start with pound ( # ) signs.
Question
An object is a specific, concrete instance of a class.
Question
When you import a package, you make all of the classes under that package available.
Question
Form factor refers to the manufacturer of a mobile device.
Question
Which type of layout organizes layout components in relation to each other?

A) Grid layout
B) Table layout
C) Linear layout
D) Relative layout
Question
When centering a control, what kind of line is displayed when you drag the control to the center of the emulator window?

A) a blue solid vertical line
B) a green dashed vertical line
C) a green solid vertical line
D) a red dashed horizontal line
Question
Before a mobile app can be coded using Java, it must be designed.
Question
What is designing a program most analogous to?

A) constructing a building
B) doing laundry
C) painting with watercolor
D) performing an experiment
Question
In which folder are resources for medium-density screens placed?

A) drawable-hdpi folder
B) drawable-ldpi folder
C) drawable-mdpi folder
D) drawable-medium folder
Question
What is contained in the Minimum SDK text box?

A) API number
B) compiler version
C) serial number
D) UPC code
Question
Which control can display an icon or a graphic such as a picture file or shape?

A) Display control
B) JPG control
C) ImageView control
D) Picture control
Question
Which of the following abbreviations is not a valid measurement unit for text display?

A) dp
B) ft
C) px
D) sp
Question
The Activity component is the point at which the application makes contact with the users.
Question
The Android Manifest file is not required, but it does make an application run faster.
Question
I t is a Java standard to begin a name with an uppercase letter, omit spaces, and emphasize each new word with an initial uppercase letter.
Question
The Android SDK includes two types of button controls: Button and ToggleButton.
Question
What does the unit sp stand for?

A) scaled-dependent pixels
B) scaled-independent pixels
C) size preference
D) standard pixel
Question
There are three phases to the program development life cycle.
Question
Which type of layout organizes layout components in a vertical column or horizontal row?

A) Table layout
B) Grid layout
C) Linear layout
D) Relative layout
Question
The ____________________ property sets the size of text in a control.
Question
Which of the following statements is a way of making more Java functions available to your specific program?

A) assignment statement
B) import statement
C) include statement
D) reference statement
Question
Which method displays the content of a specific screen?

A) drawContents method
B) getDisplay method
C) makeDisplay method
D) setContentView method
Question
What is a set of Java statements that can be included inside a Java class?

A) activity
B) block
C) intent
D) method
Question
What symbol indicates errors in program code?

A) blue solid lines
B) bolded text
C) green curly lines
D) red curly lines
Question
What are the components of a program that perform the tasks required in the program?

A) Activities
B) Event handlers
C) Processing objects
D) Task items
Question
Layout resources are stored as ____________________ code in the res/layout resource directory.
Question
Which of the following wait for user interaction.

A) Action subscribers
B) Event listeners
C) Polling objects
D) Targeted components
Question
What is the first phase of program development?

A) code the program
B) design the user interface
C) gather program requirements
D) test the program
Question
Which method creates an intent to start another Activity?

A) beginActivity method
B) createActivity method
C) prepareActivity method
D) startActivity method
Question
Which of the following terms best describes a piece of code that actually serves as a placeholder to declare itself?

A) control
B) inclusion
C) event handler
D) stub
Question
By default, the vertical Linear layout organizes each new control directly ____________________ the previous control.
Question
What is a part of a program coded to respond to a specific event?

A) action responder
B) event handler
C) response method
D) triggered method
Question
What is the entry point of an Activity?

A) begin method
B) onEntry method
C) onCreate method
D) prepare method
Question
What file lists the permissions needed to access other Android functions required by your app?

A) styles.xml
B) AndroidManifest.xml
C) activity_main.xml
D) Strings.xml
Question
A(n) ____________________ layout organizes components in a vertical column or a horizontal row.
Question
Which term best describes a blueprint or a template for creating objects by defining its properties?

A) app
B) class
C) control
D) widget
Question
What term best is best described as defining one particular variation of an object within a class?

A) initiate
B) instantiate
C) justify
D) stabilize
Question
In Java, what is a tap of the touch screen known as?

A) click event
B) display action
C) tap event
D) touch event
Question
You can use a combination of layouts, meaning you can ____________________ controls within one another.
Question
Any intent to start a new Activity requires a(n) ____________________ and the name of the Activity being opened.
Question
You can construct Activities using ____________________ layout files and a Java class.
Question
All Palette controls can use a property called ____________________ to provide a buffer from the top of the screen, to assist exact layout design.
Question
The ____________________ method creates an intent to start another activity.
Question
The Button control is provided in the ____________________ category in the Palette.
Question
The ____________________ method moves the Activity it is called with to the top of the Activity stack.
Question
A(n) ______________ is a set of Java statements that can be included inside a Java class.
Question
High-density images should be placed in the ____________________ folder under the res folder.
Question
You use the ____________________ property to name a control.
Question
A(n) _____________ is a piece of code that serves as a placeholder to declare itself.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/50
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 2: Simplify the Android Studio User Interface
1
Where do you need to put a picture file that will be used with an ImageView control?

A) pictures folder
B) resources folder
C) controls folder
D) drawable folder
B
2
Comments in Java start with pound ( # ) signs.
False
3
An object is a specific, concrete instance of a class.
True
4
When you import a package, you make all of the classes under that package available.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
5
Form factor refers to the manufacturer of a mobile device.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
6
Which type of layout organizes layout components in relation to each other?

A) Grid layout
B) Table layout
C) Linear layout
D) Relative layout
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
7
When centering a control, what kind of line is displayed when you drag the control to the center of the emulator window?

A) a blue solid vertical line
B) a green dashed vertical line
C) a green solid vertical line
D) a red dashed horizontal line
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
8
Before a mobile app can be coded using Java, it must be designed.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
9
What is designing a program most analogous to?

A) constructing a building
B) doing laundry
C) painting with watercolor
D) performing an experiment
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
10
In which folder are resources for medium-density screens placed?

A) drawable-hdpi folder
B) drawable-ldpi folder
C) drawable-mdpi folder
D) drawable-medium folder
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
11
What is contained in the Minimum SDK text box?

A) API number
B) compiler version
C) serial number
D) UPC code
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
12
Which control can display an icon or a graphic such as a picture file or shape?

A) Display control
B) JPG control
C) ImageView control
D) Picture control
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
13
Which of the following abbreviations is not a valid measurement unit for text display?

A) dp
B) ft
C) px
D) sp
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
14
The Activity component is the point at which the application makes contact with the users.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
15
The Android Manifest file is not required, but it does make an application run faster.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
16
I t is a Java standard to begin a name with an uppercase letter, omit spaces, and emphasize each new word with an initial uppercase letter.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
17
The Android SDK includes two types of button controls: Button and ToggleButton.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
18
What does the unit sp stand for?

A) scaled-dependent pixels
B) scaled-independent pixels
C) size preference
D) standard pixel
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
19
There are three phases to the program development life cycle.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
20
Which type of layout organizes layout components in a vertical column or horizontal row?

A) Table layout
B) Grid layout
C) Linear layout
D) Relative layout
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
21
The ____________________ property sets the size of text in a control.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
22
Which of the following statements is a way of making more Java functions available to your specific program?

A) assignment statement
B) import statement
C) include statement
D) reference statement
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
23
Which method displays the content of a specific screen?

A) drawContents method
B) getDisplay method
C) makeDisplay method
D) setContentView method
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
24
What is a set of Java statements that can be included inside a Java class?

A) activity
B) block
C) intent
D) method
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
25
What symbol indicates errors in program code?

A) blue solid lines
B) bolded text
C) green curly lines
D) red curly lines
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
26
What are the components of a program that perform the tasks required in the program?

A) Activities
B) Event handlers
C) Processing objects
D) Task items
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
27
Layout resources are stored as ____________________ code in the res/layout resource directory.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
28
Which of the following wait for user interaction.

A) Action subscribers
B) Event listeners
C) Polling objects
D) Targeted components
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
29
What is the first phase of program development?

A) code the program
B) design the user interface
C) gather program requirements
D) test the program
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
30
Which method creates an intent to start another Activity?

A) beginActivity method
B) createActivity method
C) prepareActivity method
D) startActivity method
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
31
Which of the following terms best describes a piece of code that actually serves as a placeholder to declare itself?

A) control
B) inclusion
C) event handler
D) stub
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
32
By default, the vertical Linear layout organizes each new control directly ____________________ the previous control.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
33
What is a part of a program coded to respond to a specific event?

A) action responder
B) event handler
C) response method
D) triggered method
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
34
What is the entry point of an Activity?

A) begin method
B) onEntry method
C) onCreate method
D) prepare method
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
35
What file lists the permissions needed to access other Android functions required by your app?

A) styles.xml
B) AndroidManifest.xml
C) activity_main.xml
D) Strings.xml
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
36
A(n) ____________________ layout organizes components in a vertical column or a horizontal row.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
37
Which term best describes a blueprint or a template for creating objects by defining its properties?

A) app
B) class
C) control
D) widget
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
38
What term best is best described as defining one particular variation of an object within a class?

A) initiate
B) instantiate
C) justify
D) stabilize
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
39
In Java, what is a tap of the touch screen known as?

A) click event
B) display action
C) tap event
D) touch event
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
40
You can use a combination of layouts, meaning you can ____________________ controls within one another.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
41
Any intent to start a new Activity requires a(n) ____________________ and the name of the Activity being opened.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
42
You can construct Activities using ____________________ layout files and a Java class.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
43
All Palette controls can use a property called ____________________ to provide a buffer from the top of the screen, to assist exact layout design.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
44
The ____________________ method creates an intent to start another activity.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
45
The Button control is provided in the ____________________ category in the Palette.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
46
The ____________________ method moves the Activity it is called with to the top of the Activity stack.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
47
A(n) ______________ is a set of Java statements that can be included inside a Java class.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
48
High-density images should be placed in the ____________________ folder under the res folder.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
49
You use the ____________________ property to name a control.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
50
A(n) _____________ is a piece of code that serves as a placeholder to declare itself.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 50 flashcards in this deck.