Deck 4: Explore Icons Decision Making Controls

ملء الشاشة (f)
exit full mode
سؤال
RadioButton controls are circular in shape, while CheckBox controls are square.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Each icon used in an app should come in ____ size(s).

A) one
B) two
C) four
D) six
سؤال
A ____ is a triplet of three colors which encodes different colors.

A) controlled color code
B) hexadecimal color code
C) standard color encoding
D) triple-coded color
سؤال
Java automatically indents control structures to make them easy to identify.
سؤال
The icon used to start your app is called the ____.

A) boot icon
B) launcher icon
C) master icon
D) starter icon
سؤال
RadioButton controls are usually used together in a ____, causing only one RadioButton to be selected at a time.

A) GroupControl
B) MultiButton
C) RadioGroup
D) Selector
سؤال
A toast notification is an easy way to inform the user of a failed data validation.
سؤال
Never offer a default selection, as it complicates user input.
سؤال
The following condition is valid: (6 || ticketPrice) > (450.45 == "vacation") .
سؤال
Decision-making statements in Java allow you to test ____ and perform different operations depending on the results of that test.

A) conditions
B) data integrity
C) security
D) icons
سؤال
A(n) ____ control always operates independently, therefore selecting it will never deselect any other controls.

A) CheckBox
B) EachButton
C) SingleSelect
D) TextView
سؤال
Launcher icons form the first impression of your app on prospective users in the Android Market.
سؤال
The ____ change(s) the spacing around each object in your layout.

A) borders
B) margins
C) cellpadding
D) cellspacing
سؤال
____ graphics are best to use for icon design because the images can be scaled without loss of detail.

A) Composite
B) Raster
C) Scanned
D) Vector-based
سؤال
Logical operators are used to combine smaller logical and relational operators.
سؤال
A toast notification communicates messages to the user.
سؤال
The recommended prefix for a launcher icon is ____.

A) ic_launcher
B) ic_start
C) launch_icon
D) start_icon
سؤال
Launcher icons should be intricate and conservative to have a memorable impact.
سؤال
The ____ property can center a control horizontally as well as position it at other places on the screen.

A) elastic
B) gravity
C) rubber band
D) stretch
سؤال
The statement 6<=6 is true.
سؤال
When more than one condition is tested in an If statement, it is called a(n) ____.

A) compound condition
B) expanded condition
C) linked condition
D) multicondition
سؤال
The operator for "equal to" is ____.

A) =
B) ==
C) !=
D) <=
سؤال
The resulting value of the expression "sears".compareTo("chicago") is ____.

A) equal to 0
B) greater than 0
C) less than 0
D) unknown
سؤال
To set an app's launcher icon to an image called myLaunchIcon. P n g , the code to insert into the manifest is ____________________.
سؤال
The method call to make to display a toast notification is Toast. ____.

A) alert
B) makeText
C) showText
D) toastNotify
سؤال
Java provides ____ to compare the relationship between the variables being tested in conditional statements. 

A) byte analysis
B) logical operators
C) relational operators
D) static methods
سؤال
A ____ is a fundamental control structure used in computer programming.

A) choice point
B) code block
C) decision structure
D) logic structure
سؤال
The statements that execute when an If statement is true are enclosed in ____ .

A) [ and ]
B) { and }
C) | and |
D) begin and end
سؤال
When 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
B) If Else
C) While
D) Switch
سؤال
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.
سؤال
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
سؤال
To compare the lexicographical order of two strings, use the ____.

A) < operator
B) > operator
C) compareTo method
D) equals method
سؤال
For a extra high-density screen, the pixel size of an icon should be ____________________ (state as number x number ).
سؤال
The method to test a checked property is the ____ method.

A) getChecked()
B) isChecked()
C) checked()
D) setChecked()
سؤال
Strings in Java are compared for equality by using the ____.

A) = operator
B) == operator
C) compareTo method
D) equals method
سؤال
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.
سؤال
A toast notification uses ____ to display a message.

A) half of the screen
B) only the amount of space needed
C) one line
D) the whole screen
سؤال
The most common mistake with an If statement is using the ____ instead of the equals operator.

A) assignment operator
B) compareTo method
C) greater than operator
D) less than operator
سؤال
____________________ controls are used to select and deselect an option.
سؤال
When an If statement is placed inside another If statement, the inner If statement is considered to be ____.

A) folded
B) internal
C) nested
D) stacked
سؤال
The color code for black is ____________________.
سؤال
The code to display the short toast message "Hi mom" is _________________________________________________________________.
سؤال
The process of verifying that a value is not a typo or some other type of mistake is called ____________________.
سؤال
The isChecked method makes use of the ____________________ property of the RadioButton or CheckBox control.
سؤال
Instead of eyeballing the controls on the user interface for alignment, you can use the ____________________ tool to create equal spacing around controls.
سؤال
A toast message is best used for ____________________ messages.
سؤال
When two Strings are compared, they are ordered ____________________.
سؤال
The truth value of the expression !(false && (true || !false) && (!false || !true)) is ____________________.
سؤال
Let the String variable a be set to the value "Boston" . The value of the expression a.equals("boston") is ____________________.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/49
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 4: Explore Icons Decision Making Controls
1
RadioButton controls are circular in shape, while CheckBox controls are square.
True
2
Each icon used in an app should come in ____ size(s).

A) one
B) two
C) four
D) six
C
3
A ____ is a triplet of three colors which encodes different colors.

A) controlled color code
B) hexadecimal color code
C) standard color encoding
D) triple-coded color
B
4
Java automatically indents control structures to make them easy to identify.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
5
The icon used to start your app is called the ____.

A) boot icon
B) launcher icon
C) master icon
D) starter icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
6
RadioButton controls are usually used together in a ____, causing only one RadioButton to be selected at a time.

A) GroupControl
B) MultiButton
C) RadioGroup
D) Selector
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
7
A toast notification is an easy way to inform the user of a failed data validation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
8
Never offer a default selection, as it complicates user input.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
9
The following condition is valid: (6 || ticketPrice) > (450.45 == "vacation") .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
10
Decision-making statements in Java allow you to test ____ and perform different operations depending on the results of that test.

A) conditions
B) data integrity
C) security
D) icons
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
11
A(n) ____ control always operates independently, therefore selecting it will never deselect any other controls.

A) CheckBox
B) EachButton
C) SingleSelect
D) TextView
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
12
Launcher icons form the first impression of your app on prospective users in the Android Market.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
13
The ____ change(s) the spacing around each object in your layout.

A) borders
B) margins
C) cellpadding
D) cellspacing
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
14
____ graphics are best to use for icon design because the images can be scaled without loss of detail.

A) Composite
B) Raster
C) Scanned
D) Vector-based
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
15
Logical operators are used to combine smaller logical and relational operators.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
16
A toast notification communicates messages to the user.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
17
The recommended prefix for a launcher icon is ____.

A) ic_launcher
B) ic_start
C) launch_icon
D) start_icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
18
Launcher icons should be intricate and conservative to have a memorable impact.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
19
The ____ property can center a control horizontally as well as position it at other places on the screen.

A) elastic
B) gravity
C) rubber band
D) stretch
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
20
The statement 6<=6 is true.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
21
When more than one condition is tested in an If statement, it is called a(n) ____.

A) compound condition
B) expanded condition
C) linked condition
D) multicondition
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
22
The operator for "equal to" is ____.

A) =
B) ==
C) !=
D) <=
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
23
The resulting value of the expression "sears".compareTo("chicago") is ____.

A) equal to 0
B) greater than 0
C) less than 0
D) unknown
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
24
To set an app's launcher icon to an image called myLaunchIcon. P n g , the code to insert into the manifest is ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
25
The method call to make to display a toast notification is Toast. ____.

A) alert
B) makeText
C) showText
D) toastNotify
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
26
Java provides ____ to compare the relationship between the variables being tested in conditional statements. 

A) byte analysis
B) logical operators
C) relational operators
D) static methods
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
27
A ____ is a fundamental control structure used in computer programming.

A) choice point
B) code block
C) decision structure
D) logic structure
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
28
The statements that execute when an If statement is true are enclosed in ____ .

A) [ and ]
B) { and }
C) | and |
D) begin and end
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
29
When 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
B) If Else
C) While
D) Switch
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
30
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
31
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
32
To compare the lexicographical order of two strings, use the ____.

A) < operator
B) > operator
C) compareTo method
D) equals method
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
33
For a extra high-density screen, the pixel size of an icon should be ____________________ (state as number x number ).
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
34
The method to test a checked property is the ____ method.

A) getChecked()
B) isChecked()
C) checked()
D) setChecked()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
35
Strings in Java are compared for equality by using the ____.

A) = operator
B) == operator
C) compareTo method
D) equals method
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
36
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
37
A toast notification uses ____ to display a message.

A) half of the screen
B) only the amount of space needed
C) one line
D) the whole screen
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
38
The most common mistake with an If statement is using the ____ instead of the equals operator.

A) assignment operator
B) compareTo method
C) greater than operator
D) less than operator
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
39
____________________ controls are used to select and deselect an option.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
40
When an If statement is placed inside another If statement, the inner If statement is considered to be ____.

A) folded
B) internal
C) nested
D) stacked
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
41
The color code for black is ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
42
The code to display the short toast message "Hi mom" is _________________________________________________________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
43
The process of verifying that a value is not a typo or some other type of mistake is called ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
44
The isChecked method makes use of the ____________________ property of the RadioButton or CheckBox control.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
45
Instead of eyeballing the controls on the user interface for alignment, you can use the ____________________ tool to create equal spacing around controls.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
46
A toast message is best used for ____________________ messages.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
47
When two Strings are compared, they are ordered ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
48
The truth value of the expression !(false && (true || !false) && (!false || !true)) is ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
49
Let the String variable a be set to the value "Boston" . The value of the expression a.equals("boston") is ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.