Deck 4: Making Decisions

ملء الشاشة (f)
exit full mode
سؤال
The ____________ has two possible paths of execution - one path is taken if the Boolean expression is true, and the other path is taken if the Boolean expression is false.

A) dual-alternative decision structure
B) comparative structure
C) multi-decision structure
D) branching structure
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
A(n) ____________ decision structure provides only one alternative path of execution.

A) alternate path
B) single-alternative
C) single path
D) ordered path
سؤال
When a RadioButton or a CheckBox control's Checked property changes, a ____________ happens for that control.

A) SelectionChanged event
B) Checked event
C) CheckChanged event
D) Click event
سؤال
A(n) ____________ is a set of statements that execute in the order that they appear.

A) control structure
B) ordered structure
C) command structure
D) sequence structure
سؤال
A(n) ____________ compares the values of two expressions.

A) relational operator
B) bitwise assessment
C) associative operator
D) comparative structure
سؤال
A(n) ____________ can execute a set of statements only under certain circumstances.

A) sequence structure
B) decision structure
C) circumstantial structure
D) event structure
سؤال
A ____________ appears as a small box with some accompanying text.

A) list box
B) link
C) check box
D) radio button
سؤال
In Visual C#, you use the ____________ to create a list box on an application's form.

A) ListView control
B) MaskedTextBox control
C) CheckedListBox control
D) ListBox control
سؤال
An action that is ____________ occurs only when a certain condition is true.

A) conditionally executed
B) logically executed
C) interactively driven
D) truth bound
سؤال
When the user selects an item in a ListBox, the item's index is stored in the Listbox's ____________ property.

A) DataValue
B) SelectedIndex
C) Index
D) ValueIndex
سؤال
When the user selects an item in a ListBox, the item is stored in the ListBox's ____________ property.

A) Checked
B) SelectedValue
C) DataSelection
D) SelectedItem
سؤال
The ____________ is a multiple-alternative decision structure, which allows you to test the value of a variable or an expression and then use that value to determine which statement or set of statements to execute.

A) switch statement
B) if statement
C) try-catch statement
D) else statement
سؤال
A ____________ is an expression that can be evaluated as either

A) binary expression
B) double expression
C) Boolean expression
D) classical expression
سؤال
When you want to create a check box on a form, you use the ____________, which is found in the Common Controls section of the Toolbox.

A) CheckBox control
B) RadioButton control
C) ListBox control
D) LinkLabel control
سؤال
A(n) ____________ is a logical design that controls the order in which a set of statements execute.

A) elementary structure
B) logic structure
C) control structure
D) sequence structure
سؤال
Which one of the following expressions determines whether the value of the length variable is greater than or equal to the value of the width variable?

A) length < width
B) width <= length
C) length > width
D) length >= width
سؤال
Which one of the following expressions determines if the value of the balance variable is equal to zero?

A) 0 = balance
B) balance == 0
C) balance = 0
D) balance <= 0
سؤال
If no item is selected in a ListBox, what value is in the SelectedIndex property?

A) false
B) true
C) 0
D) −1
سؤال
Each item in a ListBox has a(n) ____________, which is an integer that identifies the item's position in the ListBox.

A) index
B) list number
C) unique identifier
D) table key
سؤال
Once you create a ListBox control, you add items you wish to display to its ____________.

A) Display property
B) Text property
C) Items property
D) Values property
سؤال
A string can be converted to a decimal with the ____________ method.

A) decimal.ParseString
B) decimal.ToString
C) Try.Parse(decimal)
D) decimal.TryParse
سؤال
A(n) ____________ statement has two parts: an if clause and an else clause.

A) logic
B) if-else
C) Boolean
D) else-if
سؤال
The ____________ operator is the logical NOT operator, which is a unary operator that takes a Boolean expression as its operand and reverses its logical value.

A) <>
B) !
C) &&
D) ||
سؤال
C# provides a special version of the decision structure known as the ____________, which simplifies the logic for testing a series of conditions.

A) if-else-if statement
B) else-try statement
C) series statement
D) multi-condition logic structure
سؤال
A(n) ____________ is a variable that often signals the value of a Boolean condition.

A) sentinel
B) flag
C) event
D) marker
سؤال
The expression (A < 1) XX (A > 10) will determine if the value in A is outside a range, if "XX" is replaced by which logical operator?

A) &&
B) !
C) ||
D) >=
سؤال
To convert a string to a double, use the ____________ method.

A) String.ToDouble
B) double.TryParse
C) Try.ParseDouble
D) ToString
سؤال
The ____________ keyword is required when specifying a variable as an output argument.

A) in
B) out
C) extern
D) static
سؤال
____________ are decision structures that appear inside other decision structures.

A) paired decision structures
B) hidden decision structures
C) dual decision structures
D) nested decision structures
سؤال
The ____________ operator is the logical AND operator, which takes two Boolean expressions as operands and creates a compound Boolean expression that is true only when both subexpressions are true.

A) !
B) <>
C) &&
D) ||
سؤال
The ____________ method can be used to determine whether one string is greater than or less than another string.

A) String.Equals
B) String.Compare
C) String.IsGreater
D) String.String
سؤال
The ____________ method can be used to convert a string to an integer.

A) Try.Parse.int
B) int.Parse
C) int.TryParse
D) TryParse.int
سؤال
A(n) ____________ is a variable that is passed as an argument to a method, and when the method is finished, a value is stored in the variable.

A) output variable
B) result variable
C) parameter variable
D) method variable
سؤال
The expression (A >= 1) XX (A <= 10) will determine if the value in A is inside a range, if "XX" is replaced by which logical operator?

A) &&
B) !
C) ||
D) >=
سؤال
The ____________ method can determine whether a string contains a value that can be converted to a specific data type before it is converted to that data type.

A) Parse
B) TryParse
C) Peek
D) String.Compare
سؤال
The ____________ operator is the logical OR operator, which takes two Boolean expressions as operands and creates a compound Boolean expression that is true when either of the subexpressions is true.

A) !
B) &&
C) <>
D) ||
سؤال
Both the && and || operators perform ____________, in which CPU time is saved by not checking the expression on the right side of the operator depending on the value of the expression on the left side of the operator.

A) logical optimization
B) short-circuit evaluation
C) cycle-branching
D) single-stage execution
سؤال
The C# language provides a set of operators known as ____________, which you can use to create complex Boolean expressions.

A) Boolean operators
B) relational operators
C) logical operators
D) expressional operators
سؤال
You can use the ____________ operator to compare two strings.

A) ||
B) &&
C) ==
D) !
سؤال
The C# language provides the ____________ data type that you can use to create variables that hold

A) bool
B) int
C) Boolean
D) double
سؤال
In a flowchart, the diamond symbol indicates some condition that must be tested.
سؤال
A series of deeply nested if-else statements is usually easier to follow than the logic of an if-else-if statement.
سؤال
Decision structures are also known as selection structures.
سؤال
For an || expression to be true, the expression on the left side of the || operator must be false.
سؤال
If the expression on the left side of the || operator is true, the expression on the right side is not checked.
سؤال
When you want to create a group of radio buttons on a form, you use the ____________, which is found in the Common Controls section of the Toolbox.

A) RadioButton control
B) ListBox control
C) ListView control
D) ComboBox control
سؤال
____________ works by automatically deselecting any other items in the same group when a single item is selected.

A) multiple selection
B) mutually inclusive selection
C) mutually exclusive selection
D) monographic selection
سؤال
RadioButton controls have a ____________ property that determines whether the control is selected or deselected.

A) Selected
B) Checked
C) Pushed
D) Active
سؤال
The equality operator consists of just one equals sign (=).
سؤال
Boolean expressions are named in honor of the English rock star James Boole, who developed his mathematical theories while studying instrument acoustics.
سؤال
The sequence structure is often used in programming because it can handle every type of task.
سؤال
In order for an && expression to be true, only the expression on one side of the && operator needs to be true.
سؤال
The process of checking input for errors before it is processed is called ____________.

A) parsing
B) input validation
C) pre-rendering
D) data authentication
سؤال
It is often true that both sets of conditionally executed statements are executed in an if-else statement.
سؤال
____________ are useful when you want the user to select one choice from several possible choices.

A) Radio buttons
B) Check boxes
C) Buttons
D) Text boxes
سؤال
For debugging purposes, it's important to use proper alignment and indentation in a nested if statement.
سؤال
Any if-else-if statement can alternatively be coded as a nested if-else statement.
سؤال
In C#, you use the if statement to write a single-alternative decision structure.
سؤال
If you are writing an if statement that has only one conditionally executed statement, you must enclose the conditionally executed statement in curly braces.
سؤال
In code we write a dual-alternative decision structure as an if-else statement.
سؤال
Check boxes are similar to radio buttons, in that they are both mutually exclusive.
سؤال
When displaying an item from a ListBox, you have to call the SelectedItem property's ToString method to retrieve the value as a string.
سؤال
The name radio button refers to the old car radios that had push buttons for selecting stations where only one button could be pushed in at a time.
سؤال
When a program compares characters, it actually compares the numeric Unicode values of the characters.
سؤال
You should use try-catch statements primarily for exceptions that are beyond your control.
سؤال
A well-designed program should validate the contents of multiple TextBoxes in a single statement.
سؤال
RadioButton controls have a Text property, which hold the text that is displayed next to the radio button's circle.
سؤال
Once you create a ListBox control, you add items to its Collection property.
سؤال
To create a CheckChanged event handle for a RadioButton or a CheckBox, double-click the control in the Designer.
سؤال
RadioButton controls are grouped according to the container in which they are placed.
سؤال
The && and || logical operators have a higher precedence than the relational operators.
سؤال
The ! operator has a higher precedence than the relational operators (such as < or >).
سؤال
Because the TryParse methods return either
سؤال
The == operator cannot be used to compare string expressions.
سؤال
If an expression A is true, prefixing it with the ! operator causes the combined expression to become false, as in !A.
سؤال
The saying "garbage in, garbage out" refers to the fact that computers cannot tell the difference between good input and bad input.
سؤال
Variables of the double data type are commonly used as flags.
سؤال
A switch statement's test expression can be any data type.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/78
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 4: Making Decisions
1
The ____________ has two possible paths of execution - one path is taken if the Boolean expression is true, and the other path is taken if the Boolean expression is false.

A) dual-alternative decision structure
B) comparative structure
C) multi-decision structure
D) branching structure
A
2
A(n) ____________ decision structure provides only one alternative path of execution.

A) alternate path
B) single-alternative
C) single path
D) ordered path
B
3
When a RadioButton or a CheckBox control's Checked property changes, a ____________ happens for that control.

A) SelectionChanged event
B) Checked event
C) CheckChanged event
D) Click event
C
4
A(n) ____________ is a set of statements that execute in the order that they appear.

A) control structure
B) ordered structure
C) command structure
D) sequence structure
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
5
A(n) ____________ compares the values of two expressions.

A) relational operator
B) bitwise assessment
C) associative operator
D) comparative structure
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
6
A(n) ____________ can execute a set of statements only under certain circumstances.

A) sequence structure
B) decision structure
C) circumstantial structure
D) event structure
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
7
A ____________ appears as a small box with some accompanying text.

A) list box
B) link
C) check box
D) radio button
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
8
In Visual C#, you use the ____________ to create a list box on an application's form.

A) ListView control
B) MaskedTextBox control
C) CheckedListBox control
D) ListBox control
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
9
An action that is ____________ occurs only when a certain condition is true.

A) conditionally executed
B) logically executed
C) interactively driven
D) truth bound
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
10
When the user selects an item in a ListBox, the item's index is stored in the Listbox's ____________ property.

A) DataValue
B) SelectedIndex
C) Index
D) ValueIndex
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
11
When the user selects an item in a ListBox, the item is stored in the ListBox's ____________ property.

A) Checked
B) SelectedValue
C) DataSelection
D) SelectedItem
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
12
The ____________ is a multiple-alternative decision structure, which allows you to test the value of a variable or an expression and then use that value to determine which statement or set of statements to execute.

A) switch statement
B) if statement
C) try-catch statement
D) else statement
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
13
A ____________ is an expression that can be evaluated as either

A) binary expression
B) double expression
C) Boolean expression
D) classical expression
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
14
When you want to create a check box on a form, you use the ____________, which is found in the Common Controls section of the Toolbox.

A) CheckBox control
B) RadioButton control
C) ListBox control
D) LinkLabel control
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
15
A(n) ____________ is a logical design that controls the order in which a set of statements execute.

A) elementary structure
B) logic structure
C) control structure
D) sequence structure
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
16
Which one of the following expressions determines whether the value of the length variable is greater than or equal to the value of the width variable?

A) length < width
B) width <= length
C) length > width
D) length >= width
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
17
Which one of the following expressions determines if the value of the balance variable is equal to zero?

A) 0 = balance
B) balance == 0
C) balance = 0
D) balance <= 0
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
18
If no item is selected in a ListBox, what value is in the SelectedIndex property?

A) false
B) true
C) 0
D) −1
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
19
Each item in a ListBox has a(n) ____________, which is an integer that identifies the item's position in the ListBox.

A) index
B) list number
C) unique identifier
D) table key
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
20
Once you create a ListBox control, you add items you wish to display to its ____________.

A) Display property
B) Text property
C) Items property
D) Values property
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
21
A string can be converted to a decimal with the ____________ method.

A) decimal.ParseString
B) decimal.ToString
C) Try.Parse(decimal)
D) decimal.TryParse
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
22
A(n) ____________ statement has two parts: an if clause and an else clause.

A) logic
B) if-else
C) Boolean
D) else-if
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
23
The ____________ operator is the logical NOT operator, which is a unary operator that takes a Boolean expression as its operand and reverses its logical value.

A) <>
B) !
C) &&
D) ||
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
24
C# provides a special version of the decision structure known as the ____________, which simplifies the logic for testing a series of conditions.

A) if-else-if statement
B) else-try statement
C) series statement
D) multi-condition logic structure
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
25
A(n) ____________ is a variable that often signals the value of a Boolean condition.

A) sentinel
B) flag
C) event
D) marker
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
26
The expression (A < 1) XX (A > 10) will determine if the value in A is outside a range, if "XX" is replaced by which logical operator?

A) &&
B) !
C) ||
D) >=
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
27
To convert a string to a double, use the ____________ method.

A) String.ToDouble
B) double.TryParse
C) Try.ParseDouble
D) ToString
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
28
The ____________ keyword is required when specifying a variable as an output argument.

A) in
B) out
C) extern
D) static
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
29
____________ are decision structures that appear inside other decision structures.

A) paired decision structures
B) hidden decision structures
C) dual decision structures
D) nested decision structures
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
30
The ____________ operator is the logical AND operator, which takes two Boolean expressions as operands and creates a compound Boolean expression that is true only when both subexpressions are true.

A) !
B) <>
C) &&
D) ||
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
31
The ____________ method can be used to determine whether one string is greater than or less than another string.

A) String.Equals
B) String.Compare
C) String.IsGreater
D) String.String
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
32
The ____________ method can be used to convert a string to an integer.

A) Try.Parse.int
B) int.Parse
C) int.TryParse
D) TryParse.int
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
33
A(n) ____________ is a variable that is passed as an argument to a method, and when the method is finished, a value is stored in the variable.

A) output variable
B) result variable
C) parameter variable
D) method variable
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
34
The expression (A >= 1) XX (A <= 10) will determine if the value in A is inside a range, if "XX" is replaced by which logical operator?

A) &&
B) !
C) ||
D) >=
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
35
The ____________ method can determine whether a string contains a value that can be converted to a specific data type before it is converted to that data type.

A) Parse
B) TryParse
C) Peek
D) String.Compare
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
36
The ____________ operator is the logical OR operator, which takes two Boolean expressions as operands and creates a compound Boolean expression that is true when either of the subexpressions is true.

A) !
B) &&
C) <>
D) ||
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
37
Both the && and || operators perform ____________, in which CPU time is saved by not checking the expression on the right side of the operator depending on the value of the expression on the left side of the operator.

A) logical optimization
B) short-circuit evaluation
C) cycle-branching
D) single-stage execution
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
38
The C# language provides a set of operators known as ____________, which you can use to create complex Boolean expressions.

A) Boolean operators
B) relational operators
C) logical operators
D) expressional operators
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
39
You can use the ____________ operator to compare two strings.

A) ||
B) &&
C) ==
D) !
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
40
The C# language provides the ____________ data type that you can use to create variables that hold

A) bool
B) int
C) Boolean
D) double
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
41
In a flowchart, the diamond symbol indicates some condition that must be tested.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
42
A series of deeply nested if-else statements is usually easier to follow than the logic of an if-else-if statement.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
43
Decision structures are also known as selection structures.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
44
For an || expression to be true, the expression on the left side of the || operator must be false.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
45
If the expression on the left side of the || operator is true, the expression on the right side is not checked.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
46
When you want to create a group of radio buttons on a form, you use the ____________, which is found in the Common Controls section of the Toolbox.

A) RadioButton control
B) ListBox control
C) ListView control
D) ComboBox control
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
47
____________ works by automatically deselecting any other items in the same group when a single item is selected.

A) multiple selection
B) mutually inclusive selection
C) mutually exclusive selection
D) monographic selection
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
48
RadioButton controls have a ____________ property that determines whether the control is selected or deselected.

A) Selected
B) Checked
C) Pushed
D) Active
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
49
The equality operator consists of just one equals sign (=).
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
50
Boolean expressions are named in honor of the English rock star James Boole, who developed his mathematical theories while studying instrument acoustics.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
51
The sequence structure is often used in programming because it can handle every type of task.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
52
In order for an && expression to be true, only the expression on one side of the && operator needs to be true.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
53
The process of checking input for errors before it is processed is called ____________.

A) parsing
B) input validation
C) pre-rendering
D) data authentication
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
54
It is often true that both sets of conditionally executed statements are executed in an if-else statement.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
55
____________ are useful when you want the user to select one choice from several possible choices.

A) Radio buttons
B) Check boxes
C) Buttons
D) Text boxes
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
56
For debugging purposes, it's important to use proper alignment and indentation in a nested if statement.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
57
Any if-else-if statement can alternatively be coded as a nested if-else statement.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
58
In C#, you use the if statement to write a single-alternative decision structure.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
59
If you are writing an if statement that has only one conditionally executed statement, you must enclose the conditionally executed statement in curly braces.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
60
In code we write a dual-alternative decision structure as an if-else statement.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
61
Check boxes are similar to radio buttons, in that they are both mutually exclusive.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
62
When displaying an item from a ListBox, you have to call the SelectedItem property's ToString method to retrieve the value as a string.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
63
The name radio button refers to the old car radios that had push buttons for selecting stations where only one button could be pushed in at a time.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
64
When a program compares characters, it actually compares the numeric Unicode values of the characters.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
65
You should use try-catch statements primarily for exceptions that are beyond your control.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
66
A well-designed program should validate the contents of multiple TextBoxes in a single statement.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
67
RadioButton controls have a Text property, which hold the text that is displayed next to the radio button's circle.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
68
Once you create a ListBox control, you add items to its Collection property.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
69
To create a CheckChanged event handle for a RadioButton or a CheckBox, double-click the control in the Designer.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
70
RadioButton controls are grouped according to the container in which they are placed.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
71
The && and || logical operators have a higher precedence than the relational operators.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
72
The ! operator has a higher precedence than the relational operators (such as < or >).
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
73
Because the TryParse methods return either
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
74
The == operator cannot be used to compare string expressions.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
75
If an expression A is true, prefixing it with the ! operator causes the combined expression to become false, as in !A.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
76
The saying "garbage in, garbage out" refers to the fact that computers cannot tell the difference between good input and bad input.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
77
Variables of the double data type are commonly used as flags.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
78
A switch statement's test expression can be any data type.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 78 في هذه المجموعة.