Mobile Programming 2 Blended INCOMPLTE
Mobile Programming 2 Blended INCOMPLTE
Mobile Programming 2 Blended INCOMPLTE
Quiz 001
1.) Identify if the statement if True or False. Write True if statement is true
otherwise False
One of the advantages of Android is the ability for anyone to customize the
Google Android program.
- TRUE
2.) Identify if the statement if True or False. Write True if statement is true
otherwise False
WebKit library is responsible for the platform's browser support.
- TRUE
4.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Android applications run in their own processes.
- TRUE
6.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Android is a software platform and OS for mobile devices.
- TRUE
7.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Android supports all kinds of wireless communications.
- TRUE
10.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Tech-giant Google owns Android.
- TRUE
Quiz 002
1.) Identify if the statement if True or False. Write True if statement is true
otherwise False
AutoComplete is a subclass of EdiText that provides suggestions to users as they
type.
- True?
2.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Input controls are interactive components in your app's user interface.
- True
5.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Google Play Billing allows you to perform license verification.
- True
6.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Checkbox options allow users to one option from a set.
- True
7.) Identify if the statement if True or False. Write True if statement is true
otherwise False
A button should contain both text and an icon.
- True
10.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Text fields also accept other input type such as number, password or email
address.
- True
Preliminary Exam
1.) Identify if the statement if True or False. Write True if statement is true
otherwise False
CERT.RSA file includes the certificate of the application.
- True
2.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Android Beta was released on November 5, 2012
- False
3.) The state called "Resumed" is when the activity is in the foreground and the
user can interact with it.
- True
4.) The state called "Paused" is when the activity is partially obscured by
another activity-the other activity that is in the foreground is semi-
transparent or does not cover the entire screen.
- True
5.) “Nougat” is what version of Android?
- 7.x
6.) Google Play Billing provides the static libraries and samples that allow you
to integrate billing services in your app with Google Play.
- True?
8.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Test Projects contain shareable Android source code and resources.
- False?
9.) The Android SDK was first issued as an "early look" release in November
2007.
- True
12.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Text fields also accept other input type such as number, password or email
address.
- True
13.) Identify if the statement if True or False. Write True if statement is true
otherwise False
WebKit library is responsible for the platform's browser support.
- True
14.) Identify if the statement if True or False. Write True if statement is true
otherwise False
android:OnClick attribute defines the click even handler for a checkbox or radio
button.
- False?
16.) Spinner is a drop-down list that allows users to select one value from a
set.
- True
19.) Identify if the statement if True or False. Write True if statement is true
otherwise False
SDK Platform-tools are always compatible with older platforms.
- True??
20.) The birthdate of Android was on November 5, 2007
- True
21.) Identify if the statement if True or False. Write True if statement is true
otherwise False
You can specify an action button by setting android:action attribute.
- False?
22.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Text fields only accept single line input.
- False
25.) What are the three types of project in developing an Android application?
(NOTE: Answers must be arranged alphabetically)
- Android Projects, Library Projects, Test Projects
26.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Checkbox options allow users to one option from a set.
- True
27.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Android is a software platform and OS for mobile devices.
- True
28.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Android applications run in their own processes.
- True
30.) Identify if the statement if True or False. Write True if statement is true
otherwise False
SDK tools contain platform-dependent tools for the application development.
- False?
Quiz 003
1.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Or plus sign means that this is a new resource name that must be created and
added to our resources.
- True?
2.) Identify if the statement if True or False. Write True if statement is true
otherwise False
It is recommended to use hard coded pixel values in your application code for
screen independence.
- False
3.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Your application achieves density dependence when it preserves the physical size
of user interface elements.
- False?
5.) Identify if the statement if True or False. Write True if statement is true
otherwise False
ArrayAdapter creates a view for each array item by calling toString() on each
item and placing the contents in a TextView.
- True
7.) Identify if the statement if True or False. Write True if statement is true
otherwise False
You should always use dp units when defining your application's UI.
- True
10.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Screen size is measured using the screen's height and width.
- False?
Quiz 004
1.) A window feature that identifies the user location, and provides user
actions and navigation modes.
- Action Bar
2.) A dialog fills the screen and is normally used for modal events that does
not require users to take an action before they can proceed.
- False
6.) It displays a list of items in a vertical list that is anchored to the view
that invoked the menu
- Popup menu
7.) If you've developed your application for Android 2.3.x (API level 10) or
lower, the contents of your options menu appear at the bottom of the screen when
the user presses the menu button.
- True
8.) "<group>" allows you to categorize menu items so they share properties such
as active state and visibility.
- True
Midterm Exam
7.) It displays a list of items in a vertical list that is anchored to the view
that invoked the menu
- popup menu
13.) Identify if the statement if True or False. Write True if statement is true
otherwise False
You should always use dp units when defining your application's UI.
- True
15.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Aspect ratio of a screen is defined as long or not long.
- False
16.) Identify if the statement if True or False. Write True if statement is true
otherwise False
It is recommended to use hard coded pixel values in your application code for
screen independence.
- False
17.) Actions in a popup menu should directly affect the corresponding content.
- False
20.) To see the details of the notification, the user opens the notification
area.
- False?
24.) Identify if the statement if True or False. Write True if statement is true
otherwise False
ArrayAdapter creates a view for each array item by calling toString() on each
item and placing the contents in a TextView.
- True
25.) It offers actions that affect a specific item or context frame in the UI.
- contextual menu
26.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Or plus sign means that this is a new resource name that must be created and
added to our resources.
- True?
28.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Screen density is usually referred to as ppi (pixels per inch)
- False
30.) A window feature that identifies the user location, and provides user
actions and navigation modes.
- action bar
32.) A dialog fills the screen and is normally used for modal events that does
not require users to take an action before they can proceed.
- False
33.) "<group>" allows you to categorize menu items so they share properties such
as active state and visibility.
- True
35.) Write True if statement is true otherwise False Most alerts don't need
titles.
- true
37.) In case you need to perform certain actions when the dialog goes away, you
can implement the offDismiss() method in your DialogFragment.
- False
39.) A context menu is a floating menu that appears when the user performs a
long-click on an element.
- True
42.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Resolution is the total number of physical pixels on a screen.
- True
43.) Identify if the statement if True or False. Write True if statement is true
otherwise False
General densities of an actual screen size of an android device can be small,
normal, large and xlarge.
- False
44.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Screen size is measured using the screen's height and width.
- False?
46.) Action bar provides a dedicated space for giving your app an identity and
indicating the user's location in the app.
- True
47.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Your application achieves density dependence when it preserves the physical size
of user interface elements.
- True
49.) By default, the custom layout does not fill the dialog window
- True
Quiz 005
1.) This class is the primary API for playing sound and video
- MediaPlayer?
2.) Identify if the statement if True or False. Write True if statement is true
otherwise False
To ensure that the CPU continues running while your MediaPlayer is playing, call
the setWakeMode() method when initializing your MediaPlayer.
- True?
3.) Identify if the statement if True or False. Write True if statement is true
otherwise False
A time interpolator defines how specific values in an animation are calculated
as a function of time.
- True?
4.) Identify if the statement if True or False. Write True if statement is true
otherwise False
When you create a new MediaPlayer, it is in the Idle state.
- True
5.) Identify if the statement if True or False. Write True if statement is true
otherwise False
A running service holds a higher level of importance within the system-the
system will almost never kill the service
- False
7.) Identify if the statement if True or False. Write True if statement is true
otherwise False
View Animation involves displaying drawable resources one after another.
- False
8.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Audio Focus is cooperative in nature.
- True
9.) Identify if the statement if True or False. Write True if statement is true
otherwise False
ANR stands for Application Not Running.
- False
10.) Identify if the statement if True or False. Write True if statement is true
otherwise False
To request audio focus, you must call requestAudioFocus() from the AudioManager.
- True
Quiz 006
1.) Identify if the statement if True or False. Write True if statement is true
otherwise False
The Android SDK includes a sqlite3 database tool that allows you to browse table
contents, run SQL commands, and perform other useful functions on SQLite
databases.
- True
2.) Identify if the statement if True or False. Write True if statement is true
otherwise False
SQLite databases store structured data in a private database.
- True
3.) You cannot specify whether or not to have an animation repeat when it
reaches the end of a duration and how many times to repeat the animation.
- False
5.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Android provides full support for SQLite databases.
- True
6.) Drawable animation allows you to load resources and display them one frame
after another.
- True
7.) Identify if the statement if True or False. Write True if statement is true
otherwise False
Every Android-compatible device supports a shared "external storage" that you
can use to save files.
- True
8.) Identify if the statement if True or False. Write True if statement is true
otherwise False
The SharedPreferences class provides a general framework that allows you to save
and retrieve persistent key-value pairs of primitive data types.
- True
Final Exam
2.) This APIs make it easy for you to build location-aware applications, without
needing to focus on the details of the underlying location technology.
- Location?
8.) You want to test your application that has web integration and you need to
test it in your AVD what address your going to use to locate your web server.
- 10.0.2.2?
11.) They offers a variety of services that help you build new revenue streams,
manage app distribution, track app usage, and enhance your app with features
such as maps, sign-in, and cloud messaging.
- Google?
18.) Which of the following is best suited if you have application that set the
configuration enabled or disabled.
- Check Boxes
20.) Jof opens Twitter application and posts several tweets, and presses the
back button.
Simulation: twitter ->onCreate() ->onStart() ->onResume() -> (twitter running)
->onStop() ->onDestroy()
- finish()?
21.) Yolanda opens Minion Rush application and starts playing, then suddenly his
sister called. After they finished talking, he resumed playing.
Simulation: minion rush ->onCreate() ->onStart() ->onResume() -> (minion rush
running) ->onPause() ->onStart() -> (minion rush running)
- True
25.) A virtual mobile device that runs on your computer that is included under
your android SDK.
- Android Emulator
33.) Choose the letter of the correct answer. How you get access to a TextView,
named tView, in your XML file?
- TextView t = getViewById(tView);
35.) The return value for a given view control with onClick() event in xml
layout.
- View?
39.) You want to passed a single value from camera activity to another. What
method is appropriate to use.
- getIntents()?
45.) Choose the letter of the correct answer. This element must be the root node
for the file and can hold one more and elements.
- <XML>?
48.) APK files are compressed package based on the _____ file format
- .zip?