Android App Development quiz 1
What is contained in the Minimum SDK text box?
API number
What file lists the permissions needed to access other Android functions required by your app?
AndroidManifest.xml
Which of the following wait for user interaction.
Event listeners
Which control can display an icon or a graphic such as a picture file or shape?
ImageView control
what folder keeps resources such as images and music?
res
Where do you need to put a picture file that will be used with an ImageView control?
resources folder
What does the unit sp stand for?
scaled-independent pixels
Which method displays the content of a specific screen?
setContentView method
Which method creates an intent to start another Activity?
startActivity method
Which file is a default file that contains commonly used strings for an application?
strings.xml
Which of the following terms best describes a piece of code that actually serves as a placeholder to declare itself
stub
what happens when you click the run 'app' button in android studio?
the choose device dialog box is displayed
After the android emulator is loaded, what must you do before you can run your app in it?
unlock the virtual device
which phrase refers to how a user feels when using a particular device?
user experience
what is the return type of a method that returns nothing?
void
Which term describes a single element such as a TextView, Button, or CheckBox control?
widget
What string is placed in the default textview control in a new android app created using android studio?
"hello world!"
If you want to modify the value of the default TextView control in a new Android app, what should you do?
Edit the strings.xml file
Which type of layout organizes layout components in a vertical column or horizontal row?
Linear layout
Which term defines the namespace where your code resides in Java?
Package name
What are the components of a program that perform the tasks required in the program?
Processing objects
Which type of layout organizes layout components in relation to each other?
Relative layout
What does SDK stand for?
Software Development Kit
when you create a new android project, what is the default object placed into the emulator window?
TextView widget
What should a beginner typically use to change the contents of the strings.xml file?
Translations Editor
When centering a control, what kind of line is displayed when you drag the control to the center of the emulator window?
a green dashed vertical line
which part of android studio contains the key source application folders for the project?
android project view
What is the human-readable title for your application?
application name
Which term best describes a blueprint or a template for creating objects by defining its properties?
class
In Java, what is a tap of the touch screen known as?
click event
In which folder are resources for medium-density screens placed?
drawable-mdpi folder
which term best describes "a program that duplicates the look and feel of a particular device"?
emulator
What is a part of a program coded to respond to a specific event?
event handler
What is the first phase of program development?
gather program requirements
where are apps written for android sold and deployed?
google play
What term is used when creating an object from a class?
instantiate
what is the key to successful usage of an app?
intuitive interface
which programming language is used to write android apps?
java
Which of the following is a container that can hold as many widgets as needed?
layout
which of the following is not a feature supported by the android platform?
multiple monitors
what is the fee you must pay to google for each free app you publish on google play?
no fee
What is the entry point of an Activity?
onCreate method
Android code was released under the Apache license which means the platform is considered which of the following?
open source
The emulator mimics almost every feature of a real Android except for the ability to do what?
place a phone call
Which of the following two keywords should always be used on the declaration of the main method?
public and static
What symbol indicates errors in program code?
red curly lines
