Pregunta 1
Pregunta
¿Cuales son las capas que componen Android ?
Respuesta
-
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
Pregunta 2
Pregunta
¿Cuales son los elementos que conforman el Application Framework?
Respuesta
-
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.
Pregunta 3
Pregunta
¿Que elementos integran las "Libraries"?
Respuesta
-
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.
Pregunta 4
Pregunta
¿Cuales son los elementos que componen la capa "Linux Kernel"?
Respuesta
-
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
Pregunta 5
Pregunta
_____________ actua como una capa de abstraccion entre el hardware y el resto del software.
Respuesta
-
Libraries
-
Linux Kernel
-
Application Framework
-
Android Runtime
Pregunta 6
Pregunta
_____________ 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.
Respuesta
-
Linux kernel
-
Libraries C/C++
-
Application Framework
-
Android Runtime
Pregunta 7
Pregunta
Es el sucesor del Dalvik Virtual Machine (DVM)
Pregunta 8
Pregunta
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.
Respuesta
-
Linux Kernel
-
Android Runtime
-
Libraries
-
Application Framework
Pregunta 9
Pregunta
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.
Respuesta
-
Linux Kernel
-
Android Runtime
-
Application Framework
-
Libraries
Pregunta 10
Pregunta
Libreria del SDK de Android que provee las principales interfaces graficas de usuario y permite su iteraccion con el UI.
Respuesta
-
android.view
-
android.util
-
android.widget
-
android.app
Pregunta 11
Pregunta
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.
Respuesta
-
android.view
-
android.widget
-
android.util
-
android.webkit
Pregunta 12
Pregunta
Libreria del SDK de Android que contiene clases para formateo de cadenas y convertidores de XML.
Respuesta
-
android.util
-
android.widget
-
android.app
-
android.webkit
Pregunta 13
Pregunta
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.
Respuesta
-
android.util
-
android.widget
-
android.database
-
android.content
Pregunta 14
Pregunta
Libreria del SDK de Android el cual provee acceso a componentes de niveles altos, las clases Activity y Service son parte de este.
Respuesta
-
android.util
-
android.widget
-
android.app
-
android.webkit
Pregunta 15
Pregunta
Libreria del SDK de Android el cual provee facil accedo a Proveedores de Contenido basicos tales como contactos y base de datos del calendario.
Respuesta
-
android.content
-
android.app
-
android.webkit
-
android.provider
Pregunta 16
Pregunta
¿Cuales son los componentes de una aplicacion Android?
Respuesta
-
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
Pregunta 17
Pregunta
Componente de Android que administra y provee bases de datos de la aplicación.
Respuesta
-
Antivity
-
Services
-
Content Provider
-
VIew
Pregunta 18
Pregunta
What method you should override to use Android Menu system?
Respuesta
-
onCreateOptionsMenu()
-
onCreateMenu()
-
onMenuCreated()
-
onCreateContextMenu()
Pregunta 19
Pregunta
What Activity method you use to retrieve a reference to an Android view by using the id attribute of a resource XML?
Pregunta 20
Pregunta
Which of thefollowing is not an Android component (i.e.a point which the system can enter your application)?
Respuesta
-
Service
-
Activity
-
Layout
-
Content Provider
Pregunta 21
Pregunta
Which of the following in NOT a valid usage for Intents?
Pregunta 22
Pregunta
Which of the following is not a valid Android resource file name?
Respuesta
-
mylayout.xml
-
myLayout.xml
-
my_layout.xml
-
mylayout1.xml
Pregunta 23
Pregunta
Which of these is not defined as a process state?
Respuesta
-
Non-visible
-
Visible
-
Foreground
-
Background
Pregunta 24
Pregunta
Which file specifies the minimun required Android SDK version your apllication supports?
Respuesta
-
main.xml
-
R.java
-
strings.xml
-
AndroidManifest.xml
Pregunta 25
Pregunta
Whats the parent class of all Activity widgets?
Respuesta
-
ViewGroup
-
Layout
-
View
-
Widget
Pregunta 26
Pregunta
Whats the name of the class used by Intent to store additional information?
Respuesta
-
Extra
-
Parceceable
-
Bundle
-
DataStore
Pregunta 27
Pregunta
Which of these files contains text values that youcan use in your apllication?
Respuesta
-
AndroidManifest.xml
-
tes/Text.xml
-
res/layout/Main.xml
-
res/values/strings.xml
Pregunta 28
Pregunta
What does the Android project folder "res/" contain?
Respuesta
-
Java Antivity classes
-
Resource files
-
java source code
-
Libraries
Pregunta 29
Pregunta
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);
Pregunta 30
Pregunta
Which of the following Activity life-cycle methods is called once the activity is no longer visible?
Respuesta
-
onStop
-
onPause
-
onDestroy
-
onHide
Pregunta 31
Pregunta
Which of the following is a correct Android Manifest statement?
Respuesta
-
<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"/>
Pregunta 32
Pregunta
Which of the following is true attribute
android:windowSoftInputMode
of the <activity> tag in file AndroidManifest.xml?
Respuesta
-
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
Pregunta 33
Pregunta
What does the folloeingcode achieve?
Intent intent = new Intent ( FirstActivity.this, SeconActivity.class);
StartActivityForResult(intent);
Respuesta
-
Starts a browser activity
-
Starts a subactivity
-
Starts an activity service
-
Sends result to another activity
Pregunta 34
Pregunta
When using an implicit intent, what process does the system use to know what to do with it_
Respuesta
-
Intent resolution
-
Intent declaration
-
Intent overloading
-
Intent transition
Pregunta 35
Pregunta
Which of the following is NOT true about the MenuItem interface?
Respuesta
-
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
Pregunta 36
Pregunta
Which is the correct explanation of ListView?
Respuesta
-
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
Pregunta 37
Pregunta
Which of the following is incorrect avbout the Toast class?
Respuesta
-
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
Pregunta 38
Pregunta
Which of the following is not a ContentProvider provided natively by Android?
Respuesta
-
The contact list
-
The telephone list
-
The bookmarks
-
The application list
Pregunta 39
Pregunta
Which of the following tools creates cretificates for signing Andrpod applications?
Respuesta
-
adb
-
logcat
-
keytool
-
certgen
Pregunta 40
Pregunta
Which manifest file permission you should add to allow your application to read the device's address book?
Respuesta
-
READ_ADDRESS_DATA
-
READ_PHONE_STATE
-
READ_PHONE_CONTACTS
-
READ_CONTACTS
Pregunta 41
Pregunta
You can create a custom view by extending class
Pregunta 42
Pregunta
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?
Respuesta
-
onResume()
-
onStart()
-
onCreate()
-
onPause
Pregunta 43
Pregunta
Which of the following lines of code starts activity Activity2 from a current activity Activity1?
Respuesta
-
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);
Pregunta 44
Pregunta
Which of the folloring methods is called in an Activity when another activity gets into foreground?
Respuesta
-
onStop()
-
onPause()
-
onDestroy()
-
onExit()
Pregunta 45
Pregunta
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?
Respuesta
-
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.
Pregunta 46
Pregunta
Which if the following is not true about <activity> tag in AndroidManifest.xml
Respuesta
-
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.
Pregunta 47
Pregunta
Which of the following Android View sub-classes uses the WebKit rendering engine to display web pages?
Respuesta
-
PageView
-
WebView
-
MapView
-
HttpCient
Pregunta 48
Pregunta
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?
Respuesta
-
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
Pregunta 49
Pregunta
Which of the following are primary pieces of information that are required to define in an implicit Intent?
Respuesta
-
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
Pregunta 50
Pregunta
When is the intent resolution process triggered?
Respuesta
-
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"
Pregunta 51
Pregunta
Which of the following you cannot acchieve by creating your own View sub-clases?
Respuesta
-
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
Pregunta 52
Pregunta
Which of the following applies to the onDraw() methods of class View? (Choose two)
Respuesta
-
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
Pregunta 53
Pregunta
Which of the following is true about the Dialog class? (Choose two)
Respuesta
-
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
Pregunta 54
Pregunta
Which of the following is not valid form of notification invoked by the NotificationManager?
Pregunta 55
Pregunta
Which of the following a Notification object must containt? (Choose three)
Respuesta
-
A small icon
-
A detail text
-
A notificacion sound
-
A title
Pregunta 56
Pregunta
During an Activity life-cycle, what is the first callback method invoked by the system?
Respuesta
-
onStop()
-
onStart()
-
onCreate()
-
onRestore()
Pregunta 57
Pregunta
Which configuration file holds the permission to use the internet?
Respuesta
-
Layout file
-
Property file
-
Java file
-
Manifest file
Pregunta 58
Pregunta
Intent intent = new Intent(FirstActivity.this,SecondActivity.class);
Pregunta 59
Pregunta
What is the name of the folder that contains the R.java file?
Pregunta 60
Pregunta
What is a correct statement about an XML layout file?
Respuesta
-
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
Pregunta 61
Pregunta
What does the src folder contain?
Pregunta 62
Pregunta
Which is not included in the Android application framework?
Respuesta
-
WindowManager
-
NotificationManager
-
DialerManager
-
. PackageManager
Pregunta 63
Pregunta
What Eclipse plugin is required to develop Android
application?
Pregunta 64
Pregunta
You can create a custom view by extending class Activity
Pregunta 65
Pregunta
Which of the following is a Java call-back method invoked
when a view is clicked?
Respuesta
-
Detector
-
OnTapListener
-
OnClickDetector
-
OnClickListener
Pregunta 66
Pregunta
Which of the following is not an Activity lifecycle call-back
method?
Respuesta
-
onStart
-
onCreate
-
onPause
-
onBackPressed
Pregunta 67
Pregunta
Which method is used to close an activity?
Respuesta
-
Destroy( )
-
Finish( )
-
Stop( )
-
Close( )
Pregunta 68
Pregunta
Which of the following tools dumps system log messages
including stack traces when the device or emulator throws an
error?
Pregunta 69
Pregunta
Javascript is enabled by default in a WebView
Pregunta 70
Pregunta
How to enable JavaScript in WebView?
Respuesta
-
myWebView. setJavaScriptEnabled(true);
-
myWebView.getJavaScriptSettings.setEnabled(true)
-
myWebView.getSettings().setJavaScriptEnabled(true);
-
Java script is always enabled in WebView
Pregunta 71
Pregunta
Which of the following is correct about XML layout files?
Respuesta
-
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.
Pregunta 72
Pregunta
The DalvikVM core libraries are a subset of which of the following?
Respuesta
-
. Java ME
-
Java SE
-
Java EE
-
JAX-WS
Pregunta 73
Pregunta
Which of the following is correct about file access in the Android
system?
Respuesta
-
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
Pregunta 74
Pregunta
When creating a file using
android.content.Context.openFileOutput("test.txt", 0), where is the file
created?
Respuesta
-
/data/app/<package name>/files
-
/data/data/<package name>/files
-
/system/app/<package name>/files
-
. /system/data/<package name>/files
Pregunta 75
Pregunta
Which of the following is incorrect about the LogCat tool?
Respuesta
-
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)
Pregunta 76
Pregunta
Which of the following information is not included in the Manifest file?
Respuesta
-
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.
Pregunta 77
Pregunta
Which method should you use to start a sub-activity?
Respuesta
-
startActivity(Intent intent)
-
startActivityForResult(Intent intent)
-
startService(Intent intent)
-
startSubActivity(Intent intent)
Pregunta 78
Pregunta
Which package of the following does not have classes needed for
Android network connections?
Respuesta
-
java.net
-
org.apache.http
-
android.location
-
android.net
Pregunta 79
Pregunta
Which of the following attributes is used to set an activity screen to
landscape orientation?
Respuesta
-
screenorientation = landscape
-
screenOrientation=”landscape”
-
android:ScreenOrientation=“landscape”
-
android:screenOrientation=”landscape”
Pregunta 80
Pregunta
What is not true about the AndroidManifest.xml file?
Respuesta
-
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
Pregunta 81
Pregunta
If your application is throwing exception
android.content.ActivityNotFoundException, how to fix it?
Respuesta
-
Create a new activity Java sub-class.
-
Rename your activity
-
Create the activity layout
-
Add the activity to the AndroidManifest
Pregunta 82
Pregunta
Q58. Which of the following lines of codes adds zoom controls to a
WebView?
Respuesta
-
webView.getSettings().setBuiltInZoomControls(true);
-
webView.getSettings().setZoomControls(true);
-
webView.getZoomSettings().setControls(CONTROLS.enabled);
-
Zoom controls are included by default in WebViews.
Pregunta 83
Pregunta
Which of the following best explains the Android option menus?
Respuesta
-
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.
Pregunta 84
Pregunta
Which of the following best explains the Android context menus?
Respuesta
-
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
Pregunta 85
Pregunta
Which of the following does NOT correctly describe interface
android.widget.Adapter?
Respuesta
-
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
Pregunta 86
Pregunta
Which of the following methods updates a ListView when an element
is added to the data set?
Pregunta 87
Pregunta
The values of which of the following classes cannot be mapped in a
Bundle object?
Respuesta
-
Parcelable
-
String
-
ArrayList
-
Context
Pregunta 88
Pregunta
Which of the following is true about method startActivity?
Respuesta
-
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.
Pregunta 89
Pregunta
Which of the following is required to allow the Android Developer
Tools to interact with your view?
Respuesta
-
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.
Pregunta 90
Pregunta
What are the main two types of thread in Android?
Respuesta
-
Main thread and worker threads
-
Main thread and UI thread.
-
Activities and services
-
Main thread and background process.
Pregunta 91
Pregunta
Which of the following AsyncTask methods is NOT executed on the
UI thread?
Respuesta
-
onPreExecute()
-
onPostExecute()
-
publishProgress()
-
onProgressUpdate()
Pregunta 92
Pregunta
Which of the following is NOT true about method getWindow() of
class Dialog do?
Respuesta
-
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