Deck 8: Decisions, Decisions, Decisions Selection Structure
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/25
العب
ملء الشاشة (f)
Deck 8: Decisions, Decisions, Decisions Selection Structure
1
During run time, you can determine whether a check box is selected or unselected by looking at the value in its Checked property.
True
2
Arithmetic operators are evaluated after any comparison operators in an expression.
False
3
A programmer determines whether a problem's solution requires a selection structure by studying the problem specification.
True
4
The two flowlines leading out of a diamond should be marked so that anyone reading the flowchart can distinguish the true path from the false path.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
5
More unintentional errors occur in applications when the variables are declared using the minimum scope needed.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
6
The oval in a flowchart is called the selection/repetition symbol.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
7
Unlike the variables declared at the beginning of a procedure, variables declared within a statement block in a selection structure remain in memory until the procedure ends.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
8
The set of statements contained in the true path, as well as the set of statements contained in the false path, is referred to as a(n) ____.
A) statement block
C) executable code block
B) conditional block
D) path block
A) statement block
C) executable code block
B) conditional block
D) path block
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
9
In the If…Then…Else statement, the condition must be a(n) ____ expression.
A) arithmetic
C) constant
B) conditional
D) Boolean
A) arithmetic
C) constant
B) conditional
D) Boolean
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
10
Many times the next instruction processed depends on the result of a decision that must be made.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
11
Although there is nothing wrong with declaring all variables at the beginning of a procedure, many programmers would prefer to create a variable only if it is necessary to do so.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
12
Operators are called ____ operators because they are used to compare values.
A) test
C) change
B) comparison
D) binary
A) test
C) change
B) comparison
D) binary
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
13
The ____ in a flowchart is the start/stop symbol.
A) parallelogram
C) diamond
B) rectangle
D) oval
A) parallelogram
C) diamond
B) rectangle
D) oval
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
14
The ____ in a flowchart is the input/output symbol.
A) parallelogram
C) diamond
B) rectangle
D) oval
A) parallelogram
C) diamond
B) rectangle
D) oval
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
15
The ____ structure makes a decision and then takes an appropriate action based on that decision.
A) loop
C) selection
B) condition
D) case
A) loop
C) selection
B) condition
D) case
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
16
Items in square brackets are required in the syntax of an algorithm.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
17
In the If…Then…Else statement, the programmer must supply the ____ that the computer needs to evaluate before further processing can occur.
A) condition
C) order
B) execution
D) path
A) condition
C) order
B) execution
D) path
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
18
You can select a check box by double-clicking it.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
19
The ____ in a flowchart is the process symbol.
A) parallelogram
C) diamond
B) rectangle
D) oval
A) parallelogram
C) diamond
B) rectangle
D) oval
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
20
Unlike variables declared at the beginning of a procedure, variables declared within a statement block have block scope rather than procedure scope.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
21
The Text property of a check box should be entered using ____.
A) all lowercase letters
C) sentence capitalization
B) all uppercase letters
D) book capitalization
A) all lowercase letters
C) sentence capitalization
B) all uppercase letters
D) book capitalization
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
22
In a flowchart, a(n) ____ represents the condition in a selection structure.
A) parallelogram
C) diamond
B) rectangle
D) oval
A) parallelogram
C) diamond
B) rectangle
D) oval
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
23
A variable that has ____ scope can be used only within the statement block in which it is declared.
A) global
C) internal
B) procedure
D) block
A) global
C) internal
B) procedure
D) block
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
24
A variable declared within a statement block is called a ____.
A) block-level variable
C) contained variable
B) restricted variable
D) simple variable
A) block-level variable
C) contained variable
B) restricted variable
D) simple variable
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
25
A variable that has ____ scope can be used anywhere within the procedure.
A) global
C) internal
B) procedure
D) block
A) global
C) internal
B) procedure
D) block
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck