Martin Ernesto Castillo Gonzalez
Quiz von , erstellt am more than 1 year ago

Application Development Android Studio Quiz am Examen de Certififacion Android Application Development AND-401 (Ejemplo), erstellt von Martin Ernesto Castillo Gonzalez am 16/06/2016.

26
1
0
Martin Ernesto Castillo Gonzalez
Erstellt von Martin Ernesto Castillo Gonzalez vor etwa 8 Jahre
Schließen

Examen de Certififacion Android Application Development AND-401 (Ejemplo)

Frage 1 von 92

1

¿Cuales son las capas que componen Android ?

Wähle eine der folgenden:

  • Applications, SDK Framework, Linux Kernel, Libraries y Android Runtime

  • Applications, Application Framework, Linux System, Libraries y Android Runtime

  • Applications, Application Framework, Linux Kernel, Libraries y Android Runtime

  • Applications, Application Framework, Linux Kernel, Core Libraries y Android Runtime

Erklärung

Frage 2 von 92

1

¿Cuales son los elementos que conforman el Application Framework?

Wähle eine der folgenden:

  • Window Manager, Notification Manager, Activity Manager, Telephony Manager, Location Manager y View System.

  • Window System, Notification Manager, Activity Manager, Telephony Manager, Location Manager y View System.

  • Window Manager, Notification Manager, Activity Manager, Home Manager, Location Manager y View System.

  • Window Manager, Notification Manager, Activity Manager, Telephony Manager, Location Manager y View State.

Erklärung

Frage 3 von 92

1

¿Que elementos integran las "Libraries"?

Wähle eine der folgenden:

  • SQLite, Surface Manager, Webkit, Core Libraries, Dalvik VM, SSL, SGL y Media Framework.

  • SQLite, Surface Manager, Webkit, Core Libs, Dalvik VM, SSL, SGL y Media Framework.

  • SQLite, Surface Manager, Webkit, Core Libs, Malvin VM, SSL, SGL y Media Framework.

  • SQLite, Surface Manager, Webkit, Core Libs, Dalvik VM, SSL, SGL y SDK Framework.

Erklärung

Frage 4 von 92

1

¿Cuales son los elementos que componen la capa "Linux Kernel"?

Wähle eine der folgenden:

  • 1.- Power Management
    2.- Camera driver
    3.- Wifi driver
    4.- Audio driver
    5.- Bluetooth driver
    6.- Keypad driver
    7.- USB driver
    8.- Display driver

  • 1.- Power System
    2.- Camera driver
    3.- Wifi driver
    4.- Audio driver
    5.- Bluetooth driver
    6.- Keypad driver
    7.- USD driver
    8.- Display driver

  • 1.- Power Management
    2.- Camera driver
    3.- Wifi driver
    4.- Audio driver
    5.- Bluetooth driver
    6.- Keypad driver
    7.- USD driver
    8.- Display driver

  • 1.- Power Management
    2.- Camera driver
    3.- Wifi driver
    4.- Audio driver
    5.- Bluetooth driver
    6.- Keypad driver
    7.- USD driver
    8.- View driver

Erklärung

Frage 5 von 92

1

_____________ actua como una capa de abstraccion entre el hardware y el resto del software.

Wähle eine der folgenden:

  • Libraries

  • Linux Kernel

  • Application Framework

  • Android Runtime

Erklärung

Frage 6 von 92

1

_____________ es responsable del estable rendimiento de varios componentes. Se encarga de manejar el acceso a los distintos procesos que comprenden capas de graficos 2D y 3D y es el responsable del procesamiento de media framework. P. e. grabacion y resproducción de la mayoria de la multimedia y de archivos estaticos de imagen, asi tambien como el soporte de fuentes, almacenamiento de datos y navegadores web.

Wähle eine der folgenden:

  • Linux kernel

  • Libraries C/C++

  • Application Framework

  • Android Runtime

Erklärung

Frage 7 von 92

1

Es el sucesor del Dalvik Virtual Machine (DVM)

Wähle eine der folgenden:

  • Linux Kernel

  • Android Runtime

  • Core Libraries

  • Java Virtual Machine (JVM)

Erklärung

Frage 8 von 92

1

Fue diseñado basado en el JVM especificamente para Android que corre en un ambiente limitado, donde la limitacion en bateria, CPU, memoria y almacenamiento de datos es su preocupación. En lugar de leer un .jar , este lee archivos .dex. La optimizacion byte-code realizada es mas eficiente para correr procesos pequeños. Su nucleo de librerias estan escritas en Java y contienen una coleccion de clases, utilidades, I/O y otras herramientas.

Wähle eine der folgenden:

  • Linux Kernel

  • Android Runtime

  • Libraries

  • Application Framework

Erklärung

Frage 9 von 92

1

Esta escrito en lenguaje Java y se compone de una coleccion de librerias de Java que las aplicacions de Android usan. Se compone entre otros del Activity Manager, Package Manager, Notification Manager, Telephony Manager, entre otros.

Wähle eine der folgenden:

  • Linux Kernel

  • Android Runtime

  • Application Framework

  • Libraries

Erklärung

Frage 10 von 92

1

Libreria del SDK de Android que provee las principales interfaces graficas de usuario y permite su iteraccion con el UI.

Wähle eine der folgenden:

  • android.view

  • android.util

  • android.widget

  • android.app

Erklärung

Frage 11 von 92

1

Libreria del SDK de Java que contiene elementos graficos de iteraccion con el usuario (GUI) para usarlos en la pantalla de la aplicación. Contiene bUilt-in views listos para usarlos sobre la pantalla.

Wähle eine der folgenden:

  • android.view

  • android.widget

  • android.util

  • android.webkit

Erklärung

Frage 12 von 92

1

Libreria del SDK de Android que contiene clases para formateo de cadenas y convertidores de XML.

Wähle eine der folgenden:

  • android.util

  • android.widget

  • android.app

  • android.webkit

Erklärung

Frage 13 von 92

1

Libreria del SDK de Android que meneja el acceso a datos. Parte de esta libreria es la clase "Context" el cual es una interfaz que engloba informacion acerca del ambiente de la aplicacion y la provista por el sistema Android. Esta permite el acceso especifico a recursos y clases.

Wähle eine der folgenden:

  • android.util

  • android.widget

  • android.database

  • android.content

Erklärung

Frage 14 von 92

1

Libreria del SDK de Android el cual provee acceso a componentes de niveles altos, las clases Activity y Service son parte de este.

Wähle eine der folgenden:

  • android.util

  • android.widget

  • android.app

  • android.webkit

Erklärung

Frage 15 von 92

1

Libreria del SDK de Android el cual provee facil accedo a Proveedores de Contenido basicos tales como contactos y base de datos del calendario.

Wähle eine der folgenden:

  • android.content

  • android.app

  • android.webkit

  • android.provider

Erklärung

Frage 16 von 92

1

¿Cuales son los componentes de una aplicacion Android?

Wähle eine der folgenden:

  • Activities, Services, Content Provider y Broadcast Receivers

  • Activities, Widget, Content Provider y Broadcast Receivers

  • Activities, Services, Content Filter y Broadcast Receivers

  • Activities, Views , Content Provider y Broadcast Receivers

Erklärung

Frage 17 von 92

1

Componente de Android que administra y provee bases de datos de la aplicación.

Wähle eine der folgenden:

  • Antivity

  • Services

  • Content Provider

  • VIew

Erklärung

Frage 18 von 92

1

What method you should override to use Android Menu system?

Wähle eine der folgenden:

  • onCreateOptionsMenu()

  • onCreateMenu()

  • onMenuCreated()

  • onCreateContextMenu()

Erklärung

Frage 19 von 92

1

What Activity method you use to retrieve a reference to an Android view by using the id attribute of a resource XML?

Wähle eine der folgenden:

  • findViewByReference(int id)

  • findViewById(int id)

  • retrieveResourceById(int id)

  • findViewById(String id)

Erklärung

Frage 20 von 92

1

Which of thefollowing is not an Android component (i.e.a point which the system can enter your application)?

Wähle eine der folgenden:

  • Service

  • Activity

  • Layout

  • Content Provider

Erklärung

Frage 21 von 92

1

Which of the following in NOT a valid usage for Intents?

Wähle eine der folgenden:

  • Activate an Activity

  • Activate a Service

  • Activate a Broadcast receiver

  • Activate a SQLite DB Connection

Erklärung

Frage 22 von 92

1

Which of the following is not a valid Android resource file name?

Wähle eine der folgenden:

  • mylayout.xml

  • myLayout.xml

  • my_layout.xml

  • mylayout1.xml

Erklärung

Frage 23 von 92

1

Which of these is not defined as a process state?

Wähle eine der folgenden:

  • Non-visible

  • Visible

  • Foreground

  • Background

Erklärung

Frage 24 von 92

1

Which file specifies the minimun required Android SDK version your apllication supports?

Wähle eine der folgenden:

  • main.xml

  • R.java

  • strings.xml

  • AndroidManifest.xml

Erklärung

Frage 25 von 92

1

Whats the parent class of all Activity widgets?

Wähle eine der folgenden:

  • ViewGroup

  • Layout

  • View

  • Widget

Erklärung

Frage 26 von 92

1

Whats the name of the class used by Intent to store additional information?

Wähle eine der folgenden:

  • Extra

  • Parceceable

  • Bundle

  • DataStore

Erklärung

Frage 27 von 92

1

Which of these files contains text values that youcan use in your apllication?

Wähle eine der folgenden:

  • AndroidManifest.xml

  • tes/Text.xml

  • res/layout/Main.xml

  • res/values/strings.xml

Erklärung

Frage 28 von 92

1

What does the Android project folder "res/" contain?

Wähle eine der folgenden:

  • Java Antivity classes

  • Resource files

  • java source code

  • Libraries

Erklärung

Frage 29 von 92

1

What does this code do?

Intent intent = new Intent();
intent.setAction(Intent.ACTION_VIEW);
intent.setData(android.net.Uri.parse("http://www.androidatc.com"));
startActivity(intent);

Wähle eine der folgenden:

  • Starts a sub-activity

  • Starts a service

  • Sends results to another activity

  • Starts an activity using an implicit intent

Erklärung

Frage 30 von 92

1

Which of the following Activity life-cycle methods is called once the activity is no longer visible?

Wähle eine der folgenden:

  • onStop

  • onPause

  • onDestroy

  • onHide

Erklärung

Frage 31 von 92

1

Which of the following is a correct Android Manifest statement?

Wähle eine der folgenden:

  • <uses-permission android:name="android.Internet"/>

  • <uses-permission android:name="android.Internet"></uses-permission>

  • <uses-permission android:name="android.permission.Internet">

  • <uses-permission android:name="android.permission.Internet"/>

Erklärung

Frage 32 von 92

1

Which of the following is true attribute

android:windowSoftInputMode

of the <activity> tag in file AndroidManifest.xml?

Wähle eine der folgenden:

  • It specifies wheter the window is in full screen or not

  • it adjust how the main window of the activity interacts with keyboard

  • it adjust how the window should be launched

  • it adjust the window orientatio

Erklärung

Frage 33 von 92

1

What does the folloeingcode achieve?

Intent intent = new Intent ( FirstActivity.this, SeconActivity.class);
StartActivityForResult(intent);

Wähle eine der folgenden:

  • Starts a browser activity

  • Starts a subactivity

  • Starts an activity service

  • Sends result to another activity

Erklärung

Frage 34 von 92

1

When using an implicit intent, what process does the system use to know what to do with it_

Wähle eine der folgenden:

  • Intent resolution

  • Intent declaration

  • Intent overloading

  • Intent transition

Erklärung

Frage 35 von 92

1

Which of the following is NOT true about the MenuItem interface?

Wähle eine der folgenden:

  • The MenuItem instante will be returned by Menu class add(...) method

  • MenuItem clan decide the Intent issued when clicking menu components

  • MenuItem can display either an icon or text

  • MenuItem can set a checkbox

Erklärung

Frage 36 von 92

1

Which is the correct explanation of ListView?

Wähle eine der folgenden:

  • Its necessary to use ListView as a set with ListActivity

  • You cannot use a ListView when is no information to be displayed

  • When displaying a list od Stings using an ArrayAdapter class in ListView, you must save the value in an Arraylist

  • ListView has a function to display a list od uniquely defined Views other than TextView

Erklärung

Frage 37 von 92

1

Which of the following is incorrect avbout the Toast class?

Wähle eine der folgenden:

  • You cannot set a custom layout for a Toast

  • A Toast can only create by an Activity class

  • There is no need to close or hide a toast, since it closes automatically

  • A Toast is displayed for only one of the following periods: Toast.LENGTH_SHORT od Toast.LEGTH_LONG

Erklärung

Frage 38 von 92

1

Which of the following is not a ContentProvider provided natively by Android?

Wähle eine der folgenden:

  • The contact list

  • The telephone list

  • The bookmarks

  • The application list

Erklärung

Frage 39 von 92

1

Which of the following tools creates cretificates for signing Andrpod applications?

Wähle eine der folgenden:

  • adb

  • logcat

  • keytool

  • certgen

Erklärung

Frage 40 von 92

1

Which manifest file permission you should add to allow your application to read the device's address book?

Wähle eine der folgenden:

  • READ_ADDRESS_DATA

  • READ_PHONE_STATE

  • READ_PHONE_CONTACTS

  • READ_CONTACTS

Erklärung

Frage 41 von 92

1

You can create a custom view by extending class

Wähle eine der folgenden:

  • android.widget.view

  • android.widget.LinearLayout

  • android.view.View

  • android.content.Context

Erklärung

Frage 42 von 92

1

In which Activity life-cycle method you should do all of your normal static set up such as: creating views and bind data to lists?

Wähle eine der folgenden:

  • onResume()

  • onStart()

  • onCreate()

  • onPause

Erklärung

Frage 43 von 92

1

Which of the following lines of code starts activity Activity2 from a current activity Activity1?

Wähle eine der folgenden:

  • Intent intent = new Intent(this,new Activity2());
    startActivity(intent);

  • Intent intent = new Intent(new Activity2());
    startActivity(intent);

  • Intent intent = new Intent(Activity1.class, Activity2.class);
    startActivity(intent);

  • Intent intent = new Intent(this,new Activity2().class);
    startActivity(intent);

Erklärung

Frage 44 von 92

1

Which of the folloring methods is called in an Activity when another activity gets into foreground?

Wähle eine der folgenden:

  • onStop()

  • onPause()

  • onDestroy()

  • onExit()

Erklärung

Frage 45 von 92

1

Consider the following code:

Intent intent = new Intent();
intent.setAction(Intent.ACTION_VIEW);
intent.setData(android.net.Uri.parse("http://www.androidatc.com"));
startActivity(intent);

Which of the following is correct about the code above?

Wähle eine der folgenden:

  • It sends a result to a new Acctivity in a Bundle

  • It will not compile without adding the INTERNET permission the Manifest file

  • it starts any activity in the application that has a WebView in its layout

  • When it is executed, the system starts an intent resolution process to start the right Activity.

Erklärung

Frage 46 von 92

1

Which if the following is not true about <activity> tag in AndroidManifest.xml

Wähle eine der folgenden:

  • Declares an activity that implements part of the application's visual user interface

  • Contained in zapplication> tag

  • Declares a single hardware or software feature that is used by the application

  • Has an attribute that specifies the name of the Activity sub-class that implements the activity.

Erklärung

Frage 47 von 92

1

Which of the following Android View sub-classes uses the WebKit rendering engine to display web pages?

Wähle eine der folgenden:

  • PageView

  • WebView

  • MapView

  • HttpCient

Erklärung

Frage 48 von 92

1

Consider the following code:

@Override
pubic void onCreateContextMenu( ContextMenu menu, View v, ContextMenuInfo){
super.onCreateContextMenu(menu,v,menuInfo);
menu.setHeaderTitle("Menu");
AdpaterContextMenuInfo cmi = (AdapterContextmenuInfo) menuInfo;
menu.add(1,cmi.position, 0,"open file");
menu.add(2,cmi.position, 0,"save file");
}

Which of the following best explains the code above?

Wähle eine der folgenden:

  • The code inflates an xml file menu items

  • The code creates menu items for context menu programmatically

  • The code assign actions to menu items

  • The code Opens a menu resource file, modifies it, and saves the changes

Erklärung

Frage 49 von 92

1

Which of the following are primary pieces of information that are required to define in an implicit Intent?

Wähle eine der folgenden:

  • An Action to be performed and data to operate on

  • An action to be performed and a category for additional information

  • A Bundle for extra data

  • A category for additional information and data to operate on

Erklärung

Frage 50 von 92

1

When is the intent resolution process triggered?

Wähle eine der folgenden:

  • When the system receives an implicit intent to start an activity

  • When an explicit intent starts a service

  • When the system receives an explicit intent to start an activity

  • When the application calls method "startActivityIntentResolution"

Erklärung

Frage 51 von 92

1

Which of the following you cannot acchieve by creating your own View sub-clases?

Wähle eine der folgenden:

  • Create a completely new customized View type

  • Combine a group of View components into a new single component

  • Specify when to destroy an activity and all its views

  • Override the way that an existing component is displayed on the screen

Erklärung

Frage 52 von 92

1

Which of the following applies to the onDraw() methods of class View? (Choose two)

Wähle eine oder mehr der folgenden:

  • It must be overridden if a customize drawing of a view is required

  • it takes two parameters: a Canvas and a View

  • It takes one parameter of type Canvas

  • It uses the Canvas parameter to draw the border of the acctivity that constains it

Erklärung

Frage 53 von 92

1

Which of the following is true about the Dialog class? (Choose two)

Wähle eine oder mehr der folgenden:

  • You can add a custom layout to a dialog using "setContetView()"

  • A dialog has a life-cycle independent of the Activity

  • A dialog id displayed on the screen using method show()

  • It does not have a method to access the activity that activity that owns it

Erklärung

Frage 54 von 92

1

Which of the following is not valid form of notification invoked by the NotificationManager?

Wähle eine der folgenden:

  • A Flashing LED

  • A persistent icon in the status bar

  • A sound played

  • a SMS sent

Erklärung

Frage 55 von 92

1

Which of the following a Notification object must containt? (Choose three)

Wähle eine oder mehr der folgenden:

  • A small icon

  • A detail text

  • A notificacion sound

  • A title

Erklärung

Frage 56 von 92

1

During an Activity life-cycle, what is the first callback method invoked by the system?

Wähle eine der folgenden:

  • onStop()

  • onStart()

  • onCreate()

  • onRestore()

Erklärung

Frage 57 von 92

1

Which configuration file holds the permission to use the internet?

Wähle eine der folgenden:

  • Layout file

  • Property file

  • Java file

  • Manifest file

Erklärung

Frage 58 von 92

1

Intent intent = new Intent(FirstActivity.this,SecondActivity.class);

Wähle eine der folgenden:

  • Creates an hidden Intent

  • Creates an implicit Intent

  • Creates an explicit Intent

  • Starts an activity

Erklärung

Frage 59 von 92

1

What is the name of the folder that contains the R.java file?

Wähle eine der folgenden:

  • src

  • res

  • bin

  • gen

Erklärung

Frage 60 von 92

1

What is a correct statement about an XML layout file?

Wähle eine der folgenden:

  • A layout PNG image file

  • A file used to draw the content of an Activity

  • A file that contains all application permission information

  • A file that contains a single activity widget

Erklärung

Frage 61 von 92

1

What does the src folder contain?

Wähle eine der folgenden:

  • Image and icon files

  • XML resource files

  • The application manifest file

  • Java source code files

Erklärung

Frage 62 von 92

1

Which is not included in the Android application framework?

Wähle eine der folgenden:

  • WindowManager

  • NotificationManager

  • DialerManager

  • . PackageManager

Erklärung

Frage 63 von 92

1

What Eclipse plugin is required to develop Android
application?

Wähle eine der folgenden:

  • J2EE

  • Android Software Development Kit

  • Android Development Tools

  • Web Development Tools

Erklärung

Frage 64 von 92

1

You can create a custom view by extending class Activity

Wähle eine der folgenden:

  • True

  • False

Erklärung

Frage 65 von 92

1

Which of the following is a Java call-back method invoked
when a view is clicked?

Wähle eine der folgenden:

  • Detector

  • OnTapListener

  • OnClickDetector

  • OnClickListener

Erklärung

Frage 66 von 92

1

Which of the following is not an Activity lifecycle call-back
method?

Wähle eine der folgenden:

  • onStart

  • onCreate

  • onPause

  • onBackPressed

Erklärung

Frage 67 von 92

1

Which method is used to close an activity?

Wähle eine der folgenden:

  • Destroy( )

  • Finish( )

  • Stop( )

  • Close( )

Erklärung

Frage 68 von 92

1

Which of the following tools dumps system log messages
including stack traces when the device or emulator throws an
error?

Wähle eine der folgenden:

  • DDMS

  • Logcat

  • Console

  • ADB

Erklärung

Frage 69 von 92

1

Javascript is enabled by default in a WebView

Wähle eine der folgenden:

  • True

  • False

Erklärung

Frage 70 von 92

1

How to enable JavaScript in WebView?

Wähle eine der folgenden:

  • myWebView. setJavaScriptEnabled(true);

  • myWebView.getJavaScriptSettings.setEnabled(true)

  • myWebView.getSettings().setJavaScriptEnabled(true);

  • Java script is always enabled in WebView

Erklärung

Frage 71 von 92

1

Which of the following is correct about XML layout files?

Wähle eine der folgenden:

  • In order to display a Ul defined in the XML layout file "main.xml", call the
    setContentView method of the Activity with the parameter string “main.xml"

  • There is no distinction between implementation of the layout definition by code, or by
    XML layout file.

  • In an Eclipse project using the ADT plugin, the XML layout file is found in the /res/layout
    directory.

  • Layout information written in the XML layout file will be converted into code by the
    Android platform when the screen is displayed.

Erklärung

Frage 72 von 92

1

The DalvikVM core libraries are a subset of which of the following?

Wähle eine der folgenden:

  • . Java ME

  • Java SE

  • Java EE

  • JAX-WS

Erklärung

Frage 73 von 92

1

Which of the following is correct about file access in the Android
system?

Wähle eine der folgenden:

  • Generally, files are handled as dedicated resources per each application.

  • Files created by an application can be directly accessed by any application

  • The content of file created by application cannot be accessed by any other
    application.

  • You can only access a file from within an Activity

Erklärung

Frage 74 von 92

1

When creating a file using
android.content.Context.openFileOutput("test.txt", 0), where is the file
created?

Wähle eine der folgenden:

  • /data/app/<package name>/files

  • /data/data/<package name>/files

  • /system/app/<package name>/files

  • . /system/data/<package name>/files

Erklärung

Frage 75 von 92

1

Which of the following is incorrect about the LogCat tool?

Wähle eine der folgenden:

  • A LogCat view is available as part of the ADT plugin of Eclipse

  • You can create a log in your application using Log.v(String, String)

  • . Each log message has a tag

  • Only one of your application can create log entries, and it should be component class
    (Activity, Service,...etc)

Erklärung

Frage 76 von 92

1

Which of the following information is not included in the Manifest file?

Wähle eine der folgenden:

  • The activities contained in the application

  • The permissions required by the application

  • The application’s minimum SDK version required.

  • The handset model compatible with your application.

Erklärung

Frage 77 von 92

1

Which method should you use to start a sub-activity?

Wähle eine der folgenden:

  • startActivity(Intent intent)

  • startActivityForResult(Intent intent)

  • startService(Intent intent)

  • startSubActivity(Intent intent)

Erklärung

Frage 78 von 92

1

Which package of the following does not have classes needed for
Android network connections?

Wähle eine der folgenden:

  • java.net

  • org.apache.http

  • android.location

  • android.net

Erklärung

Frage 79 von 92

1

Which of the following attributes is used to set an activity screen to
landscape orientation?

Wähle eine der folgenden:

  • screenorientation = landscape

  • screenOrientation=”landscape”

  • android:ScreenOrientation=“landscape”

  • android:screenOrientation=”landscape”

Erklärung

Frage 80 von 92

1

What is not true about the AndroidManifest.xml file?

Wähle eine der folgenden:

  • It declares the views used within the application

  • It declares user permissions the application requires

  • It declares application components

  • It declares hardware and software features used within the application

Erklärung

Frage 81 von 92

1

If your application is throwing exception
android.content.ActivityNotFoundException, how to fix it?

Wähle eine der folgenden:

  • Create a new activity Java sub-class.

  • Rename your activity

  • Create the activity layout

  • Add the activity to the AndroidManifest

Erklärung

Frage 82 von 92

1

Q58. Which of the following lines of codes adds zoom controls to a
WebView?

Wähle eine der folgenden:

  • webView.getSettings().setBuiltInZoomControls(true);

  • webView.getSettings().setZoomControls(true);

  • webView.getZoomSettings().setControls(CONTROLS.enabled);

  • Zoom controls are included by default in WebViews.

Erklärung

Frage 83 von 92

1

Which of the following best explains the Android option menus?

Wähle eine der folgenden:

  • It is a popup menu that displays a list of items in a vertical list anchored to the view that
    invoked the menu.

  • It is a floating menu that appears when the user performs a long-click on an element. It
    provides actions that affect the selected content or context frame.

  • It is the primary collection of menu items for an activity where you should place actions
    that have a global impact on the app, such as "Search," "Compose email," and
    "Settings."

  • It is a type of List Activity with predefined headers and footers for special commands.

Erklärung

Frage 84 von 92

1

Which of the following best explains the Android context menus?

Wähle eine der folgenden:

  • It is a popup menu displays a list of items in a vertical list that's anchored to the view
    that invoked the menu.

  • It is a floating menu that appears when the user performs a long-click on an element. It
    provides actions that affect the selected content or context frame.

  • It is the primary collection of menu items for an activity. It's where you should place
    actions that have a global impact on the app, such as "Search," "Compose email," and
    "Settings."

  • It is a sub-menu of an options menu item

Erklärung

Frage 85 von 92

1

Which of the following does NOT correctly describe interface
android.widget.Adapter?

Wähle eine der folgenden:

  • It is an object that acts as a bridge between a View and underlying data for that view

  • It provides access to the data items.

  • It provides access to deprecated ListView methods

  • It is responsible for making a View for each item in the data set

Erklärung

Frage 86 von 92

1

Which of the following methods updates a ListView when an element
is added to the data set?

Wähle eine der folgenden:

  • notify( )

  • notifyAll( )

  • notifyDataSetChanged( )

  • notifyDataSetInvalidate( )

Erklärung

Frage 87 von 92

1

The values of which of the following classes cannot be mapped in a
Bundle object?

Wähle eine der folgenden:

  • Parcelable

  • String

  • ArrayList

  • Context

Erklärung

Frage 88 von 92

1

Which of the following is true about method startActivity?

Wähle eine der folgenden:

  • It starts a new activity and destroys the previous one

  • It starts a new activity and sends the previous one to the background

  • It starts a new activity and pauses the previous one.

  • It starts a new activity in a paused mode.

Erklärung

Frage 89 von 92

1

Which of the following is required to allow the Android Developer
Tools to interact with your view?

Wähle eine der folgenden:

  • Provide a constructor that takes a Context and an AttributeSet object as parameters.

  • Provide a constructor that takes a Context object as parameter.

  • Extend class View

  • Override method onDraw() of class View.

Erklärung

Frage 90 von 92

1

What are the main two types of thread in Android?

Wähle eine der folgenden:

  • Main thread and worker threads

  • Main thread and UI thread.

  • Activities and services

  • Main thread and background process.

Erklärung

Frage 91 von 92

1

Which of the following AsyncTask methods is NOT executed on the
UI thread?

Wähle eine der folgenden:

  • onPreExecute()

  • onPostExecute()

  • publishProgress()

  • onProgressUpdate()

Erklärung

Frage 92 von 92

1

Which of the following is NOT true about method getWindow() of
class Dialog do?

Wähle eine der folgenden:

  • It retrieves the current window for the activity

  • It can be used to access parts of the Windows API.

  • It displays the dialog on the screen.

  • It returns null if the activity is not visual

Erklärung