100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
ATC-401 Part 1 $11.49   Add to cart

Exam (elaborations)

ATC-401 Part 1

 1 view  0 purchase
  • Course
  • ATC-401 Part 1
  • Institution
  • ATC-401 Part 1

Q1.What method you should override to use Android's menu which is placed on the action bar? A. onCreateOptionsMenu() B. onCreateMenu() C. onMenuCreated() D. onMenuCreated() - answer-A Q2.What Activity method you use to retrieve a reference to an Android view by using the id attribute of a res...

[Show more]

Preview 2 out of 8  pages

  • September 30, 2024
  • 8
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • ATC-401 Part 1
  • ATC-401 Part 1
avatar-seller
TOPDOCTOR
ATC-401 Part 1 Exam
Q1.What method you should override to use Android's menu which is placed on the action bar?
A. onCreateOptionsMenu() B. onCreateMenu()
C. onMenuCreated()
D. onMenuCreated() - answer-A

Q2.What Activity method you use to retrieve a reference to an Android view by using the id attribute of
a resource XML?
A. findViewByReference(int id) B. findViewById(int id)
C. retrieveResourceById(int id) D. findViewById(String id) - answer-B

Q3.Which of the following is not an Android component (i.e. a point from which the system can enter
your application)?
A. Service
B. Activity
C. Layout
D. Content Provider - answer-C

Q4.During an Activity life-cycle, what is the first callback method invoked by the system?
A. onStop()
B. onStart()
C. onCreate() D. onRestore() - answer-C

Q5.Which configuration file holds the permission to use the internet?
A. Layout file
B. Property file
C. Java source file D. Manifest file - answer-D

Q6.What does the following line of code achieve?
Intent intent = new Intent(FirstActivity.this, SecondActivity.class );
A. Creates a hidden Intent.
B. Creates an implicit Intent.
C. Create an explicit Intent.
D. Starts an activity. - answer-C

Q7. Which of the following is NOT a valid usage for Intents?
A. Activate and Activity.
B. Activate a Service.
C. Activate a Broadcast receiver.
D. Activate a SQLite DB Connection. - answer-D

Q8. Which of the following is not a valid Android resource file name?
A. mylayout.xml B. myLayout.xml C.my_layout.xml D.mylayout1.xml - answer-B

Q9. Which one of the following is not a valid name for process state?
A. Bound

, B. A Visible
C. Foreground
D. Background - answer-A

Q10. What is the role of the R.java file in an Android application project?
A. It contains all resource IDs allowing the developer to reference them from the code using integers.
B. It contains instructions to build the Android application project.
C. It contains information about content providers of the Android application.
D. It contains the target SDK version number. - answer-A

Q11. What is a correct statement about an XML layout file?
A. A layout PNG image file.
B. A file used to draw the content of an Activity.
C. A file that contains all application permission information.
D. A file that contains a single activity widget. - answer-B

Q12. Which folder contains the Android project Java files?
A. res
B. manifests
C. assets
D. java - answer-D

Q13.Which file specifies the minimum required Android SDK version your application supports?
A. main.xml
B. R.java
C. strings.xml
D. build.gradle - answer-D

Q14. What is the parent class of all Activity widgets?
A. ViewGroup
B. Layout
C. View
D. Widget - answer-C

Q15. What is the name of the class used by Intent to store additional information?
A. Extra
B. Parcelable
C. Bundle
D. DataStore - answer-C

Q16.Which of the following is not included in the Android application framework?
A. WindowManager
B. NotificationManager C. DialerManager
D. PackageManager - answer-C

Q17.Which of the following is NOT true about the R.java file?
A. It is auto-generated during the build of the project.

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 TOPDOCTOR. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

82871 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
$11.49
  • (0)
  Add to cart