Android How to Program 3e Paul Deitel Harvey Deitel (Solutions Manual All Chapters)
(Download Link at the end of this File)
- / 2
- Chapter 1 Introduction to Android
Self-Review Exercises
1.1Fill in the blanks in each of the following statements:
a) In 2007, the was formed to develop, maintain and evolve Android, driving
innovation in mobile technology and improving the user experience while reducing costs.
ANS:Open Handset Alliance.
b) The
IDE allows you to create, run and debug Android apps.
ANS:Android Development Tools (ADT).
c) Multitouch screens allow you to control your Android device with involv-
ing one touch or multiple simultaneous touches.
ANS:gestures.
d) With web services, you can create
, which enable you to rapidly develop apps by quickly combining complementary web services, often from different organiza- tions and possibly other forms of information feeds.
ANS:mashups.
e) Android uses a collection of
, which are named groups of related, pre- defined classes.
ANS:packages.
f) The
, included in the Android SDK, allows you to run Android apps in a simulated environment within Windows, Mac OS X or Linux.
ANS:Android emulator.
g) Almost any noun can be reasonably represented as a software object in terms of (e.g., name, color and size) and behaviors (e.g., calculating, moving and
communicating).
ANS:attributes.
h) A program unit called a(n)
houses the methods that perform its tasks.
ANS:class.
i) You send messages to an object. Each message is a(n) that tells a method
of the object to perform its task.
ANS:method call.
1.2State whether each of the following is true or false. If false, explain why.
a) One benefit of developing Android apps is that the operating system is proprietary to
Google.
ANS:False. The operating system is open source and free.
b) The openness of the Android platform discourages innovation.
ANS:False. The openness of the platform spurs rapid innovation.
c) You can reuse a class many times to build many objects. Reuse of existing classes when
building new classes and programs saves time and effort.
ANS:True.
d) Attributes are specified by the class’s methods.
ANS:False. Attributes are specified by the class’s instance variables.
e) Objects may communicate with one another, but they’re normally not allowed to know
how other objects are implemented—implementation details are hidden within the ob- jects themselves.
ANS:True.
1.3Fill in the blanks in each of the following statements (based on Section 1.8):
a) Objects have the property of
—although objects communicate with one an- other, they’re normally not allowed to know how other objects are implemented.ANS:information hiding. © 2017 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
- / 2