Android How to Program
by Paul Deitel, Harvey Deitel
3rd Edition
N
U
R
SE
D
O
C
S
All Chapters Included
All Answers Included
, All Chapters
qwertyuio
Chapter 1
All Answers
Introduction to Android
1 Introduction
Q1. Which of the following is a key technlogy for implementing Android apps?
N
a. Android Studio IDE (Integrated Development Environment),
b. Java
c. Android SDK (Software Development Kit)
U
d. All of the above.
Answer: d. All of the above.
1 Android—The World’s Leading Mobile
R
Operating System
No questions.
SE
1 Android Features
Q1. One benefit of developing Android apps is the openness of the platform. The
operating system is and free. This allows you to view Android’s source
code and see how its features are implemented.
a. proprietary
b. closed source
D
c. open source
d. None of the above.
Answer: c. open source.
O
Q2. Unlike Apple’s iOS, which is available only on Apple devices,
Android is available on devices from dozens of original equipment manufacturers
(OEMs) and through numerous telecommunications carriers worldwide.
C
a. open source
b. proprietary
c. universal access
d. None of the above.
S
Answer: b. proprietary
Q3. Which of the following statements is true?
a. Android apps are developed with Java—one of the world’s most widely used
programming languages.
b. Java was a logical choice for the Android platform, because it’s powerful, free,
open source and used by millions of developers.
wertyui
,c. Experienced Java programmers can quickly dive into Android development, using
Google’s Android APIs (Application Programming Interfaces) and others available
from third parties.
d. All of the above.
Answer: d. All of the above.
Q4. GUI programming in Java is —in this book, you’ll write apps that
respond to various user-initiated events such as screen touches.
a. user driven
b. programmer driven
N
c. IDE driven
d. event driven.
Answer: d. event driven.
U
Q5. In addition to directly programming portions of your apps, you’ll also use the
Android Studio IDE to conveniently predefined objects such as buttons
and textboxes into place on your screen, and label and resize them.
R
a. drag and drop
b. point and click
c. copy and paste
d. None of the above.
SE
Answer: a. drag and drop.
Q6: The multitouch screens allow you to control the device with involving
one touch or multiple simultaneous touches.
a. actions.
b. gestures.
c. gesticulations.
D
d. None of the above.
Answer: b. gestures.
Q7. Which gesture is used to flip item-by-item through a series, such as photos?
O
a. drag.
b. long press.
c. pinch zoom.
d. swipe.
C
Answer: d. swipe.
Q8. are software components stored on one computer that can be accessed
by an app (or other software component) on another computer over the Internet.
S
a. GUIs
b. Web services.
c. Classes.
d. None of the above.
Answer: b. Web services.
, Q9. With web services, youqwertyuio
can create , which enable you to rapidly
develop apps by quickly combining complementary web services, often from
different organizations and possibly other forms of information feeds.
a. smashups
b. match ups.
c. mashups.
d. None of the above.
Answer: c. mashups.
N
1 Android Operating System
U
Q1. In 2007, the was formed to develop, maintain and evolve Android,
driving innovation in mobile technology and improving the user experience while
reducing costs.
a. Open Handset Alliance.
R
b. Open Phone Alliance.
c. Open Software Foundation.
d. Open Software Alliance.
SE
Answer: a. Open Handset Alliance.
1 Android 2.2 (Froyo)
Q1. allows you to use software and data stored in the “cloud”—i.e.,
accessed on remote computers (or servers) via the Internet and available on demand
—rather than having it stored on your desktop, notebook computer or mobile device.
a. Desktop computing.
D
b. Sky computing.
c. Cloud computing.
d. None of the above.
Answer: c. Cloud computing.
O
1 Android 2.3 (Gingerbread)
Q1. One of the most significant new features in Android 2.3 was support for
C
—a short-range wireless connectivity standard that enables
communication between two devices within a few centimeters. It can be used for
payments (for example, touching your Android device to a payment device on a soda
machine), exchanging data such as contacts and pictures, pairing devices and
S
accessories and more.
a. WiFi.
b. Bluetooth.
c. near-field coomunication (NFC).
d. None of the above.
Answer: near-field communication (NFC).
wertyui