MId_Term_Prep_From_Book Flashcards

1
Q

The ___________ IDE allows you to create, run and debug Android apps.

A

Android Development tools

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Multi-touch screens allow you to control your Android device with _________________ involving one touch or multiple simultaneous touches.

A

gestures

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The __________ included in the Android SDK, allows you to run Andorid apps in a simulated environment within Windows, Mac OS X, or Linux.

A

Android Emulator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Android uses a collection of _____________, which are named groups of related, pre-defined classes.

A

mashups

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Almost any noun can be reasonably represented as a software object in terms of ________________ and behaviours.

A

Attributes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A program unit called a(n) ________ houses the methods that perform its tasks.

A

class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

You send messages to an object. Each message is a(n) ________________ that tells a method of the object to perform its task.

A

method call

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Layout files are considered app resource and are stored in the projects _________ folder. GUI layouts are placed within that folders layout subfolder.

A

res

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

When designing an Android GUI, you typically want it to be _____________ so that it displays properly on various devices.

A

scalable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

You can easily _________ your app by creating additional XML resource files for string resources in other languages.

A

localize

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

The two measurements units for density independent pixels are ___________ and __________.

A

dp and dip

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

___________ enables the use to hear TalkBack speak what’s on the screen where the user touches.

A

Explore by Touch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Android uses a special folder-naming scheme to automatically choose the correct localized resources - for example, the folder ______ would contain a strings.xml file for Spanish and the _________folder would contain one for French.

A

values-es, values-ft

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

To access the app’s assets folder’s contents, a method should get the app’s AssetManager by calling method _________ (inherited indirectly from class Context Wrapper)

A

getAssets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Files in the assets folders are accessed via a(n) _________ package android.content.res, which can provide a list of all of the file names in a specified subfolder of assets an can be used to access each asset.

A

AssetManager

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

A(n) _______________ animation moves a View within its parent.

17
Q

By default, animations in an animation set are applied in parallel, but you can use the _____________
attribute to specify the number of milliseconds into the future at which an animation will begin.. This can be used to sequence the animation in a set.

A

android:startOffset

18
Q

A(n) ______________ –often called a text box or text field in other GUI technologies is a subclass of TextView that can display text and accept text input from the user.

19
Q

Use a(n) _________ to arrange GUI components into cells in a rectangular grid.

A

GridLayout

20
Q

Android Studio’s ________ window shows the nested structure of the GUI.

21
Q

Class __________ of a package andorid.os represents an app’s state information.

22
Q

You implement interface ____________ of package android.text to respond to events when the user interacts with an EditText component.

A

TextWatcher

23
Q

Before Android 3.0, a separate _____________ was typically associated with each screen of the app.

24
Q

The method ___________ is called by the system when an Activity is starting that is, when its GUI is about to be displayed so that the user can interact with the Activity.

25
Q

As you build your app’s GUI and add resources to your app, the IDE generates a class named _____________- that contains nested static classes representing each type of resources in your project’s res folder.

26
Q

Class _____________ contains constants for any drawable items, such as images, that you put in drawable folder in your app’s res folder.

A

R.drawable

27
Q

Class _____________ contains constants for each String in the strings.xml file.

28
Q

Once the layout if inflated, you can get references to the individual widgets using activity’s ___________ method. This method takes an int constant for a specific view.

A

findViewByID