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