Professional Documents
Culture Documents
UGRD-CS6328-2033T /
Week 14: Android Mobile and Web Application /
Final Exam
Question 1
Correct
In LinearLayout you can specify the layout direction with the ________ attribute.
Select one:
a. android:rotation
b. android:orientation
c. android:direction
d. android:position
Question 2
Correct
Select one:
True
False
Question 3
Correct
Select one:
True
False
Question 4
Correct
From the following APIs used for animation which of the following is best suited for sprite images.
Select one:
a. Drawable
b. View
c. Canvas
d. Property
Question 5
Correct
Select one:
True
False
Question 6
Correct
Select one:
a. 1
b. 0
c. 1000
d. 100
Question 7
Correct
Select one:
True
False
Question 8
Correct
Which of the following is best suited if you have application that set the configuration enabled or disabled.
Select one:
a. Radio Buttons
b. Toggle Buttons
c. Buttons
d. Check Boxes
Question 9
Correct
Select one:
True
False
Question 10
Correct
Select one:
a. import view controls
c. use casting
d. set text
Question 11
Correct
How you get access to a TextView, named tView, in your XML file?
Select one:
a. findViewById(R.id.tView);
b. (TextView) getViewById(tView);
c. getViewById(tView);
d. (TextView) findViewById(R.id.tView);
e. TextView t
f. TextView t
g. TextView t
h. TextView t
Question 12
Correct
IDENTIFICATION. Read the question carefully and type your answer in the space provided.
A dialog for users to select a single value for a set by using up/down buttons or via a swipe gesture
Answer: Pickers
Question 13
Correct
Identify if the statement if True or False. Write True if statement is true otherwise False
Select one:
True
False
Question 14
Correct
Select one:
True
False
Question 15
Correct
Select one:
a. Milliseconds
b. Nanoseconds
c. Seconds
d. Microseconds
Question 16
Correct
Select one:
True
False
Question 17
Correct
Roman opens Instagram application and starts posting pictures, but before he opens it, the app is already running in the background.
Select one:
True
False
Question 18
Correct
In developing Android application one must visit this site that give more update detail about Android.
Select one:
a. developer.google.com
b. google.api.com
c. developer.android.com
d. google.android.com
Question 19
Incorrect
Select one:
a. LinearLayout
b. GridLayout
c. RelativeLayout
d. TableLayout
Question 20
Correct
Select one:
True
False
Question 21
Correct
It tell the property animation system how to calculate values for a given property.
Evaluators
Question 22
Correct
A context menu is a floating menu that appears when the user performs a long-click on an element.
Select one:
True
False
Question 23
Correct
android:OnClick attribute defines the click even handler for a checkbox or radio button.
Select one:
True
False
Question 24
Correct
Answer: Portrait;Landscape
Question 25
Correct
In case you need to perform certain actions when the dialog goes away, you can implement the offDismiss() method in your
DialogFragment.
Select one:
True
False
Question 26
Correct
Select one:
a. content
b. 13
c. feu.eastasia.android
d. mobile3
Question 27
Correct
To request audio focus, you must call requestAudioFocus() from the AudioManager.
Select one:
True
False
Question 28
Correct
Google Play Billing provides the static libraries and samples that allow you to integrate billing services in your app with Google Play.
Select one:
True
False
Question 29
Correct
This class is used to store a set of values that the ContentResolver can process.
Select one:
a. ContentValues
b. File
c. Values
Question 30
Correct
Select one:
a. finish()
b. dismiss()
c. close()
d. exit()
Question 31
Correct
It is recommended to use hard coded pixel values in your application code for screen independence.
Select one:
True
False
Question 32
Correct
Select one:
a. PacketVideo's
b. WebKit
c. ToolKit
Question 33
Correct
Select one:
True
False
Question 34
Incorrect
You were asked to create a tween animation of your image in what directory you'll put your xml file.
Select one:
a. res/anim
b. res/layout
c. res/animation
d. res/drawable
Question 35
Correct
Select one:
True
False
Question 36
Correct
Select one:
True
False
Question 37
Correct
A way to signal to the system that your application is using some feature that should stay available even if the phone is idle.
Wake lock
Question 38
Correct
Select one:
True
False
Question 39
Correct
Select one:
True
False
Question 40
Correct
Select one:
True
False
Question 41
Correct
A window feature that identifies the user location, and provides user actions and navigation modes.
Question 42
Correct
In order to turn your service into a foreground service, you must create a Notification for the status bar and call startForeground() from the
Service.
Select one:
True
False
Question 43
Correct
Select one:
a. add()
b. ALTER
c. edit()
d. update()
Question 44
Correct
Method called to start another activity, passing it an Intent that describes the activity you want to start.
Select one:
a. setAdapter()
b. startActivity()
c. loadActivity()
d. putExtra()
Question 45
Correct
TRUE OR FALSE
ArrayAdapter is a resource ID that's unique to the item, which allows the application can recognize the item when the user selects it.
Select one:
True
False
Question 46
Incorrect
Select one:
True
False
Question 47
Correct
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.
Select one:
True
False
Question 48
Correct
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.
Select one:
True
False
Question 49
Correct
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.
Select one:
a. OHA
b. Apple
c. Google
d. Windows
Question 50
Correct
The state called "Resumed" is when the activity is in the foreground and the user can interact with it.
Select one:
True
False
◄ Final Quiz 2
Jump to...