Deck 2: Simplify the Android User Interface
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/50
العب
ملء الشاشة (f)
Deck 2: Simplify the Android User Interface
1
A(n) ____ organizes layout components in relation to each other.
A) Extensible layout
C) Linear layout
B) Graphical layout
D) Relative layout
A) Extensible layout
C) Linear layout
B) Graphical layout
D) Relative layout
D
2
An object is a specific, concrete instance of a class.
True
3
The ____ control can display an icon or a graphic such as a picture file or shape.
A) Display
C) ImageView
B) JPG
D) Picture
A) Display
C) ImageView
B) JPG
D) Picture
C
4
It is a Java standard to use camel-casing for class names, which begins the name with an uppercase letter, omitting spaces, and using uppercase letters to emphasize the start of a new word.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
5
To center a control, you can drag the control to the center of the emulator window until a ____ is displayed.
A) blue solid vertical line
C) green solid vertical line
B) green dashed vertical line
D) red dashed horizontal line
A) blue solid vertical line
C) green solid vertical line
B) green dashed vertical line
D) red dashed horizontal line
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
6
The Text property changes font of the text written within a control.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
7
The Minimum SDK text box contains the ____.
A) API number
C) serial number
B) SDK number
D) UPC code
A) API number
C) serial number
B) SDK number
D) UPC code
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
8
Designing a program is analogous to ____.
A) constructing a building
C) painting with watercolor
B) doing laundry
D) performing an experiment
A) constructing a building
C) painting with watercolor
B) doing laundry
D) performing an experiment
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
9
The Android SDK includes two types of button controls: Button and ToggleButton.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
10
The Android Manifest is not required, but it does make an application run faster.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
11
When you import a package, you make all of the classes under that package available.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
12
A ____ organizes layout components in a vertical column or horizontal row.
A) Bag layout
C) Linear layout
B) Graphical
D) Relative layout
A) Bag layout
C) Linear layout
B) Graphical
D) Relative layout
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
13
Resources for medium-density screens are placed in the ____ folder.
A) drawable-hdpi
C) drawable-mdpi
B) drawable-ldpi
D) drawable-medium
A) drawable-hdpi
C) drawable-mdpi
B) drawable-ldpi
D) drawable-medium
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
14
The most popular free Android app is ____.
A) Facebook
C) Pandora
B) Google Maps
D) YouTube
A) Facebook
C) Pandora
B) Google Maps
D) YouTube
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
15
The unit sp stands for ____.
A) scaled-dependent pixels
C) size preference
B) scaled-independent pixels
D) standard pixel
A) scaled-dependent pixels
C) size preference
B) scaled-independent pixels
D) standard pixel
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
16
Before code can be written for an Android app, the user interface must first be designed.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
17
The Activity component is the point at which the application makes contact with the users.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
18
Comments in Java start with pound (#) signs.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
19
____ is not a valid measurement unit for text display.
A) dp
C) px
B) nm
D) sp
A) dp
C) px
B) nm
D) sp
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
20
There are three phases to the program development lifecycle.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
21
The abbreviation for "density-independent pixels" is ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
22
____ are the components of a program that perform the tasks required in the program.
A) Activities
C) Processing objects
B) Event handlers
D) Task items
A) Activities
C) Processing objects
B) Event handlers
D) Task items
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
23
Using a(n) ____________________ layout, components can be placed to the left of, to the right of, above, or below another component.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
24
In Java, a tap of the touch screen is known as a ____.
A) click event
C) tap event
B) display action
D) touch event
A) click event
C) tap event
B) display action
D) touch event
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
25
Errors in program code are indicated by ____.
A) blue solid lines
C) green curly lines
B) bolded text
D) red curly lines
A) blue solid lines
C) green curly lines
B) bolded text
D) red curly lines
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
26
The ____ method creates an intent to start another Activity.
A) beginActivity
C) prepareActivity
B) createActivity
D) startActivity
A) beginActivity
C) prepareActivity
B) createActivity
D) startActivity
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
27
A(n) ____ is a part of a program coded to respond to a specific event.
A) action responder
C) response method
B) event handler
D) triggered method
A) action responder
C) response method
B) event handler
D) triggered method
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
28
When you ____ a class, you define one particular variation of the object within a class.
A) concretize
C) make
B) instantiate
D) stabilize
A) concretize
C) make
B) instantiate
D) stabilize
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
29
If an application has more than one Activity, the Android Manifest file must have a(n) ____ to navigate among the multiple activities.
A) activity manager
C) placeholder
B) intent
D) pointer
A) activity manager
C) placeholder
B) intent
D) pointer
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
30
The ____ method displays the content of a specific screen.
A) drawContents
C) makeDisplay
B) getDisplay
D) setContentView
A) drawContents
C) makeDisplay
B) getDisplay
D) setContentView
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
31
A(n) ____________________ layout organizes components in a vertical column or a horizontal row.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
32
The ____________________ property sets the size of text in a control.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
33
The first phase of program development is to ____.
A) code the program
C) gather program requirements
B) design the user interface
D) test the program
A) code the program
C) gather program requirements
B) design the user interface
D) test the program
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
34
A(n) ____ is a set of Java statements that can be included inside a Java class.
A) activity
C) intent
B) block
D) method
A) activity
C) intent
B) block
D) method
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
35
The entry point of an Activity is the ____ method.
A) begin
C) onCreate
B) onEntry
D) prepare
A) begin
C) onCreate
B) onEntry
D) prepare
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
36
The ____ statement is a way of making more Java functions available to your specific program.
A) assignment
C) include
B) import
D) reference
A) assignment
C) include
B) import
D) reference
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
37
A(n) ____ is a piece of code that actually serves as a placeholder to declare itself.
A) control
C) event handler
B) inclusion
D) stub
A) control
C) event handler
B) inclusion
D) stub
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
38
By default, the Linear layout organizes each new control directly ____________________ the previous control.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
39
A(n) ____ is simply a blueprint or a template for creating objects by defining its properties.
A) app
C) control
B) class
D) widget
A) app
C) control
B) class
D) widget
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
40
____ wait for user interaction.
A) Action subscribers
C) Polling objects
B) Event listeners
D) Targeted components
A) Action subscribers
C) Polling objects
B) Event listeners
D) Targeted components
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
41
All Palette controls can use a property called ____________________ to provide a buffer from the top of the screen, to assist exact layout design.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
42
The term ____________________ in the examples refers to the current Activity.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
43
High-density images should be placed in the ____________________ folder under the res folder.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
44
You use the ____________________ property to name a control.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
45
Any intent to start a new Activity requires a(n) ____________________ and the name of the Activity being opened.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
46
The ____________________ method moves the Activity it is called with to the top of the Activity stack.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
47
To make a one-line comment in Java, use ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
48
You can construct Activities using ____________________ layout files and a Java class.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
49
____________________ is the prefix that typically represents a Button in the code.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
50
The ____________________ method creates an intent to start another activity.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck