You are on page 1of 15

Home / My courses /

UGRD-CS6328-2033T /
Week 14: Android Mobile and Web Application /
Final Exam

Started on Thursday, 3 June 2021, 6:34 PM


State Finished
Completed on Thursday, 3 June 2021, 7:09 PM
Time taken 35 mins 37 secs
Marks 47.00/50.00
Grade 94.00 out of 100.00

Question 1
Correct

Mark 1.00 out of 1.00

Choose the letter of the correct answer.

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

Mark 1.00 out of 1.00

400ms is the default duration length of an animation.

Select one:
True

False 

Question 3
Correct

Mark 1.00 out of 1.00

A button should contain either text or an icon.

Select one:
True 

False
Question 4
Correct

Mark 1.00 out of 1.00

Choose the letter of the correct answer.

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

Mark 1.00 out of 1.00

ANR stands for Application Not Reacting.

Select one:
True

False 

Question 6
Correct

Mark 1.00 out of 1.00

Choose the letter of the correct answer.

The value for Toast.LENGTH_SHORT

Select one:
a. 1

b. 0 

c. 1000

d. 100
Question 7
Correct

Mark 1.00 out of 1.00

When you create a new MediaPlayer, it is in the Idle state.

Select one:
True 

False

Question 8
Correct

Mark 1.00 out of 1.00

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

Mark 1.00 out of 1.00

The birthdate of Android was on November 5, 2007

Select one:
True 

False
Question 10
Correct

Mark 1.00 out of 1.00

Choose the letter of the correct answer.

Which of the following is not an option to reference your controls?

Select one:
a. import view controls

b. get the reference

c. use casting

d. set text 

Question 11
Correct

Mark 1.00 out of 1.00

Choose the letter of the correct answer.

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

Mark 1.00 out of 1.00

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

Mark 1.00 out of 1.00

Identify if the statement if True or False. Write True if statement is true otherwise False

SDK Platform includes an android.jar file.

Select one:
True 

False

Question 14
Correct

Mark 1.00 out of 1.00

External storage stores private data on the device memory.

Select one:
True

False 

Question 15
Correct

Mark 1.00 out of 1.00

Choose the letter of the correct answer.

The value of the element android:duration in frame animation are in?

Select one:
a. Milliseconds 

b. Nanoseconds

c. Seconds

d. Microseconds

Question 16
Correct

Mark 1.00 out of 1.00

WebKit library is responsible for the platform's browser support.

Select one:
True 

False
Question 17
Correct

Mark 1.00 out of 1.00

Roman opens Instagram application and starts posting pictures, but before he opens it, the app is already running in the background.

Simulation: Instagram ->onStart() ->onResume() -> (instagram running)

Select one:
True 

False

Question 18
Correct

Mark 1.00 out of 1.00

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

Mark 0.00 out of 1.00

Choose the letter of the correct answer.

A Layout that arranges its children in a single column or a single row

Select one:
a. LinearLayout 

b. GridLayout

c. RelativeLayout

d. TableLayout
Question 20
Correct

Mark 1.00 out of 1.00

Android provides full support for SQLite databases.

Select one:
True 

False

Question 21
Correct

Mark 1.00 out of 1.00

It tell the property animation system how to calculate values for a given property.

Evaluators 

300ms View Animation Property Animation ValueAnimator

Your answer is correct.

Question 22
Correct

Mark 1.00 out of 1.00

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

Mark 1.00 out of 1.00

android:OnClick attribute defines the click even handler for a checkbox or radio button.

Select one:
True 

False
Question 24
Correct

Mark 1.00 out of 1.00

Identification. Write your answer on the space provided.

Two types of screen orientation.


(NOTE: Answers must be arranged alphabetically, no spacing and separated by a semicolon/;)

Answer: Portrait;Landscape 

Question 25
Correct

Mark 1.00 out of 1.00

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

Mark 1.00 out of 1.00

Refer to this. Given the following URI "content://feu.eastasia.android/mobile3/13"

What is the segment value for the id?

Select one:
a. content

b. 13 

c. feu.eastasia.android

d. mobile3

Question 27
Correct

Mark 1.00 out of 1.00

To request audio focus, you must call requestAudioFocus() from the AudioManager.

Select one:
True 

False
Question 28
Correct

Mark 1.00 out of 1.00

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

Mark 1.00 out of 1.00

This class is used to store a set of values that the ContentResolver can process.

Select one:
a. ContentValues 

b. File

c. Values

d. none of the given

Question 30
Correct

Mark 1.00 out of 1.00

To close the database

Select one:
a. finish()

b. dismiss()

c. close() 

d. exit()

Question 31
Correct

Mark 1.00 out of 1.00

It is recommended to use hard coded pixel values in your application code for screen independence.

Select one:
True

False 
Question 32
Correct

Mark 1.00 out of 1.00

A library that is responsible for browser support.

Select one:
a. PacketVideo's

b. WebKit 

c. ToolKit

d. None of the given

Question 33
Correct

Mark 1.00 out of 1.00

Android provides full support for SQLite databases.

Select one:
True 

False

Question 34
Incorrect

Mark 0.00 out of 1.00

Choose the letter of the correct answer.

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

Mark 1.00 out of 1.00

Aspect ratio of a screen is defined as long or not long.

Select one:
True 

False

Question 36
Correct

Mark 1.00 out of 1.00

View Animation involves displaying drawable resources one after another.

Select one:
True

False 

Question 37
Correct

Mark 1.00 out of 1.00

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 

MediaPlayer focusChange Wake Lock Permission Internet Permission

Your answer is correct.

Question 38
Correct

Mark 1.00 out of 1.00

Full viewport width is also known as full-screen mode

Select one:
True

False 
Question 39
Correct

Mark 1.00 out of 1.00

DialogFragment is used to host time or date picker.

Select one:
True 

False

Question 40
Correct

Mark 1.00 out of 1.00

Actions in a popup menu should directly affect the corresponding content.

Select one:
True

False 

Question 41
Correct

Mark 1.00 out of 1.00

A window feature that identifies the user location, and provides user actions and navigation modes.

Answer: action bar 

Question 42
Correct

Mark 1.00 out of 1.00

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

Mark 1.00 out of 1.00

To update a record from a given table.

Select one:
a. add()

b. ALTER

c. edit()

d. update() 

Question 44
Correct

Mark 1.00 out of 1.00

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

Mark 1.00 out of 1.00

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

Mark 0.00 out of 1.00

Choose the letter of the correct answer.

Exporting SDK file needs to be compiled, run and test first.

Select one:
True

False 

Question 47
Correct

Mark 1.00 out of 1.00

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

Mark 1.00 out of 1.00

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

Mark 1.00 out of 1.00

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

Mark 1.00 out of 1.00

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...

You might also like