Garantie de satisfaction à 100% Disponible immédiatement après paiement En ligne et en PDF Tu n'es attaché à rien 4.2 TrustPilot
logo-home
Examen

PRM392 Final Test Questions with Correct Answers 100% Pass

Note
-
Vendu
-
Pages
18
Grade
A+
Publié le
25-03-2025
Écrit en
2024/2025

PRM392 Final Test Questions with Correct Answers 100% Pass C - Answers What Activity lifecycle methods are called when a device-configuration change (such as rotation) occurs? Choose one: A. Android immediately shuts down your Activity by calling onStop(). Your code must restart the Activity. B. Android shuts down your Activity by calling onPause(), onStop(), and onDestroy(). Your code must restart the Activity. C. Android shuts down your Activity by calling onPause(), onStop(), and onDestroy(), and then starts it over again, calling onCreate(), onStart(), and onResume(). D. Android immediately calls onResume(). ACD - Answers What are components in Room? A. Entity B. DatabaseHelper C. Repository D. DAO B - Answers Which component is used to open an Activity when user taps a notification? A. Action button B. PendingIntent that's sent when the user taps the action button C. Title that describes the action D. Icon that represents the action B - Answers How to store heavy structured data in android? A. Not possible B. SQlite database C. Cursor D. Shared Preferences ACD - Answers Which of the following are true statements about implicit and explicit intent? (3 answers) A. Android delivers an explicit intent to a target component without consulting filters in the AndroidM file B. Implicit intents are typically used to interact with components residing in other apps C. Explicit intents are typically used to interact with components residing in other apps D. Android delivers an implicit intent to a target component only if it matches one of its intent filters in the AndroidM file AB - Answers How do you send data from an activity to a fragment? A. Set a Bundle and use the FArguments(Bundle) method tosupply the construction arguments for the fragment. B. Use the Fragment method getArguments() to get the arguments. C. Define an interface in the Fragment class, and implement the interface in the activity. D. Call addToBackStack() during a transaction that removes the fragment. B - Answers Which of the following should be used to save the unsaved data and release resources being used by Android application? A. Activity onStop() B. Activity onDestroy() C. Activity onPause() D. Activity on Shutdown() ABCD - Answers Android Architecture Components provide some convenience annotations for DAOS. Which of the following are available? (Choose 4 answers) A. @Query B. @Insert C. @Delete D. @Update E. @Select C - Answers Suppose you want to create an app that has a white background, dark text, and a dark action bar. Which base style does your application style inherit from? A. Theme.AppCompat.Light B. Theme.AppCompat Dark.NoActionBar C. Theme.AppCompat.Light.DarkActionBar

Montrer plus Lire moins
Établissement
PRM392
Cours
PRM392










Oups ! Impossible de charger votre document. Réessayez ou contactez le support.

École, étude et sujet

Établissement
PRM392
Cours
PRM392

Infos sur le Document

Publié le
25 mars 2025
Nombre de pages
18
Écrit en
2024/2025
Type
Examen
Contient
Questions et réponses

Sujets

Aperçu du contenu

PRM392 Final Test Questions with Correct Answers 100% Pass

C - Answers What Activity lifecycle methods are called when a device-configuration change (such as
rotation) occurs? Choose one:

A. Android immediately shuts down your Activity by calling onStop(). Your code must restart the Activity.

B. Android shuts down your Activity by calling onPause(), onStop(), and onDestroy(). Your code must
restart the Activity.

C. Android shuts down your Activity by calling onPause(), onStop(), and onDestroy(), and then starts it
over again, calling onCreate(), onStart(), and onResume().

D. Android immediately calls onResume().

ACD - Answers What are components in Room?

A. Entity

B. DatabaseHelper

C. Repository

D. DAO

B - Answers Which component is used to open an Activity when user taps a notification?

A. Action button

B. PendingIntent that's sent when the user taps the action button

C. Title that describes the action

D. Icon that represents the action

B - Answers How to store heavy structured data in android?

A. Not possible

B. SQlite database

C. Cursor

D. Shared Preferences

ACD - Answers Which of the following are true statements about implicit and explicit intent? (3 answers)

A. Android delivers an explicit intent to a target component without consulting filters in the
AndroidManifest.xml file

,B. Implicit intents are typically used to interact with components residing in other apps

C. Explicit intents are typically used to interact with components residing in other apps

D. Android delivers an implicit intent to a target component only if it matches one of its intent filters in
the AndroidManifest.xml file

AB - Answers How do you send data from an activity to a fragment?

A. Set a Bundle and use the Fragment.setArguments(Bundle) method tosupply the construction
arguments for the fragment.

B. Use the Fragment method getArguments() to get the arguments.

C. Define an interface in the Fragment class, and implement the interface in the activity.

D. Call addToBackStack() during a transaction that removes the fragment.

B - Answers Which of the following should be used to save the unsaved data and release resources being
used by Android application?

A. Activity onStop()

B. Activity onDestroy()

C. Activity onPause()

D. Activity on Shutdown()

ABCD - Answers Android Architecture Components provide some convenience annotations for DAOS.
Which of the following are available? (Choose 4 answers)

A. @Query

B. @Insert

C. @Delete

D. @Update

E. @Select

C - Answers Suppose you want to create an app that has a white background, dark text, and a dark
action bar. Which base style does your application style inherit from?

A. Theme.AppCompat.Light

B. Theme.AppCompat Dark.NoActionBar

, C. Theme.AppCompat.Light.DarkActionBar

D. Theme.AppCompat.NoActionBar

ABD - Answers What are the advantages of using a Room database? (Choose 3 answers)

A. Creates and manages an Android SQLite database for you.

B. Eliminates a lot of boilerplate code.

C. Helps you manage multiple applications.

D. Using a DAO, provides a mechanism for mapping Java methods to database queries

A - Answers When in the Activity lifecycle is onSavelnstanceState() called?

A. onSavelnstanceState() is called before the onStop() method.

B. onSavelnstanceState() is called before the onResume() method.

C. onSavelnstanceState() is called before the onCreate() method.

D. onSavelnstanceState() is called before the onDestroy() method

AB - Answers Which of the following correctly describe what Android's IntentService does? (2 answers)

A. It's a framework that handles asynchronous requests on demand

B. It expresses requests as intent & passes them between threads and/or process

C. It is a component that provides a screen within which users can interact in order to do something

D. It is an event handler that reponds to system-side broadcast announcement

A - Answers If an AsyncTask is defined as follows

private class DownloadFiles Task extends AsyncTask<URL, Integer, Long>

What is the type of the value that is passed to doInBackground() in the AsyncTask?

A. URL

B. Integer

C. Void

D. Long

ADE - Answers Which of the following are methods in the activity and fragment lifecycles? (Choose 3
answers)
€9,55
Accéder à l'intégralité du document:

Garantie de satisfaction à 100%
Disponible immédiatement après paiement
En ligne et en PDF
Tu n'es attaché à rien

Faites connaissance avec le vendeur

Seller avatar
Les scores de réputation sont basés sur le nombre de documents qu'un vendeur a vendus contre paiement ainsi que sur les avis qu'il a reçu pour ces documents. Il y a trois niveaux: Bronze, Argent et Or. Plus la réputation est bonne, plus vous pouvez faire confiance sur la qualité du travail des vendeurs.
TutorJosh Chamberlain College Of Nursing
S'abonner Vous devez être connecté afin de suivre les étudiants ou les cours
Vendu
348
Membre depuis
1 année
Nombre de followers
16
Documents
29145
Dernière vente
5 heures de cela
Tutor Joshua

Here You will find all Documents and Package Deals Offered By Tutor Joshua.

3,6

55 revues

5
19
4
14
3
12
2
0
1
10

Récemment consulté par vous

Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Foire aux questions