Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 70 pages
Exam (elaborations)

PRM392 Final 2024/2025 Exam Questions and Correct Answers | New Update

Document preview thumbnail
Preview 4 out of 70 pages

PRM392 Final 2024/2025 Exam Questions and Correct Answers | New Update C -

Content preview

PRM392 Final 2024/2025 Exam
Questions and Correct Answers | New
Update



C - 🧠 ANSWER ✔✔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 - 🧠 ANSWER ✔✔What are components in Room?


A. Entity

B. DatabaseHelper


COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY 1
STATEMENT. ALL RIGHTS RESERVED

,C. Repository

D. DAO


B - 🧠 ANSWER ✔✔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 - 🧠 ANSWER ✔✔How to store heavy structured data in android?


A. Not possible

B. SQlite database

C. Cursor

D. Shared Preferences


ACD - 🧠 ANSWER ✔✔Which of the following are true statements about

implicit and explicit intent? (3 answers)




COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY 2
STATEMENT. ALL RIGHTS RESERVED

,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 - 🧠 ANSWER ✔✔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 - 🧠 ANSWER ✔✔Which of the following should be used to save the

unsaved data and release resources being used by Android application?



COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY 3
STATEMENT. ALL RIGHTS RESERVED

, A. Activity onStop()

B. Activity onDestroy()

C. Activity onPause()

D. Activity on Shutdown()


ABCD - 🧠 ANSWER ✔✔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 - 🧠 ANSWER ✔✔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


COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY 4
STATEMENT. ALL RIGHTS RESERVED

Document information

Uploaded on
April 9, 2025
Number of pages
70
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$13.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
NinjaNerd
3.4
(78)
Sold
419
Followers
6
Items
15918
Last sold
1 day ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions