Quiz
Examen de Certififacion Android Application Development AND-401 (Ejemplo)
Questions in this quiz (92)
1¿Cuales son las capas que componen Android ?
- AApplications, SDK Framework, Linux Kernel, Libraries y Android Runtime
- BApplications, Application Framework, Linux System, Libraries y Android Runtime
- CApplications, Application Framework, Linux Kernel, Libraries y Android Runtime
- DApplications, Application Framework, Linux Kernel, Core Libraries y Android Runtime
2¿Cuales son los elementos que conforman el Application Framework?
- AWindow Manager, Notification Manager, Activity Manager, Telephony Manager, Location Manager y View System.
- BWindow System, Notification Manager, Activity Manager, Telephony Manager, Location Manager y View System.
- CWindow Manager, Notification Manager, Activity Manager, Home Manager, Location Manager y View System.
- DWindow Manager, Notification Manager, Activity Manager, Telephony Manager, Location Manager y View State.
3¿Que elementos integran las "Libraries"?
- ASQLite, Surface Manager, Webkit, Core Libraries, Dalvik VM, SSL, SGL y Media Framework.
- BSQLite, Surface Manager, Webkit, Core Libs, Dalvik VM, SSL, SGL y Media Framework.
- CSQLite, Surface Manager, Webkit, Core Libs, Malvin VM, SSL, SGL y Media Framework.
- DSQLite, Surface Manager, Webkit, Core Libs, Dalvik VM, SSL, SGL y SDK Framework.
4¿Cuales son los elementos que componen la capa "Linux Kernel"?
- A1.- Power Management
2.- Camera driver
3.- Wifi driver
4.- Audio driver
5.- Bluetooth driver
6.- Keypad driver
7.- USB driver
8.- Display driver - B1.- Power System
2.- Camera driver
3.- Wifi driver
4.- Audio driver
5.- Bluetooth driver
6.- Keypad driver
7.- USD driver
8.- Display driver - C1.- Power Management
2.- Camera driver
3.- Wifi driver
4.- Audio driver
5.- Bluetooth driver
6.- Keypad driver
7.- USD driver
8.- Display driver - D1.- Power Management
2.- Camera driver
3.- Wifi driver
4.- Audio driver
5.- Bluetooth driver
6.- Keypad driver
7.- USD driver
8.- View driver
- A1.- Power Management
5_____________ actua como una capa de abstraccion entre el hardware y el resto del software.
- ALibraries
- BLinux Kernel
- CApplication Framework
- DAndroid Runtime
6_____________ 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.
- ALinux kernel
- BLibraries C/C++
- CApplication Framework
- DAndroid Runtime
7Es el sucesor del Dalvik Virtual Machine (DVM)
- ALinux Kernel
- BAndroid Runtime
- CCore Libraries
- DJava Virtual Machine (JVM)
8Fue 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.
- ALinux Kernel
- BAndroid Runtime
- CLibraries
- DApplication Framework
9Esta 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.
- ALinux Kernel
- BAndroid Runtime
- CApplication Framework
- DLibraries
10Libreria del SDK de Android que provee las principales interfaces graficas de usuario y permite su iteraccion con el UI.
- Aandroid.view
- Bandroid.util
- Candroid.widget
- Dandroid.app
11Libreria 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.
- Aandroid.view
- Bandroid.widget
- Candroid.util
- Dandroid.webkit
12Libreria del SDK de Android que contiene clases para formateo de cadenas y convertidores de XML.
- Aandroid.util
- Bandroid.widget
- Candroid.app
- Dandroid.webkit
13Libreria 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.
- Aandroid.util
- Bandroid.widget
- Candroid.database
- Dandroid.content
14Libreria del SDK de Android el cual provee acceso a componentes de niveles altos, las clases Activity y Service son parte de este.
- Aandroid.util
- Bandroid.widget
- Candroid.app
- Dandroid.webkit
15Libreria del SDK de Android el cual provee facil accedo a Proveedores de Contenido basicos tales como contactos y base de datos del calendario.
- Aandroid.content
- Bandroid.app
- Candroid.webkit
- Dandroid.provider
16¿Cuales son los componentes de una aplicacion Android?
- AActivities, Services, Content Provider y Broadcast Receivers
- BActivities, Widget, Content Provider y Broadcast Receivers
- CActivities, Services, Content Filter y Broadcast Receivers
- DActivities, Views , Content Provider y Broadcast Receivers
17Componente de Android que administra y provee bases de datos de la aplicación.
- AAntivity
- BServices
- CContent Provider
- DVIew
18What method you should override to use Android Menu system?
- AonCreateOptionsMenu()
- BonCreateMenu()
- ConMenuCreated()
- DonCreateContextMenu()
19What Activity method you use to retrieve a reference to an Android view by using the id attribute of a resource XML?
- AfindViewByReference(int id)
- BfindViewById(int id)
- CretrieveResourceById(int id)
- DfindViewById(String id)
20Which of thefollowing is not an Android component (i.e.a point which the system can enter your application)?
- AService
- BActivity
- CLayout
- DContent Provider
21Which of the following in NOT a valid usage for Intents?
- AActivate an Activity
- BActivate a Service
- CActivate a Broadcast receiver
- DActivate a SQLite DB Connection
22Which of the following is not a valid Android resource file name?
- Amylayout.xml
- BmyLayout.xml
- Cmy_layout.xml
- Dmylayout1.xml
23Which of these is not defined as a process state?
- ANon-visible
- BVisible
- CForeground
- DBackground
24Which file specifies the minimun required Android SDK version your apllication supports?
- Amain.xml
- BR.java
- Cstrings.xml
- DAndroidManifest.xml
25Whats the parent class of all Activity widgets?
- AViewGroup
- BLayout
- CView
- DWidget
26Whats the name of the class used by Intent to store additional information?
- AExtra
- BParceceable
- CBundle
- DDataStore
27Which of these files contains text values that youcan use in your apllication?
- AAndroidManifest.xml
- Btes/Text.xml
- Cres/layout/Main.xml
- Dres/values/strings.xml
28What does the Android project folder "res/" contain?
- AJava Antivity classes
- BResource files
- Cjava source code
- DLibraries
29What 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);- AStarts a sub-activity
- BStarts a service
- CSends results to another activity
- DStarts an activity using an implicit intent
30Which of the following Activity life-cycle methods is called once the activity is no longer visible?
- AonStop
- BonPause
- ConDestroy
- DonHide
31Which of the following is a correct Android Manifest statement?
- A<uses-permission android:name="android.Internet"/>
- B<uses-permission android:name="android.Internet"></uses-permission>
- C<uses-permission android:name="android.permission.Internet">
- D<uses-permission android:name="android.permission.Internet"/>
32Which of the following is true attribute
android:windowSoftInputMode
of the <activity> tag in file AndroidManifest.xml?- AIt specifies wheter the window is in full screen or not
- Bit adjust how the main window of the activity interacts with keyboard
- Cit adjust how the window should be launched
- Dit adjust the window orientatio
33What does the folloeingcode achieve?
Intent intent = new Intent ( FirstActivity.this, SeconActivity.class);
StartActivityForResult(intent);- AStarts a browser activity
- BStarts a subactivity
- CStarts an activity service
- DSends result to another activity
34When using an implicit intent, what process does the system use to know what to do with it_
- AIntent resolution
- BIntent declaration
- CIntent overloading
- DIntent transition
35Which of the following is NOT true about the MenuItem interface?
- AThe MenuItem instante will be returned by Menu class add(...) method
- BMenuItem clan decide the Intent issued when clicking menu components
- CMenuItem can display either an icon or text
- DMenuItem can set a checkbox
36Which is the correct explanation of ListView?
- AIts necessary to use ListView as a set with ListActivity
- BYou cannot use a ListView when is no information to be displayed
- CWhen displaying a list od Stings using an ArrayAdapter class in ListView, you must save the value in an Arraylist
- DListView has a function to display a list od uniquely defined Views other than TextView
37Which of the following is incorrect avbout the Toast class?
- AYou cannot set a custom layout for a Toast
- BA Toast can only create by an Activity class
- CThere is no need to close or hide a toast, since it closes automatically
- DA Toast is displayed for only one of the following periods: Toast.LENGTH_SHORT od Toast.LEGTH_LONG
38Which of the following is not a ContentProvider provided natively by Android?
- AThe contact list
- BThe telephone list
- CThe bookmarks
- DThe application list
39Which of the following tools creates cretificates for signing Andrpod applications?
- Aadb
- Blogcat
- Ckeytool
- Dcertgen
40Which manifest file permission you should add to allow your application to read the device's address book?
- AREAD_ADDRESS_DATA
- BREAD_PHONE_STATE
- CREAD_PHONE_CONTACTS
- DREAD_CONTACTS
41You can create a custom view by extending class
- Aandroid.widget.view
- Bandroid.widget.LinearLayout
- Candroid.view.View
- Dandroid.content.Context
42In which Activity life-cycle method you should do all of your normal static set up such as: creating views and bind data to lists?
- AonResume()
- BonStart()
- ConCreate()
- DonPause
43Which of the following lines of code starts activity Activity2 from a current activity Activity1?
- AIntent intent = new Intent(this,new Activity2());
startActivity(intent); - BIntent intent = new Intent(new Activity2());
startActivity(intent); - CIntent intent = new Intent(Activity1.class, Activity2.class);
startActivity(intent); - DIntent intent = new Intent(this,new Activity2().class);
startActivity(intent);
- AIntent intent = new Intent(this,new Activity2());
44Which of the folloring methods is called in an Activity when another activity gets into foreground?
- AonStop()
- BonPause()
- ConDestroy()
- DonExit()
45Consider 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?- AIt sends a result to a new Acctivity in a Bundle
- BIt will not compile without adding the INTERNET permission the Manifest file
- Cit starts any activity in the application that has a WebView in its layout
- DWhen it is executed, the system starts an intent resolution process to start the right Activity.
46Which if the following is not true about <activity> tag in AndroidManifest.xml
- ADeclares an activity that implements part of the application's visual user interface
- BContained in zapplication> tag
- CDeclares a single hardware or software feature that is used by the application
- DHas an attribute that specifies the name of the Activity sub-class that implements the activity.
47Which of the following Android View sub-classes uses the WebKit rendering engine to display web pages?
- APageView
- BWebView
- CMapView
- DHttpCient
48Consider 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?- AThe code inflates an xml file menu items
- BThe code creates menu items for context menu programmatically
- CThe code assign actions to menu items
- DThe code Opens a menu resource file, modifies it, and saves the changes
49Which of the following are primary pieces of information that are required to define in an implicit Intent?
- AAn Action to be performed and data to operate on
- BAn action to be performed and a category for additional information
- CA Bundle for extra data
- DA category for additional information and data to operate on
50When is the intent resolution process triggered?
- AWhen the system receives an implicit intent to start an activity
- BWhen an explicit intent starts a service
- CWhen the system receives an explicit intent to start an activity
- DWhen the application calls method "startActivityIntentResolution"
51Which of the following you cannot acchieve by creating your own View sub-clases?
- ACreate a completely new customized View type
- BCombine a group of View components into a new single component
- CSpecify when to destroy an activity and all its views
- DOverride the way that an existing component is displayed on the screen
52Which of the following applies to the onDraw() methods of class View? (Choose two)
- AIt must be overridden if a customize drawing of a view is required
- Bit takes two parameters: a Canvas and a View
- CIt takes one parameter of type Canvas
- DIt uses the Canvas parameter to draw the border of the acctivity that constains it
53Which of the following is true about the Dialog class? (Choose two)
- AYou can add a custom layout to a dialog using "setContetView()"
- BA dialog has a life-cycle independent of the Activity
- CA dialog id displayed on the screen using method show()
- DIt does not have a method to access the activity that activity that owns it
54Which of the following is not valid form of notification invoked by the NotificationManager?
- AA Flashing LED
- BA persistent icon in the status bar
- CA sound played
- Da SMS sent
55Which of the following a Notification object must containt? (Choose three)
- AA small icon
- BA detail text
- CA notificacion sound
- DA title
56During an Activity life-cycle, what is the first callback method invoked by the system?
- AonStop()
- BonStart()
- ConCreate()
- DonRestore()
57Which configuration file holds the permission to use the internet?
- ALayout file
- BProperty file
- CJava file
- DManifest file
58Intent intent = new Intent(FirstActivity.this,SecondActivity.class);
- ACreates an hidden Intent
- BCreates an implicit Intent
- CCreates an explicit Intent
- DStarts an activity
59What is the name of the folder that contains the R.java file?
- Asrc
- Bres
- Cbin
- Dgen
60 What is a correct statement about an XML layout file?
- AA layout PNG image file
- BA file used to draw the content of an Activity
- CA file that contains all application permission information
- DA file that contains a single activity widget
61 What does the src folder contain?
- AImage and icon files
- BXML resource files
- CThe application manifest file
- DJava source code files
62Which is not included in the Android application framework?
- AWindowManager
- BNotificationManager
- CDialerManager
- D. PackageManager
63What Eclipse plugin is required to develop Android
application?- AJ2EE
- BAndroid Software Development Kit
- CAndroid Development Tools
- DWeb Development Tools
64You can create a custom view by extending class Activity
- ATrue
- BFalse
65Which of the following is a Java call-back method invoked
when a view is clicked?- ADetector
- BOnTapListener
- COnClickDetector
- DOnClickListener
66Which of the following is not an Activity lifecycle call-back
method?- AonStart
- BonCreate
- ConPause
- DonBackPressed
67Which method is used to close an activity?
- ADestroy( )
- BFinish( )
- CStop( )
- DClose( )
68Which of the following tools dumps system log messages
including stack traces when the device or emulator throws an
error?- ADDMS
- BLogcat
- CConsole
- DADB
69Javascript is enabled by default in a WebView
- ATrue
- BFalse
70How to enable JavaScript in WebView?
- AmyWebView. setJavaScriptEnabled(true);
- BmyWebView.getJavaScriptSettings.setEnabled(true)
- CmyWebView.getSettings().setJavaScriptEnabled(true);
- DJava script is always enabled in WebView
71Which of the following is correct about XML layout files?
- AIn 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" - BThere is no distinction between implementation of the layout definition by code, or by
XML layout file. - CIn an Eclipse project using the ADT plugin, the XML layout file is found in the /res/layout
directory. - DLayout information written in the XML layout file will be converted into code by the
Android platform when the screen is displayed.
- AIn order to display a Ul defined in the XML layout file "main.xml", call the
72The DalvikVM core libraries are a subset of which of the following?
- A. Java ME
- BJava SE
- CJava EE
- DJAX-WS
73 Which of the following is correct about file access in the Android
system?- AGenerally, files are handled as dedicated resources per each application.
- BFiles created by an application can be directly accessed by any application
- CThe content of file created by application cannot be accessed by any other
application. - DYou can only access a file from within an Activity
74 When creating a file using
android.content.Context.openFileOutput("test.txt", 0), where is the file
created?- A/data/app/<package name>/files
- B/data/data/<package name>/files
- C/system/app/<package name>/files
- D. /system/data/<package name>/files
75Which of the following is incorrect about the LogCat tool?
- AA LogCat view is available as part of the ADT plugin of Eclipse
- BYou can create a log in your application using Log.v(String, String)
- C. Each log message has a tag
- DOnly one of your application can create log entries, and it should be component class
(Activity, Service,...etc)
76 Which of the following information is not included in the Manifest file?
- AThe activities contained in the application
- BThe permissions required by the application
- CThe application’s minimum SDK version required.
- DThe handset model compatible with your application.
77 Which method should you use to start a sub-activity?
- AstartActivity(Intent intent)
- BstartActivityForResult(Intent intent)
- CstartService(Intent intent)
- DstartSubActivity(Intent intent)
78Which package of the following does not have classes needed for
Android network connections?- Ajava.net
- Borg.apache.http
- Candroid.location
- Dandroid.net
79Which of the following attributes is used to set an activity screen to
landscape orientation?- Ascreenorientation = landscape
- BscreenOrientation=”landscape”
- Candroid:ScreenOrientation=“landscape”
- Dandroid:screenOrientation=”landscape”
80What is not true about the AndroidManifest.xml file?
- AIt declares the views used within the application
- BIt declares user permissions the application requires
- CIt declares application components
- DIt declares hardware and software features used within the application
81 If your application is throwing exception
android.content.ActivityNotFoundException, how to fix it?- ACreate a new activity Java sub-class.
- BRename your activity
- CCreate the activity layout
- DAdd the activity to the AndroidManifest
82Q58. Which of the following lines of codes adds zoom controls to a
WebView?- AwebView.getSettings().setBuiltInZoomControls(true);
- BwebView.getSettings().setZoomControls(true);
- CwebView.getZoomSettings().setControls(CONTROLS.enabled);
- DZoom controls are included by default in WebViews.
83 Which of the following best explains the Android option menus?
- AIt is a popup menu that displays a list of items in a vertical list anchored to the view that
invoked the menu. - BIt 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. - CIt 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." - DIt is a type of List Activity with predefined headers and footers for special commands.
- AIt is a popup menu that displays a list of items in a vertical list anchored to the view that
84Which of the following best explains the Android context menus?
- AIt is a popup menu displays a list of items in a vertical list that's anchored to the view
that invoked the menu. - BIt 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. - CIt 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." - DIt is a sub-menu of an options menu item
- AIt is a popup menu displays a list of items in a vertical list that's anchored to the view
85Which of the following does NOT correctly describe interface
android.widget.Adapter?- AIt is an object that acts as a bridge between a View and underlying data for that view
- BIt provides access to the data items.
- CIt provides access to deprecated ListView methods
- DIt is responsible for making a View for each item in the data set
86Which of the following methods updates a ListView when an element
is added to the data set?- Anotify( )
- BnotifyAll( )
- CnotifyDataSetChanged( )
- DnotifyDataSetInvalidate( )
87The values of which of the following classes cannot be mapped in a
Bundle object?- AParcelable
- BString
- CArrayList
- DContext
88Which of the following is true about method startActivity?
- AIt starts a new activity and destroys the previous one
- BIt starts a new activity and sends the previous one to the background
- CIt starts a new activity and pauses the previous one.
- DIt starts a new activity in a paused mode.
89 Which of the following is required to allow the Android Developer
Tools to interact with your view?- AProvide a constructor that takes a Context and an AttributeSet object as parameters.
- BProvide a constructor that takes a Context object as parameter.
- CExtend class View
- DOverride method onDraw() of class View.
90What are the main two types of thread in Android?
- AMain thread and worker threads
- BMain thread and UI thread.
- CActivities and services
- DMain thread and background process.
91Which of the following AsyncTask methods is NOT executed on the
UI thread?- AonPreExecute()
- BonPostExecute()
- CpublishProgress()
- DonProgressUpdate()
92Which of the following is NOT true about method getWindow() of
class Dialog do?- AIt retrieves the current window for the activity
- BIt can be used to access parts of the Windows API.
- CIt displays the dialog on the screen.
- DIt returns null if the activity is not visual
Information
- Description
- Application Development Android Studio Quiz on Examen de Certififacion Android Application Development AND-401 (Ejemplo), created by Martin Ernesto Castillo Gonzalez on 16/06/2016.
- Language
- Español
- Views
- 46
- History
- Created on 16 Jun 2016 · updated on 25 Dec 2016
- Tags
- Rating
- 5.0 out of 5 · 1 rating Rate this quiz