Search Header Logo

Android 6

Authored by ivi gam

Business

Professional Development

Used 1+ times

Android 6
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

All layout classes are the subclasses of

android.view.View
android.view.ViewGroup
android.widget
None of the above

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Action Bar can be associated to

Only Fragments
Only Activities
Both Activities and Fragments
None of the above

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Fill in the blank space in the following sentence with the correct choice: The ………………………… is a layout that arranges other views either horizontally in a single column or vertically in a single row.

LinearLayout
RelativeLayout
ConstraintLayout
Frame Layout

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Your app receives location updates from NETWORK_PROVIDER or from GPS_PROVIDER. If your app receives location information from either of these location provider sources, you need to declare that the app uses these hardware features in your app manifest. Which of the following tags gives the location information to your app?

<uses-permission android:name=”android.permission.ACCESS_FINE_GPS” />
<uses-permission android:name=”android.permission.INTERNET” />
<uses-permission android:name=”android.permission.ACCESS_FINE_LOCATION” />
<uses-permission android:name=”android.permission.ACCESS_GPS_LOCATION” />

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is commit() and apply() in SharedPreferences?

- commit() returns a boolean value of success or failure immediately by writing data synchronously. - B28:M28.
- apply() returns a boolean value of success or failure immediately by writing data synchronously. commit() is asynchronous and it won't return any boolean response.
Both apply and commit returns a boolean value of success or failure immediately by writing data synchronously.
Both apply and commit are asynchronous and it won't return any boolean response

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The ... uses composition in place of inheritance to extend the functionality of an object at runtime. BufferedReader and BufferedWriter are some excellent examples of... in Java.

Composite pattern
Decorator pattern
Template pattern
State pattern

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

...makes it easy to create loosely coupled components, which typically means that components consume functionality defined by interfaces without having any first-hand knowledge of which implementation classes are being used

Bridge
Decorator
Dependency injection
None

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?