• Home
  • Ask a Question
  • About
  • Contact
  • Advertise
  • Sitemap
MENU

Android MCQ

Android Questions | Multiple Choice | Questions and Answers | Test Bank

  • Home
  • Translate
Archive for September 2017

SQLite is __-typed, meaning a column in a SQLite database does not reject a value of an incorrect data type.

SQLite is __-typed, meaning a column in a SQLite database does not reject a value of an incorrect data type.



Answer: weakly

Which of the following Java data types does SQLite support?

Which of the following Java data types does SQLite support?



Answer: String

In SQLite, a/an _____ column requires that each row must have a value, and that value must be unique.

In SQLite, a/an _____ column requires that each row must have a value, and that value must be unique.



Answer: primary key

If you make changes to the structure of the database, you can increment the ________________ for the database.

If you make changes to the structure of the database, you can increment the ________________ for the database.



Answer: version number

The ______ class provides the onCreate and onUpgrade methods that are used to create and upgrade the database.

The ______ class provides the onCreate and onUpgrade methods that are used to create and upgrade the database.



Answer: SQLiteOpenHelper

You can use a/an ________ object to display a series of connected lines on a map.

You can use a/an ________ object to display a series of connected lines on a map.




Answer: GoogleMap

You can use a/an ________ object to open and close a connection to Google Play services.

You can use a/an ________ object to open and close a connection to Google Play services.



Answer: GoogleApiClient

The ________ key is necessary to access the Google Maps servers.

The ________ key is necessary to access the Google Maps servers.



Answer: Maps API

______ is the process of converting latitude/longitude coordinates to street addresses and back.

______ is the process of converting latitude/longitude coordinates to street addresses and back.




Answer: Geocoding

To add a banner ad to your app, you need to work with a/an ________ network that serves ads to mobile devices.

To add a banner ad to your app, you need to work with a/an ________ network that serves ads to mobile devices.




Answer: mobile advertising

You can use the ________ to publish your app and to manage its listing on Google play.

You can use the ________ to publish your app and to manage its listing on Google play.



Answer: Developer Console

Installing an app from a source other than an established Android marketplace is sometimes referred to as ________ an app.

Installing an app from a source other than an established Android marketplace is sometimes referred to as ________ an app.



Answer: slide loading

A/an________ is a file that contains one or more digital certificates.

A/an________ is a file that contains one or more digital certificates.




Answer: key store

Before distributing an app, you must generate a/an ________ key and use it to sign the APK file.

Before distributing an app, you must generate a/an ________ key and use it to sign the APK file.



Answer: release

During development, the IDE automatically generates a/an ________ key and uses it to sign the APK file.

During development, the IDE automatically generates a/an ________ key and uses it to sign the APK file.



Answer: debug

_____, formerly known as Android Market, is a digital marketplace for android apps that's developed and maintained by Google.

_____, formerly known as Android Market, is a digital marketplace for android apps that's developed and maintained by Google.



Answer: Google Play

You can distribute an app through a/an application ________ such as Google Play, or you can distribute it directly to users via a website or email.

You can distribute an app through a/an application ________ such as Google Play, or you can distribute it directly to users via a website or email.




Answer: marketplace

To register an app widget, add a receiver element to the ________ file.

To register an app widget, add a receiver element to the ________ file.



Answer: AndroidManifest.xml

When you work with a content provider that's included with Android, you can import the classes that contain the ________ for working with the content provider.

When you work with a content provider that's included with Android, you can import the classes that contain the ________ for working with the content provider.



Answer: constants

Before other apps can use your content provider class, you must register it by adding a provider element to the ________ file.

Before other apps can use your content provider class, you must register it by adding a provider element to the ________ file.



Answer: AndroidManifest.xml

A/an ________ type is an Internet standard for defining types of content.

A/an ________ type is an Internet standard for defining types of content.



Answer: MIME

A/an ________ allows multiple apps to share the same data. Answer: content provider

A/an ________ allows multiple apps to share the same data.



Answer: content provider

Within the class for a fragment, you can use a custom ________ to display appropriate data or the current tab.

Within the class for a fragment, you can use a custom ________ to display appropriate data or the current tab.




Answer: adapter

It is considered a best practice to use the ________ class to display tabs and tab content.

It is considered a best practice to use the ________ class to display tabs and tab content.




Answer: FragmentActivity

The ________ class provides a way to use a fragment to display the content for each tab.

The ________ class provides a way to use a fragment to display the content for each tab.




Answer: TabManager

In SQLite, a/an ________ column requires that each row must have a value, and that value must be unique.

In SQLite, a/an ________ column requires that each row must have a value, and that value must be unique.



Answer: primary key

If you make changes to the structure of the database, you can increment the ________ for the database.

If you make changes to the structure of the database, you can increment the ________ for the database.




Answer: version number

The ________ class provides the onCreate and onUpgrade methods that are used to create and upgrade the database.

The ________ class provides the onCreate and onUpgrade methods that are used to create and upgrade the database.



Answer: SQLiteOpenHelper

You can use ________ code to register and unregister a broadcast receiver.

You can use ________ code to register and unregister a broadcast receiver.




Answer: Java

A broadcast ________ is an application component that listens for a broadcast and executes code when it receives that broadcast.

A broadcast ________ is an application component that listens for a broadcast and executes code when it receives that broadcast.




Answer: receiver

Every broadcast has a/an ________ string that uniquely identifies the action.

Every broadcast has a/an ________ string that uniquely identifies the action.



Answer: action

A/an ________ service is a service that's provided by the Android operating system.

A/an ________ service is a service that's provided by the Android operating system.



Answer: system

The back stack for a particular task is called the task ________.

The back stack for a particular task is called the task ________.



Answer: history

A/an ________ is a cohesive unit that can contain multiple activities.

A/an ________ is a cohesive unit that can contain multiple activities.



Answer: task

A stack of all recently used activities, sorted in the order in which they were used is called a/an ________.

A stack of all recently used activities, sorted in the order in which they were used is called a/an ________.



Answer: back stack

To view a notification, the user can pull down on the notification area to open the notification ________.

To view a notification, the user can pull down on the notification area to open the notification ________.



Answer: drawer

Before you can use an Application object or a service, you must ________ it.

Before you can use an Application object or a service, you must ________ it.



Answer: register

A/an ________ intent is an intent that can be passed to other apps so that they can execute the intent at a later time.

A/an ________ intent is an intent that can be passed to other apps so that they can execute the intent at a later time.




Answer: pending

By default, an Android app uses a single thread, called the ____________ to display the user interface. Any task that can slow or stop the responsiveness of this should be run in a separate thread.

By default, an Android app uses a single thread, called the ____________ to display the user interface. Any task that can slow or stop the responsiveness of this should be run in a separate thread.



Answer: UI thread

A/an ____________ intent specifies a component such as an activity, and can be used to pass data from one activity to another.

A/an ____________ intent specifies a component such as an activity, and can be used to pass data from one activity to another.



Answer: explicit

To display data in a ListView widget, you can use the ____________ class.

To display data in a ListView widget, you can use the ____________ class.



Answer: SimpleAdapter

To parse XML files, you ca use ____________.

To parse XML files, you ca use ____________.



Answer: SAX

The AsyncTask class uses ____________ to allow a class to operate on various types of objects.

The AsyncTask class uses ____________ to allow a class to operate on various types of objects.



Answer: generics

It's common to code the class for an async thread as a/an ____________ class of the activity.

It's common to code the class for an async thread as a/an ____________ class of the activity.



Answer: nested inner

A task that runs in a separate thread in the background and doesn't need to be synchronized with other threads is called a/an ____________ task.

A task that runs in a separate thread in the background and doesn't need to be synchronized with other threads is called a/an ____________ task.




Answer: asynchronous

A/an ____________ feed can be used to publish frequently updated works, such as blog entries and news headlines.

A/an ____________ feed can be used to publish frequently updated works, such as blog entries and news headlines.




Answer: Rich Site Summary

A/an ____________ is a single sequential flow of control within a program that often completes a specific task.

A/an ____________ is a single sequential flow of control within a program that often completes a specific task.



Answer: thread

Android calls the ____________ method when it's time to display the layout for the fragment. This occurs after the onCreate method, but before the onStart method.

Android calls the ____________ method when it's time to display the layout for the fragment. This occurs after the onCreate method, but before the onStart method.



Answer: onCreateView

From a fragment or activity, you can call the ____________ method to get a FragmentManager object that you can use to find and work with the fragments in your app.

From a fragment or activity, you can call the ____________ method to get a FragmentManager object that you can use to find and work with the fragments in your app.




Answer: getFragmentManager

The ____________ qualifier allows you to select screens whose smallest width is at least as wide as the specified width.

The ____________ qualifier allows you to select screens whose smallest width is at least as wide as the specified width.




Answer: smallest-width

If the user interface for a fragment uses Preference objects instead of View objects, the fragment needs to extend the ____________ class instead of the Fragment class.

If the user interface for a fragment uses Preference objects instead of View objects, the fragment needs to extend the ____________ class instead of the Fragment class.



Answer: PreferenceFragment

On a large screen, an activity can display multiple fragments. This is known as a/an ____________ layout.

On a large screen, an activity can display multiple fragments. This is known as a/an ____________ layout.



Answer: multi-pane

The action bar can include ____________.

The action bar can include ____________.



Answer: menu items

A menu can contain one or more ____________.

A menu can contain one or more ____________.



Answer: items

You can enable or disable a preference by using its ____________ attribute to link the preference to a corresponding CheckBoxPreference element.

You can enable or disable a preference by using its ____________ attribute to link the preference to a corresponding CheckBoxPreference element.



Answer: dependency

Android provides ____________ that allow you to build an interface that's consistent with the user experience in other Android apps.

Android provides ____________ that allow you to build an interface that's consistent with the user experience in other Android apps.



Answer: Preference APIs

A/an ____________ provides a description of an operation to be performed. This type of object can be used with the startActivity method to start activities.

A/an ____________ provides a description of an operation to be performed. This type of object can be used with the startActivity method to start activities.



Answer: intent

Within the OnCreateOptionsMenu method, you typically use a MenuInflater object to ____________ the XML for the menu items into Java objects and store them in the Menu parameter.

Within the OnCreateOptionsMenu method, you typically use a MenuInflater object to ____________ the XML for the menu items into Java objects and store them in the Menu parameter.



Answer: inflate

You can open the ____________ file and edit it to apply a theme to the entire application or to a specific activity.

You can open the ____________ file and edit it to apply a theme to the entire application or to a specific activity.




Answer: AndroidManifest

The built-in style called TextAppearance.Small.Inverse displays a small font size and inverse ____________.

The built-in style called TextAppearance.Small.Inverse displays a small font size and inverse ____________.




Answer: color scheme

Holo, Material, and Holo.Light.DarkActionBar are all names of ____________.

Holo, Material, and Holo.Light.DarkActionBar are all names of ____________.



Answer: themes

If necessary, you can use multiple ____________ files to set appropriate themes for the different API levels.

If necessary, you can use multiple ____________ files to set appropriate themes for the different API levels.




Answer: styles.xml

To specify a color, you can use ____________ values to specify an RGB value. Answer: hex

To specify a color, you can use ____________ values to specify an RGB value.



Answer: hex

A/an ____________ is a collection of styles that can be applied throughout an app.

A/an ____________ is a collection of styles that can be applied throughout an app.



Answer: style sheet

For a spinner, the ____________ method is only executed when the selection disappears.

For a spinner, the ____________ method is only executed when the selection disappears.



Answer: onNothingSelected

For a spinner, the ____________ method is executed when the spinner is first displayed and whenever a new item is selected.

For a spinner, the ____________ method is executed when the spinner is first displayed and whenever a new item is selected.



Answer: onItemSelected

The ____________ event of a check box or radio button occurs when a check box or radio button is checked or unchecked.

The ____________ event of a check box or radio button occurs when a check box or radio button is checked or unchecked.



Answer: CheckChanged

You can create an instance of a listener interface without assigning it to an instance variable. This is known as a/an ____________ class.

You can create an instance of a listener interface without assigning it to an instance variable. This is known as a/an ____________ class.



Answer: inner anonymous

You can create an instance variable that creates an object from a class that implements the listener interface. Since this class doesn't have a name, it's known as a/an ____________ class.

You can create an instance variable that creates an object from a class that implements the listener interface. Since this class doesn't have a name, it's known as a/an ____________ class.



Answer: anonymous

An interface that defines the listener for a/an ____________ event is typically nested within the android.view.View class. These listeners can be wired to any type of widget.

An interface that defines the listener for a/an ____________ event is typically nested within the android.view.View class. These listeners can be wired to any type of widget.



Answer: low-level

An interface that defines a listener for a/an ____________ event is typically nested within the class that defines the widget. These listeners can only be wired to an appropriate widget.

An interface that defines a listener for a/an ____________ event is typically nested within the class that defines the widget. These listeners can only be wired to an appropriate widget.



Answer: high-level

When a/an ____________ occurs on a widget, the appropriate method of the ____________ object is executed.

When a/an ____________ occurs on a widget, the appropriate method of the ____________ object is executed.




Answer: event; listener

A/an ____________ displays a visual indicator of the progress of an operations.

A/an ____________ displays a visual indicator of the progress of an operations.



Answer: ProgressBar

A/an ____________ widget uses a built-in browser to display web content.

A/an ____________ widget uses a built-in browser to display web content.



Answer: WebView

The ____________ attribute aligns a widget with the top, bottom, center, left, or right of its linear layout.

The ____________ attribute aligns a widget with the top, bottom, center, left, or right of its linear layout.




Answer: gravity

You can use ____________ code to dynamically show or hide widgets.

You can use ____________ code to dynamically show or hide widgets.



Answer: Java

A/an ________ lets the user specify a value by dragging a/an _________ to the right or left.

A/an ________ lets the user specify a value by dragging a/an _________ to the right or left.




Answer: seek bar; thumb

A/an ________ adapter can provide the list that a spinner should display.

A/an ________ adapter can provide the list that a spinner should display.



Answer: array

A/an ______ widget lets the user enter text.

A/an ______ widget lets the user enter text.



Answer: EditText

A __________ layout displays widgets in rows and columns.

A __________ layout displays widgets in rows and columns.



Answer: table

A __________ layout displays a column or row of child widgets.

A __________ layout displays a column or row of child widgets.



Answer: linear

The ___________ class is the superclass for all widgets.

The ___________ class is the superclass for all widgets.



Answer: View
Subscribe to: Comments (Atom)

Search your questions here...

Trending Questions

  • Which of the following is appropriate for saving the state of an Android application?
    Which of the following is appropriate for saving the state of an Android application? A. Activity.onDestroy() B. Activity.onStop() C....
  • For creating Fragments the java class needs to extend which base class?
    For creating Fragments the java class needs to extend which base class? A) MainActivity B) MiniActivity C) Fragment D) None of th...
  • Which of the following statements is correct?
    Which of the following statements is correct? A) Permissions are not specified in AndroidManifest.xml. B) The AndroidManifest.xml is ...

Blog Archive

  • October 2020 (68)
  • December 2019 (83)
  • May 2019 (151)
  • November 2018 (146)
  • October 2018 (125)
  • June 2018 (93)
  • November 2017 (77)
  • October 2017 (100)
  • September 2017 (82)

Label

Android Android App Development Chapter 8 Android Apps Chapter 11 Android Apps Chapter 16 Android Chapter 14 Android Chapter 15 Does Android support the Bluetooth serial port profile? Mobile App
Powered by Blogger.
Copyright © 2015 Android MCQ | Term Of Service | Disclaimer | Privacy Policy | DMCA