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

Descrição

Application Development Android Studio Quiz sobre Examen de Certififacion Android Application Development AND-401 (Ejemplo), criado por Martin Ernesto Castillo Gonzalez em 16-06-2016.
Martin Ernesto Castillo Gonzalez
Quiz por Martin Ernesto Castillo Gonzalez, atualizado more than 1 year ago
Martin Ernesto Castillo Gonzalez
Criado por Martin Ernesto Castillo Gonzalez aproximadamente 8 anos atrás
26
1

Resumo de Recurso

Questão 1

Questão
¿Cuales son las capas que componen Android ?
Responda
  • 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

Questão 2

Questão
¿Cuales son los elementos que conforman el Application Framework?
Responda
  • 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.

Questão 3

Questão
¿Que elementos integran las "Libraries"?
Responda
  • 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.

Questão 4

Questão
¿Cuales son los elementos que componen la capa "Linux Kernel"?
Responda
  • 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

Questão 5

Questão
_____________ actua como una capa de abstraccion entre el hardware y el resto del software.
Responda
  • Libraries
  • Linux Kernel
  • Application Framework
  • Android Runtime

Questão 6

Questão
_____________ 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.
Responda
  • Linux kernel
  • Libraries C/C++
  • Application Framework
  • Android Runtime

Questão 7

Questão
Es el sucesor del Dalvik Virtual Machine (DVM)
Responda
  • Linux Kernel
  • Android Runtime
  • Core Libraries
  • Java Virtual Machine (JVM)

Questão 8

Questão
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.
Responda
  • Linux Kernel
  • Android Runtime
  • Libraries
  • Application Framework

Questão 9

Questão
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.
Responda
  • Linux Kernel
  • Android Runtime
  • Application Framework
  • Libraries

Questão 10

Questão
Libreria del SDK de Android que provee las principales interfaces graficas de usuario y permite su iteraccion con el UI.
Responda
  • android.view
  • android.util
  • android.widget
  • android.app

Questão 11

Questão
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.
Responda
  • android.view
  • android.widget
  • android.util
  • android.webkit

Questão 12

Questão
Libreria del SDK de Android que contiene clases para formateo de cadenas y convertidores de XML.
Responda
  • android.util
  • android.widget
  • android.app
  • android.webkit

Questão 13

Questão
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.
Responda
  • android.util
  • android.widget
  • android.database
  • android.content

Questão 14

Questão
Libreria del SDK de Android el cual provee acceso a componentes de niveles altos, las clases Activity y Service son parte de este.
Responda
  • android.util
  • android.widget
  • android.app
  • android.webkit

Questão 15

Questão
Libreria del SDK de Android el cual provee facil accedo a Proveedores de Contenido basicos tales como contactos y base de datos del calendario.
Responda
  • android.content
  • android.app
  • android.webkit
  • android.provider

Questão 16

Questão
¿Cuales son los componentes de una aplicacion Android?
Responda
  • 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

Questão 17

Questão
Componente de Android que administra y provee bases de datos de la aplicación.
Responda
  • Antivity
  • Services
  • Content Provider
  • VIew

Questão 18

Questão
What method you should override to use Android Menu system?
Responda
  • onCreateOptionsMenu()
  • onCreateMenu()
  • onMenuCreated()
  • onCreateContextMenu()

Questão 19

Questão
What Activity method you use to retrieve a reference to an Android view by using the id attribute of a resource XML?
Responda
  • findViewByReference(int id)
  • findViewById(int id)
  • retrieveResourceById(int id)
  • findViewById(String id)

Questão 20

Questão
Which of thefollowing is not an Android component (i.e.a point which the system can enter your application)?
Responda
  • Service
  • Activity
  • Layout
  • Content Provider

Questão 21

Questão
Which of the following in NOT a valid usage for Intents?
Responda
  • Activate an Activity
  • Activate a Service
  • Activate a Broadcast receiver
  • Activate a SQLite DB Connection

Questão 22

Questão
Which of the following is not a valid Android resource file name?
Responda
  • mylayout.xml
  • myLayout.xml
  • my_layout.xml
  • mylayout1.xml

Questão 23

Questão
Which of these is not defined as a process state?
Responda
  • Non-visible
  • Visible
  • Foreground
  • Background

Questão 24

Questão
Which file specifies the minimun required Android SDK version your apllication supports?
Responda
  • main.xml
  • R.java
  • strings.xml
  • AndroidManifest.xml

Questão 25

Questão
Whats the parent class of all Activity widgets?
Responda
  • ViewGroup
  • Layout
  • View
  • Widget

Questão 26

Questão
Whats the name of the class used by Intent to store additional information?
Responda
  • Extra
  • Parceceable
  • Bundle
  • DataStore

Questão 27

Questão
Which of these files contains text values that youcan use in your apllication?
Responda
  • AndroidManifest.xml
  • tes/Text.xml
  • res/layout/Main.xml
  • res/values/strings.xml

Questão 28

Questão
What does the Android project folder "res/" contain?
Responda
  • Java Antivity classes
  • Resource files
  • java source code
  • Libraries

Questão 29

Questão
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);
Responda
  • Starts a sub-activity
  • Starts a service
  • Sends results to another activity
  • Starts an activity using an implicit intent

Questão 30

Questão
Which of the following Activity life-cycle methods is called once the activity is no longer visible?
Responda
  • onStop
  • onPause
  • onDestroy
  • onHide

Questão 31

Questão
Which of the following is a correct Android Manifest statement?
Responda
  • <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"/>

Questão 32

Questão
Which of the following is true attribute android:windowSoftInputMode of the <activity> tag in file AndroidManifest.xml?
Responda
  • 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

Questão 33

Questão
What does the folloeingcode achieve? Intent intent = new Intent ( FirstActivity.this, SeconActivity.class); StartActivityForResult(intent);
Responda
  • Starts a browser activity
  • Starts a subactivity
  • Starts an activity service
  • Sends result to another activity

Questão 34

Questão
When using an implicit intent, what process does the system use to know what to do with it_
Responda
  • Intent resolution
  • Intent declaration
  • Intent overloading
  • Intent transition

Questão 35

Questão
Which of the following is NOT true about the MenuItem interface?
Responda
  • 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

Questão 36

Questão
Which is the correct explanation of ListView?
Responda
  • 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

Questão 37

Questão
Which of the following is incorrect avbout the Toast class?
Responda
  • 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

Questão 38

Questão
Which of the following is not a ContentProvider provided natively by Android?
Responda
  • The contact list
  • The telephone list
  • The bookmarks
  • The application list

Questão 39

Questão
Which of the following tools creates cretificates for signing Andrpod applications?
Responda
  • adb
  • logcat
  • keytool
  • certgen

Questão 40

Questão
Which manifest file permission you should add to allow your application to read the device's address book?
Responda
  • READ_ADDRESS_DATA
  • READ_PHONE_STATE
  • READ_PHONE_CONTACTS
  • READ_CONTACTS

Questão 41

Questão
You can create a custom view by extending class
Responda
  • android.widget.view
  • android.widget.LinearLayout
  • android.view.View
  • android.content.Context

Questão 42

Questão
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?
Responda
  • onResume()
  • onStart()
  • onCreate()
  • onPause

Questão 43

Questão
Which of the following lines of code starts activity Activity2 from a current activity Activity1?
Responda
  • 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);

Questão 44

Questão
Which of the folloring methods is called in an Activity when another activity gets into foreground?
Responda
  • onStop()
  • onPause()
  • onDestroy()
  • onExit()

Questão 45

Questão
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?
Responda
  • 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.

Questão 46

Questão
Which if the following is not true about <activity> tag in AndroidManifest.xml
Responda
  • 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.

Questão 47

Questão
Which of the following Android View sub-classes uses the WebKit rendering engine to display web pages?
Responda
  • PageView
  • WebView
  • MapView
  • HttpCient

Questão 48

Questão
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?
Responda
  • 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

Questão 49

Questão
Which of the following are primary pieces of information that are required to define in an implicit Intent?
Responda
  • 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

Questão 50

Questão
When is the intent resolution process triggered?
Responda
  • 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"

Questão 51

Questão
Which of the following you cannot acchieve by creating your own View sub-clases?
Responda
  • 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

Questão 52

Questão
Which of the following applies to the onDraw() methods of class View? (Choose two)
Responda
  • 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

Questão 53

Questão
Which of the following is true about the Dialog class? (Choose two)
Responda
  • 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

Questão 54

Questão
Which of the following is not valid form of notification invoked by the NotificationManager?
Responda
  • A Flashing LED
  • A persistent icon in the status bar
  • A sound played
  • a SMS sent

Questão 55

Questão
Which of the following a Notification object must containt? (Choose three)
Responda
  • A small icon
  • A detail text
  • A notificacion sound
  • A title

Questão 56

Questão
During an Activity life-cycle, what is the first callback method invoked by the system?
Responda
  • onStop()
  • onStart()
  • onCreate()
  • onRestore()

Questão 57

Questão
Which configuration file holds the permission to use the internet?
Responda
  • Layout file
  • Property file
  • Java file
  • Manifest file

Questão 58

Questão
Intent intent = new Intent(FirstActivity.this,SecondActivity.class);
Responda
  • Creates an hidden Intent
  • Creates an implicit Intent
  • Creates an explicit Intent
  • Starts an activity

Questão 59

Questão
What is the name of the folder that contains the R.java file?
Responda
  • src
  • res
  • bin
  • gen

Questão 60

Questão
What is a correct statement about an XML layout file?
Responda
  • 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

Questão 61

Questão
What does the src folder contain?
Responda
  • Image and icon files
  • XML resource files
  • The application manifest file
  • Java source code files

Questão 62

Questão
Which is not included in the Android application framework?
Responda
  • WindowManager
  • NotificationManager
  • DialerManager
  • . PackageManager

Questão 63

Questão
What Eclipse plugin is required to develop Android application?
Responda
  • J2EE
  • Android Software Development Kit
  • Android Development Tools
  • Web Development Tools

Questão 64

Questão
You can create a custom view by extending class Activity
Responda
  • True
  • False

Questão 65

Questão
Which of the following is a Java call-back method invoked when a view is clicked?
Responda
  • Detector
  • OnTapListener
  • OnClickDetector
  • OnClickListener

Questão 66

Questão
Which of the following is not an Activity lifecycle call-back method?
Responda
  • onStart
  • onCreate
  • onPause
  • onBackPressed

Questão 67

Questão
Which method is used to close an activity?
Responda
  • Destroy( )
  • Finish( )
  • Stop( )
  • Close( )

Questão 68

Questão
Which of the following tools dumps system log messages including stack traces when the device or emulator throws an error?
Responda
  • DDMS
  • Logcat
  • Console
  • ADB

Questão 69

Questão
Javascript is enabled by default in a WebView
Responda
  • True
  • False

Questão 70

Questão
How to enable JavaScript in WebView?
Responda
  • myWebView. setJavaScriptEnabled(true);
  • myWebView.getJavaScriptSettings.setEnabled(true)
  • myWebView.getSettings().setJavaScriptEnabled(true);
  • Java script is always enabled in WebView

Questão 71

Questão
Which of the following is correct about XML layout files?
Responda
  • 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.

Questão 72

Questão
The DalvikVM core libraries are a subset of which of the following?
Responda
  • . Java ME
  • Java SE
  • Java EE
  • JAX-WS

Questão 73

Questão
Which of the following is correct about file access in the Android system?
Responda
  • 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

Questão 74

Questão
When creating a file using android.content.Context.openFileOutput("test.txt", 0), where is the file created?
Responda
  • /data/app/<package name>/files
  • /data/data/<package name>/files
  • /system/app/<package name>/files
  • . /system/data/<package name>/files

Questão 75

Questão
Which of the following is incorrect about the LogCat tool?
Responda
  • 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)

Questão 76

Questão
Which of the following information is not included in the Manifest file?
Responda
  • 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.

Questão 77

Questão
Which method should you use to start a sub-activity?
Responda
  • startActivity(Intent intent)
  • startActivityForResult(Intent intent)
  • startService(Intent intent)
  • startSubActivity(Intent intent)

Questão 78

Questão
Which package of the following does not have classes needed for Android network connections?
Responda
  • java.net
  • org.apache.http
  • android.location
  • android.net

Questão 79

Questão
Which of the following attributes is used to set an activity screen to landscape orientation?
Responda
  • screenorientation = landscape
  • screenOrientation=”landscape”
  • android:ScreenOrientation=“landscape”
  • android:screenOrientation=”landscape”

Questão 80

Questão
What is not true about the AndroidManifest.xml file?
Responda
  • 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

Questão 81

Questão
If your application is throwing exception android.content.ActivityNotFoundException, how to fix it?
Responda
  • Create a new activity Java sub-class.
  • Rename your activity
  • Create the activity layout
  • Add the activity to the AndroidManifest

Questão 82

Questão
Q58. Which of the following lines of codes adds zoom controls to a WebView?
Responda
  • webView.getSettings().setBuiltInZoomControls(true);
  • webView.getSettings().setZoomControls(true);
  • webView.getZoomSettings().setControls(CONTROLS.enabled);
  • Zoom controls are included by default in WebViews.

Questão 83

Questão
Which of the following best explains the Android option menus?
Responda
  • 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.

Questão 84

Questão
Which of the following best explains the Android context menus?
Responda
  • 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

Questão 85

Questão
Which of the following does NOT correctly describe interface android.widget.Adapter?
Responda
  • 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

Questão 86

Questão
Which of the following methods updates a ListView when an element is added to the data set?
Responda
  • notify( )
  • notifyAll( )
  • notifyDataSetChanged( )
  • notifyDataSetInvalidate( )

Questão 87

Questão
The values of which of the following classes cannot be mapped in a Bundle object?
Responda
  • Parcelable
  • String
  • ArrayList
  • Context

Questão 88

Questão
Which of the following is true about method startActivity?
Responda
  • 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.

Questão 89

Questão
Which of the following is required to allow the Android Developer Tools to interact with your view?
Responda
  • 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.

Questão 90

Questão
What are the main two types of thread in Android?
Responda
  • Main thread and worker threads
  • Main thread and UI thread.
  • Activities and services
  • Main thread and background process.

Questão 91

Questão
Which of the following AsyncTask methods is NOT executed on the UI thread?
Responda
  • onPreExecute()
  • onPostExecute()
  • publishProgress()
  • onProgressUpdate()

Questão 92

Questão
Which of the following is NOT true about method getWindow() of class Dialog do?
Responda
  • 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

Semelhante

Fragments
JORGE CARPIO
Estações do Ano
Alessandra S.
Doenças Cardiovasculares
marianamota99
1º Lista de exercícios - Limites
Professor José
Períodos da História do Brasil
GoConqr suporte .
FCE Phrasal Verbs True or False Quiz
titaleoni
DITADURA MILITAR
Gabriela Vianna
Trauma - Abordagem inicial
Vanessa Palauro
Grécia antiga: formação
jacson luft
Estudo de Gramática - Classes de Palavras
Edivaldo Siqueira
Y2 - Week 2
Natalia André