100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
PRM392 Exam (Update) Questions And Answers | 100% Passed Tests $13.99   Add to cart

Exam (elaborations)

PRM392 Exam (Update) Questions And Answers | 100% Passed Tests

 0 view  0 purchase
  • Course
  • PRM392
  • Institution
  • PRM392

PRM392 Exam (Update) Questions And Answers | 100% Passed Tests Câu 1: Which method is invoked when the activity is started? a. Create(icicle); b. OnClickListener(this); c. public void onCreate(Bundle icicle) d. public class Now extends Activity implements View.OnClickListener ANS A Câu...

[Show more]

Preview 3 out of 19  pages

  • November 15, 2024
  • 19
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • prm392 exam update
  • PRM392
  • PRM392
avatar-seller
Labtech
PRM392 Exam (Update) Questions And Answers |
100% Passed Tests
Câu 1: Which method is invoked when the activity is started?


a. super.onCreate(icicle);
b. btn.setOnClickListener(this);
c. public void onCreate(Bundle icicle)

d. public class Now extends Activity implements View.OnClickListener ANS A


Câu 2: What Widgets are being created in this app:
Layout:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TextView
android:id="@+id/selection"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
<Spinner android:id="@+id/spinner"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:drawSelectorOnTop="true"/>
</LinearLayout>


Java code:

,public class SpinnerDemo extends Activity
implements AdapterView.OnItemSelectedListener {
TextView selection;
String[ ] items={"lorem", "ipsum", "dolor", "sit", "amet","consectetuer", "adipiscing", "elit",
"morbi", "vel","ligula", "vitae", "arcu", "aliquet", "mollis","etiam", "vel", "erat", "placerat",
"ante","porttitor", "sodales", "pellentesque", "augue", "purus"};

@Ove ANS D


Câu 3: Which file contains GUI layout information like a list of buttons, text boxes?


a. AndroidManifest.xml
b. build.xml
c. res/layout/main.xml

d. assets/ ANS C


Câu 4: The simplest Android Widget is a label. What is its name in the layout file?


a. TextView
b. android-label
c. label.xml

d. LabelView ANS A


Câu 5: Process intended to run independent of an Activity to check for updates or to play music even
if the operating Activity is no longer active:


a. Activities
b. Content Providers
c. Services

d. Intents ANS C

, Câu 6: What is the life cycle of services in android?


a. onCreate()−>onStartCommand()−>onDestory()
b. onRecieve()
c. final()

d. Service life cycle is same as activity life cycle. ANS A


Câu 7: What is singleton class in android?


a. A class that can create only one object
b. Anonymous class
c. Java class

d Manifest file ANS A


Câu 8: Explain android activity life cycle?


a. onCreate() −> onStart() −> onActivityStarted() −> onResume() −> onPause() −> onStop()
−>onActivityDistroy() −> onDestroy()
b. OnCreate() −> onStart() −>onResume() −> onPause() −> onStop() −> onRestart() −>onDestroy()
c. OnCreate() −> onStart() −> onPause() −> onResume() −> onStop() −> onDestroy()

d. OnCreate() −> onStart() −> onPause() −> onResume() ANS B


Câu 9: How many sizes are supported by Android?


a. Android supported all sizes
b. Android does not support all sizes
c. Android supports small, normal, large and extra-large sizes

d. Size is undefined in android ANS C

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller Labtech. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $13.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75632 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$13.99
  • (0)
  Add to cart