Deck 4: Explore Icons and Decision-Making Controls
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/50
العب
ملء الشاشة (f)
Deck 4: Explore Icons and Decision-Making Controls
1
Never offer a default selection, as it complicates user input.
False
2
RadioButton controls are usually used together in a ____, causing only one RadioButton to be selected at a time.
A) GroupControl
C) RadioGroup
B) MultiButton
D) Selector
A) GroupControl
C) RadioGroup
B) MultiButton
D) Selector
C
3
RadioButton controls are circular in shape, while CheckBox controls are square.
True
4
Java automatically indents control structures to make them easy to identify.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
5
A toast notification is an easy way to inform the user of a failed data validation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
6
Launcher icons form the first impression of your app on prospective users in the Android Market.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
7
Each icon used in an app should come in ____ size(s).
A) one
C) four
B) two
D) six
A) one
C) four
B) two
D) six
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
8
A toast notification communicates messages to the user.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
9
Logical operators are used to combine smaller logical and relational operators.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
10
The statement 6<=6 is true.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
11
The ____ property can center a control horizontally as well as position it at other places on the screen.
A) elastic
C) rubber band
B) gravity
D) stretch
A) elastic
C) rubber band
B) gravity
D) stretch
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
12
A ____ is a triplet of three colors which encodes different colors.
A) controlled color code
C) standard color encoding
B) hexadecimal color code
D) triple-coded color
A) controlled color code
C) standard color encoding
B) hexadecimal color code
D) triple-coded color
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
13
Launcher icons should be intricate and conservative to have a memorable impact.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
14
The following condition is valid: (6 || ticketPrice) > (450.45 == "vacation").
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
15
Decision-making statements in Java allow you to test ____ and perform different operations depending on the results of that test.
A) conditions
C) security
B) data integrity
D) icons
A) conditions
C) security
B) data integrity
D) icons
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
16
____ graphics are best to use for icon design because the images can be scaled without loss of detail.
A) Composite
C) Scanned
B) Raster
D) Vector-based
A) Composite
C) Scanned
B) Raster
D) Vector-based
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
17
The ____ change(s) the spacing around each object in your layout.
A) borders
C) cellpadding
B) margins
D) cellspacing
A) borders
C) cellpadding
B) margins
D) cellspacing
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
18
The icon used to start your app is called the ____.
A) boot icon
C) master icon
B) launcher icon
D) starter icon
A) boot icon
C) master icon
B) launcher icon
D) starter icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
19
A(n) ____ control always operates independently, therefore selecting it will never deselect any other controls.
A) CheckBox
C) SingleSelect
B) EachButton
D) TextView
A) CheckBox
C) SingleSelect
B) EachButton
D) TextView
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
20
The recommended prefix for a launcher icon is ____.
A) ic_launcher
C) launch_icon
B) ic_start
D) start_icon
A) ic_launcher
C) launch_icon
B) ic_start
D) start_icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
21
The statements that execute when an if statement is true are enclosed in ____.
A) [ and ]
C) | and |
B) { and }
D) begin and end
A) [ and ]
C) | and |
B) { and }
D) begin and end
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
22
A ____ is a fundamental control structure used in computer programming.
A) choice point
C) decision structure
B) code block
D) logic structure
A) choice point
C) decision structure
B) code block
D) logic structure
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
23
You test for a(n) ____________________ being true or false and change the flow of what happens in a program based on the user's input.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
24
The most common mistake with an if statement is using the ____ instead of the equals operator.
A) assignment operator
C) greater than operator
B) compareTo method
D) less than operator
A) assignment operator
C) greater than operator
B) compareTo method
D) less than operator
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
25
For a extra high-density screen, the pixel size of an icon should be ____________________ (state as number x number).
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
26
Strings in Java are compared for equality by using the ____.
A) = operator
C) compareTo method
B) == operator
D) equals method
A) = operator
C) compareTo method
B) == operator
D) equals method
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
27
To compare the lexicographical order of two strings, use the ____.
A) < operator
C) compareTo method
B) > operator
D) equals method
A) < operator
C) compareTo method
B) > operator
D) equals method
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
28
You must use ____ to compare primitive values of the same type.
A) byte analysis
C) relational operators
B) logical operators
D) static methods
A) byte analysis
C) relational operators
B) logical operators
D) static methods
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
29
The resulting value of the expression "sears".compareTo("chicago") is ____.
A) equal to 0
C) less than 0
B) greater than 0
D) unknown
A) equal to 0
C) less than 0
B) greater than 0
D) unknown
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
30
The method to test a checked property is the ____ method.
A) getChecked()
C) checked()
B) isChecked()
D) setChecked()
A) getChecked()
C) checked()
B) isChecked()
D) setChecked()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
31
The operator for "equal to" is ____.
A) =
C) !=
B) ==
D) <=
A) =
C) !=
B) ==
D) <=
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
32
When displayed, a Toast notification uses ____ to display the message.
A) half of the screen
C) one line
B) just enough room
D) the whole screen
A) half of the screen
C) one line
B) just enough room
D) the whole screen
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
33
To set an app's launcher icon to an image called myLaunchIcon. png, the code to insert into the manifest is ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
34
____________________ controls are used to select and deselect an option.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
35
When an if statement is inside another if statement, the inner if statement is considered to be ____.
A) folded
C) nested
B) internal
D) stacked
A) folded
C) nested
B) internal
D) stacked
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
36
The method call to make to display a toast notification is Toast.____.
A) alert
C) showText
B) makeText
D) toastNotify
A) alert
C) showText
B) makeText
D) toastNotify
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
37
A toast notification ____.
A) always fades after one second
B) automatically fades after a set amount of time
C) never goes away
D) requires a button push to fade
A) always fades after one second
B) automatically fades after a set amount of time
C) never goes away
D) requires a button push to fade
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
38
When more than one condition is tested in an if statement, it is called a(n) ____.
A) compound condition
C) linked condition
B) expanded condition
D) multicondition
A) compound condition
C) linked condition
B) expanded condition
D) multicondition
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
39
When you publish an app in the Android Market, you must provide an icon of size ____________________ (state as number x number) as the display icon in the Market.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
40
If you have one set of instructions to execute when a condition is true and another set of instructions if the same condition is false, you use a(n) ____ statement.
A) if
C) while
B) if-else
D) switch
A) if
C) while
B) if-else
D) switch
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
41
Let the String variable a be set to the value "Boston". The value of the expression
a.equals("boston") is ____________________.
a.equals("boston") is ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
42
When two Strings are compared, they are ordered ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
43
The isChecked method makes use of the ____________________ property of the RadioButton or CheckBox control.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
44
The process of verifying that a value is not a typo or some other type of mistake is called ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
45
The color code for black is ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
46
The truth value of the expression !(false && (true || !false) && (!false || !true)) is ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
47
Instead of eye-balling the controls on the user interface for alignment, you can use the ____________________ tool to create equal spacing around controls.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
48
A toast message is best used for ____________________ messages.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
49
The code to display the short toast message "Hi mom" is _________________________________________________________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
50
The condition necessary to test if a variable stockPrice is below $0.30 is ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck