Deck 4: An Introduction to Programming Structure
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/21
العب
ملء الشاشة (f)
Deck 4: An Introduction to Programming Structure
1
6.The value of a global variable is available to all other modules.
True
2
15.The data dictionary is:
A)A list of definitions of words used in the development of the solution.
B)A list of definitions and attributes of the variables used in the solution.
C)A table the computer uses internally to define the memory location of the variables.
D)A table of values to test the solution of the problem.
A)A list of definitions of words used in the development of the solution.
B)A list of definitions and attributes of the variables used in the solution.
C)A table the computer uses internally to define the memory location of the variables.
D)A table of values to test the solution of the problem.
B
3
24.The case logic structure within the decision logic structure:
A)Processes instructions in order of listing.
B)Allows the computer to make a choice of two paths to follow.
C)Allows the computer to repeat instructions.
D)Allows the computer to make a choice of two or more paths to follow.
A)Processes instructions in order of listing.
B)Allows the computer to make a choice of two paths to follow.
C)Allows the computer to repeat instructions.
D)Allows the computer to make a choice of two or more paths to follow.
D
4
7.A solution is just as easy to read and understand if it is written in one module or many modules.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
5
18.Calculations may be found:
A)In any module.
B)Only in the calculation modules.
C)Only in any process modules.
D)Any module but the Wrap-up module.
A)In any module.
B)Only in the calculation modules.
C)Only in any process modules.
D)Any module but the Wrap-up module.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
6
8.The use of modules many times eliminates rewriting the same instructions.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
7
4.The value of a local variable is available to all other modules.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
8
Cohesion relates to:
A)The ability to share data between modules.
B)The ability to have local variables shared between modules.
C)All of the above.
D)The functional independence of each module.
A)The ability to share data between modules.
B)The ability to have local variables shared between modules.
C)All of the above.
D)The functional independence of each module.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
9
1.Cohesion is the ability of a module to be independent from other modules.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
10
22.The decision logic structure:
A)Processes instructions in order of listing.
B)Allows the computer to make a choice of two paths to follow.
C)Allows the computer to repeat instructions.
D)Allows the computer to make a choice of two or more paths to follow.
A)Processes instructions in order of listing.
B)Allows the computer to make a choice of two paths to follow.
C)Allows the computer to repeat instructions.
D)Allows the computer to make a choice of two or more paths to follow.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
11
3.Modules should have a designated function.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
12
14.A coupling diagram shows:
A)How the data is passed from one module to another.
B)The test values of the variables.
C)How the modules process the data.
D)Where the variables are located in the modules.
A)How the data is passed from one module to another.
B)The test values of the variables.
C)How the modules process the data.
D)Where the variables are located in the modules.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
13
13.Call-by-reference parameters pass values:
A)By passing the value of the variable.
B)By making the variable global.
C)By passing the memory location of the variable.
D)None of the above.
A)By passing the value of the variable.
B)By making the variable global.
C)By passing the memory location of the variable.
D)None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
14
20.The variable names in the formal and actual parameter listings:
A)Must be the same.
B)May be the same.
C)Cannot be the same.
D)Only the call-by-value names must be the same.
A)Must be the same.
B)May be the same.
C)Cannot be the same.
D)Only the call-by-value names must be the same.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
15
12.Data can be made available to other modules through the use of:
A)Parameters.
B)Global variables.
C)Return values.
D)All of the above.
A)Parameters.
B)Global variables.
C)Return values.
D)All of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
16
23.The loop logic structure:
A)Processes instructions in order of listing.
B)Allows the computer to make a choice of two paths to follow.
C)Allows the computer to repeat instructions.
D)Allows the computer to make a choice of two or more paths to follow.
A)Processes instructions in order of listing.
B)Allows the computer to make a choice of two paths to follow.
C)Allows the computer to repeat instructions.
D)Allows the computer to make a choice of two or more paths to follow.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
17
21.The sequential logic structure:
A)Processes instructions in order of listing.
B)Allows the computer to make a choice of two paths to follow.
C)Allows the computer to repeat instructions.
D)Allows the computer to make a choice of two or more paths to follow.
A)Processes instructions in order of listing.
B)Allows the computer to make a choice of two paths to follow.
C)Allows the computer to repeat instructions.
D)Allows the computer to make a choice of two or more paths to follow.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
18
9.The Wrap-up module processes only those instructions that are at the end of a series of other modules before continuing to other modules.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
19
5.The value of a parameter is available to all other modules.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
20
2.Modules are not necessary to use when programming.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
21
25.The values of local variables:
A)Are defined within a module.
B)Are defined within the calling module.
C)Can only be changed within the module.
D)Are available to any called module.
A)Are defined within a module.
B)Are defined within the calling module.
C)Can only be changed within the module.
D)Are available to any called module.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck