Deck 1: Introduction to Android

ملء الشاشة (f)
exit full mode
سؤال
At the time Android How to Program, 3/e was written, there were over 1.6 million apps in Google Play, and the number is growing quickly.

A) 160 thousand.
B) 1.6 million.
C) 16 million.
D) 160 million.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
With web services, you 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.
سؤال
Which of the following is a set of APIs for incorporating Google functionality into your apps?

A) Google Android Services
B) Google App Services
C) Google Play Services.
D) None of the above.
سؤال
Which Android KitKat feature is described by the following: "The status bar at the top of the screen and the menu buttons at the bottom can be hidden, allowing your apps to fill more of the screen. Users can access the status bar by swiping down from the top of the screen, and the system bar (with the back button, home button and recent apps button) by swiping up from the bottom."

A) full-screen mode.
B) immersive mode.
C) immersion mode.
D) None of the above.
سؤال
Which of the following is a key technlogy for implementing Android apps?

A) Android Studio IDE (Integrated Development Environment),
B) Java
C) Android SDK (Software Development Kit)
D) All of the above.
سؤال
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
C) IDE driven
D) event driven.
سؤال
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.
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.
سؤال
Android uses a collection of ________, which are named groups of related, predefined classes. Some of these are Android specific, some are Java specific and some are Google specific. They allow you to conveniently access Android OS features and incorporate them into your apps.

A) modules.
B) packages.
C) containers.
D) None of the above.
سؤال
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.

A) drag and drop
B) point and click
C) copy and paste
D) None of the above.
سؤال
One of the most significant new features in Android 2.3 was support for ________ -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 accessories and more.

A) WiFi.
B) Bluetooth.
C) near-field coomunication (NFC).
D) None of the above.
سؤال
________ are software components stored on one computer that can be accessed by an app (or other software component) on another computer over the Internet.

A) GUIs
B) Web services.
C) Classes.
D) None of the above.
سؤال
________ is now Google's preferred Android IDE. It's based on the JetBrains IntelliJ IDEA Java IDE.

A) Eclipse
B) Visual Studio
C) Android Studio.
D) None of the above.
سؤال
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.
B) Open Phone Alliance.
C) Open Software Foundation.
D) Open Software Alliance.
سؤال
Unlike Apple’s ________ iOS, which is available only on Apple devices, An-droid is available on devices from dozens of original equipment manufacturers (OEMs) and through numerous telecommunications carriers worldwide.

A) open source
B) proprietary
C) universal access
D) None of the above.
سؤال
Which Android Marshmallow feature is described by: "Tap and hold the home button while inside any app and Google Now inspects what's on the screen and presents relevant information in the form of cards. For example, in a text message discussing a movie, a card containing information about that movie is displayed.

A) Now on Tap.
B) Tap for Card.
C) Tap on Screen.
D) None of the above.
سؤال
________ 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.
B) Sky computing.
C) Cloud computing.
D) None of the above.
سؤال
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
C) open source
D) None of the above.
سؤال
Which gesture is used to flip item-by-item through a series, such as photos?

A) drag.
B) long press.
C) pinch zoom.
D) swipe.
سؤال
What key Android Ice Cream Sandwich developer feature is described by the following? "Using the camera, compatible devices can determine the positioning of the user's eyes, nose and mouth. The camera also can track the user's eye movement, allowing you to create apps that change perspective, based on where the user is looking."

A) Social API.
B) Virtual camera operator.
C) Accessibility API.
D) Face detection.
سؤال
Which of the following was a new Android 3.0 developer feature:

A) fragments, which describe portions of an app’s user interface and can be combined into one screen or used across multiple screens.
B) a persistent Action Bar at the top of the screen providing users with options for interacting with apps.
C) ability to use multicore processor architectures for enhanced performance
D) All of the above.
سؤال
Before running an app in the Android emulator, you'll need to create a(n) ________, which defines the characteristics of the device on which you want to test, including the hardware, system image, screen size, data storage and more.

A) Android Virtual Device (AVD)
B) Cloud Test Lab.
C) Android Device Emulator (ADE)
D) None of the above.
سؤال
To create the best solutions, you should follow a detailed analysis process for determining your project's ________ (i.e., defining what the system is supposed to do) and developing a design that satisfies them (i.e., deciding how the system should do it).

A) prerequisites.
B) preconditions.
C) options.
D) requirements.
سؤال
Classes ________ (i.e., wrap) attributes and methods into objects—an object’s attributes and methods are intimately related.

A) encumber.
B) enclose.
C) encapsulate.
D) envelop.
سؤال
You must build an object of a class before a program can perform the tasks that the class's methods define. The process of doing this is called ________.

A) creation.
B) allocation.
C) building.
D) instantiation.
سؤال
A new class of objects can be created quickly and conveniently by ________-the new class absorbs the characteristics of an existing one, possibly customizing them and adding unique characteristics of its own.

A) customization.
B) inheritance.
C) copying.
D) None of the above.
سؤال
To simulate a long press gesture on the Android emulator:

A) double click the mouse.
B) click and hold the mouse.
C) click the mouse once.
D) click, hold and drag the mouse.
سؤال
Which of the following statements is false?

A) For your convenience, Google provides many preconfigured devices that you can use to quickly create AVDs.
B) You perform the swipe gesture on an AVD by placing the mouse over the AVD's "screen" and dragging up with the mouse.
C) One problem with developing Android apps is that you'll need to purchase a broad range of devices on which to test your apps.
D) All of the above are true.
سؤال
A class's attributes are specified by the class's ________.

A) instance methods.
B) instance variables.
C) packages.
D) None of the above.
سؤال
Objects, or more precisely the ________ objects come from, are essentially re-usable software components.

A) methods.
B) packages.
C) APIs.
D) classes.
سؤال
Which of the following statements is false?

A) The Android emulator is particularly useful if you do not have access to Android devices for testing.
B) Although you can simulate orientation changes (to portrait or landscape mode), simulating particular accelerometer readings (the accelerometer allows the device to respond to up/down, left/right and forward/backward acceleration) requires features that are not built into the emulator.
C) The Android emulator enables you to simulate the full range of Android gestures.
D) You should certainly test your apps on a variety of Android devices before uploading them to Google Play.
سؤال
The ________ , included in the Android SDK, allows you to run Android apps in a simulated environment within Windows, Mac OS X or Linux, without us-ing an actual Android device.

A) Android simulator.
B) Android emulator.
C) Android device.
D) None of the above.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/31
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 1: Introduction to Android
1
At the time Android How to Program, 3/e was written, there were over 1.6 million apps in Google Play, and the number is growing quickly.

A) 160 thousand.
B) 1.6 million.
C) 16 million.
D) 160 million.
B
2
With web services, you 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.
C
3
Which of the following is a set of APIs for incorporating Google functionality into your apps?

A) Google Android Services
B) Google App Services
C) Google Play Services.
D) None of the above.
C
4
Which Android KitKat feature is described by the following: "The status bar at the top of the screen and the menu buttons at the bottom can be hidden, allowing your apps to fill more of the screen. Users can access the status bar by swiping down from the top of the screen, and the system bar (with the back button, home button and recent apps button) by swiping up from the bottom."

A) full-screen mode.
B) immersive mode.
C) immersion mode.
D) None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
5
Which of the following is a key technlogy for implementing Android apps?

A) Android Studio IDE (Integrated Development Environment),
B) Java
C) Android SDK (Software Development Kit)
D) All of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
6
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
C) IDE driven
D) event driven.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
7
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.
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
8
Android uses a collection of ________, which are named groups of related, predefined classes. Some of these are Android specific, some are Java specific and some are Google specific. They allow you to conveniently access Android OS features and incorporate them into your apps.

A) modules.
B) packages.
C) containers.
D) None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
9
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.

A) drag and drop
B) point and click
C) copy and paste
D) None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
10
One of the most significant new features in Android 2.3 was support for ________ -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 accessories and more.

A) WiFi.
B) Bluetooth.
C) near-field coomunication (NFC).
D) None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
11
________ are software components stored on one computer that can be accessed by an app (or other software component) on another computer over the Internet.

A) GUIs
B) Web services.
C) Classes.
D) None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
12
________ is now Google's preferred Android IDE. It's based on the JetBrains IntelliJ IDEA Java IDE.

A) Eclipse
B) Visual Studio
C) Android Studio.
D) None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
13
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.
B) Open Phone Alliance.
C) Open Software Foundation.
D) Open Software Alliance.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
14
Unlike Apple’s ________ iOS, which is available only on Apple devices, An-droid is available on devices from dozens of original equipment manufacturers (OEMs) and through numerous telecommunications carriers worldwide.

A) open source
B) proprietary
C) universal access
D) None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
15
Which Android Marshmallow feature is described by: "Tap and hold the home button while inside any app and Google Now inspects what's on the screen and presents relevant information in the form of cards. For example, in a text message discussing a movie, a card containing information about that movie is displayed.

A) Now on Tap.
B) Tap for Card.
C) Tap on Screen.
D) None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
16
________ 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.
B) Sky computing.
C) Cloud computing.
D) None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
17
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
C) open source
D) None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
18
Which gesture is used to flip item-by-item through a series, such as photos?

A) drag.
B) long press.
C) pinch zoom.
D) swipe.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
19
What key Android Ice Cream Sandwich developer feature is described by the following? "Using the camera, compatible devices can determine the positioning of the user's eyes, nose and mouth. The camera also can track the user's eye movement, allowing you to create apps that change perspective, based on where the user is looking."

A) Social API.
B) Virtual camera operator.
C) Accessibility API.
D) Face detection.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
20
Which of the following was a new Android 3.0 developer feature:

A) fragments, which describe portions of an app’s user interface and can be combined into one screen or used across multiple screens.
B) a persistent Action Bar at the top of the screen providing users with options for interacting with apps.
C) ability to use multicore processor architectures for enhanced performance
D) All of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
21
Before running an app in the Android emulator, you'll need to create a(n) ________, which defines the characteristics of the device on which you want to test, including the hardware, system image, screen size, data storage and more.

A) Android Virtual Device (AVD)
B) Cloud Test Lab.
C) Android Device Emulator (ADE)
D) None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
22
To create the best solutions, you should follow a detailed analysis process for determining your project's ________ (i.e., defining what the system is supposed to do) and developing a design that satisfies them (i.e., deciding how the system should do it).

A) prerequisites.
B) preconditions.
C) options.
D) requirements.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
23
Classes ________ (i.e., wrap) attributes and methods into objects—an object’s attributes and methods are intimately related.

A) encumber.
B) enclose.
C) encapsulate.
D) envelop.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
24
You must build an object of a class before a program can perform the tasks that the class's methods define. The process of doing this is called ________.

A) creation.
B) allocation.
C) building.
D) instantiation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
25
A new class of objects can be created quickly and conveniently by ________-the new class absorbs the characteristics of an existing one, possibly customizing them and adding unique characteristics of its own.

A) customization.
B) inheritance.
C) copying.
D) None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
26
To simulate a long press gesture on the Android emulator:

A) double click the mouse.
B) click and hold the mouse.
C) click the mouse once.
D) click, hold and drag the mouse.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
27
Which of the following statements is false?

A) For your convenience, Google provides many preconfigured devices that you can use to quickly create AVDs.
B) You perform the swipe gesture on an AVD by placing the mouse over the AVD's "screen" and dragging up with the mouse.
C) One problem with developing Android apps is that you'll need to purchase a broad range of devices on which to test your apps.
D) All of the above are true.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
28
A class's attributes are specified by the class's ________.

A) instance methods.
B) instance variables.
C) packages.
D) None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
29
Objects, or more precisely the ________ objects come from, are essentially re-usable software components.

A) methods.
B) packages.
C) APIs.
D) classes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
30
Which of the following statements is false?

A) The Android emulator is particularly useful if you do not have access to Android devices for testing.
B) Although you can simulate orientation changes (to portrait or landscape mode), simulating particular accelerometer readings (the accelerometer allows the device to respond to up/down, left/right and forward/backward acceleration) requires features that are not built into the emulator.
C) The Android emulator enables you to simulate the full range of Android gestures.
D) You should certainly test your apps on a variety of Android devices before uploading them to Google Play.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
31
The ________ , included in the Android SDK, allows you to run Android apps in a simulated environment within Windows, Mac OS X or Linux, without us-ing an actual Android device.

A) Android simulator.
B) Android emulator.
C) Android device.
D) None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 31 في هذه المجموعة.