Which of the following statements is false?

a. When an Activity hosts Fragments and the Activity is resumed, all of its Fragments’ onResume methods are called.
b. An Activity’s onPause method is called when another Activity receives the focus, which pauses the one that loses the focus and sends it to the background.
c. When an Activity hosts Fragments and the Activity is paused, all of its Fragments’ onPause methods are called.
d. When an app is paused, it should ensure that listeners for sensor events are still active.


d. When an app is paused, it should ensure that listeners for sensor events are still active. Actually, when an app is paused, it should remove listeners for sensor events so these events are not delivered to the app when it’s not on the screen. This saves battery.

Computer Science & Information Technology

You might also like to view...

____________________ are sets of formatting attributes that can be used to format web pages and provide a consistent presentation for content across the site.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Case 2 ? Alex, an artist, has made a bet. He bet his friend, Blaine, that he could create a digital painting that Blaine wouldn't be able to differentiate from a digital scan of a real painting. Blaine is skeptical, because he knows that a real painting contains certain brushstrokes that he doesn't believe can be duplicated digitally. Alex knows that he needs to be able to create a stroke that contains multiple colors, the same way a real brush might. What tool should he use?

A. Fade B. Color Mixer C. Mixer Brush D. Smudge

Computer Science & Information Technology

____ is one color shade gradually progressing to another shade of the same color or to another color.

A. Gradual fill B. Shaded fill C. Seamless fill D. Gradient fill

Computer Science & Information Technology

A ____ is a network device that acts as an entrance to another network.

A. bridge B. router C. gateway D. switch

Computer Science & Information Technology