Deck 6: Modularization
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/30
العب
ملء الشاشة (f)
Deck 6: Modularization
1
What design tool shows the potential flow of control within a program?
A)system flowchart
B)structure chart
C)organizational chart
D)all of the above
A)system flowchart
B)structure chart
C)organizational chart
D)all of the above
B
2
What program flowcharting symbol is used further explain any step in the flowchart?
A)process
B)predefined-process
C)annotation
D)predefined-annotation
A)process
B)predefined-process
C)annotation
D)predefined-annotation
C
3
The label A000 should be used at the beginning of each module.
False
4
The overall control module ends with a Return statement.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
5
Given the following pseudocode,in what order will the modules be called?
Start
Process B000
DOWHILE not EOF
Process B010
Process B000
ENDDO
Process B020
Process B030
Stop
B000
Enter
IF condition THEN
Process
(ELSE)
ENDIF
Process C010
Return
A)B000,C000,C010,B010,B000,B020,B030
B)B000,C000,C010,B010,B000,C000,C010,B020,B030
C)B000,B010,B020,B030,C000,C010
D)cannot be determined
Start
Process B000
DOWHILE not EOF
Process B010
Process B000
ENDDO
Process B020
Process B030
Stop
B000
Enter
IF condition THEN
Process
(ELSE)
ENDIF
Process C010
Return
A)B000,C000,C010,B010,B000,B020,B030
B)B000,C000,C010,B010,B000,C000,C010,B020,B030
C)B000,B010,B020,B030,C000,C010
D)cannot be determined
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
6
A module that is referenced in a predefined-process symbol does not need to be described in another program flowchart or pseudocode representation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
7
A segment of logically related code is called a(n)
A)program
B)structure
C)algorithm
D)module
A)program
B)structure
C)algorithm
D)module
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
8
The overall control module can also be referred to as a
A)called module
B)predefined module
C)top down program
D)driver module
A)called module
B)predefined module
C)top down program
D)driver module
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
9
What program flowcharting symbol is used to identify a series of steps shown on another flowchart?
A)process
B)predefined-process
C)annotation
D)predefined-annotation
A)process
B)predefined-process
C)annotation
D)predefined-annotation
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
10
Given the following pseudocode,how many times will module B010 be called?
Start
Process B000
DOWHILE not EOF
Process B010
IF condition THEN
Process B020
(ELSE)
ENDIF
ENDDO
Process B020
Process B030
Stop
A)exactly 0 times
B)0 or more times
C)exactly 1 time
D)1 or more times
Start
Process B000
DOWHILE not EOF
Process B010
IF condition THEN
Process B020
(ELSE)
ENDIF
ENDDO
Process B020
Process B030
Stop
A)exactly 0 times
B)0 or more times
C)exactly 1 time
D)1 or more times
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
11
Given the following pseudocode,how many times will module B030 be called?
Start
Process B000 DOWHILE not EOF Process B010 IF condition THEN Process B020 (ELSE) ENDIF
ENDDO
Process B020
Process B030
Stop
A)0 or more times
B)exactly 1 time
C)1 or more times
D)cannot be determined
Start
Process B000 DOWHILE not EOF Process B010 IF condition THEN Process B020 (ELSE) ENDIF
ENDDO
Process B020
Process B030
Stop
A)0 or more times
B)exactly 1 time
C)1 or more times
D)cannot be determined
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
12
What is the name of the approach where the overall control module is designed first,leaving the details until later?
A)structured programming
B)top-down design
C)modular design
D)all of the above
A)structured programming
B)top-down design
C)modular design
D)all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
13
What is a module that references other modules called?
A)calling module
B)callee
C)called module
D)both a and b
A)calling module
B)callee
C)called module
D)both a and b
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
14
Given the following pseudocode,how many times will module B000 be called?
Start
Process B000
DOWHILE not EOF
Process B010
IF condition THEN
Process B020
(ELSE)
ENDIF
ENDDO
Process B020
Process B030
Stop
A)0 or more times
B)exactly 1 time
C)1 or more times
D)cannot be determined
Start
Process B000
DOWHILE not EOF
Process B010
IF condition THEN
Process B020
(ELSE)
ENDIF
ENDDO
Process B020
Process B030
Stop
A)0 or more times
B)exactly 1 time
C)1 or more times
D)cannot be determined
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
15
Each module,including the overall control module,contains a Start statement at the beginning of the module and a Stop statement at the end of the module.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
16
Given the following pseudocode,how many times will module B020 be called?
Start
Process B000 DOWHILE not EOF Process B010 IF condition THEN Process B020
(ELSE) ENDIF
ENDDO
Process B020
Process B030
Stop
A)0 or more times
B)exactly 1 time
C)1 or more times
D)cannot be determined
Start
Process B000 DOWHILE not EOF Process B010 IF condition THEN Process B020
(ELSE) ENDIF
ENDDO
Process B020
Process B030
Stop
A)0 or more times
B)exactly 1 time
C)1 or more times
D)cannot be determined
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
17
What design tool typically shows the flow of work within a system?
A)program flowchart
B)system flowchart
C)structure chart
D)organizational chart
A)program flowchart
B)system flowchart
C)structure chart
D)organizational chart
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
18
Given the following pseudocode,how many times will module C000 be called?
Start
Process B000 DOWHILE not EOF Process B010 Process B000
ENDDO
Process B020
Process B030
Stop
Enter
IF condition THEN
Process
(ELSE)
ENDIF
Process C010
Return
A)exactly 0 times
B)0 or more times
C)exactly 1 time
D)1 or more times
Start
Process B000 DOWHILE not EOF Process B010 Process B000
ENDDO
Process B020
Process B030
Stop
Enter
IF condition THEN
Process
(ELSE)
ENDIF
Process C010
Return
A)exactly 0 times
B)0 or more times
C)exactly 1 time
D)1 or more times
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
19
Given the following pseudocode,how many times will module C010 be called?
Start
Process B000 DOWHILE not EOF Process B010 Process B000
ENDDO
Process B020
Process B030
Stop
Enter
IF condition THEN
Process
(ELSE)
ENDIF
Process
Return
A)0 or more times
B)exactly 1 time
C)1 or more times
D)cannot be determined
Start
Process B000 DOWHILE not EOF Process B010 Process B000
ENDDO
Process B020
Process B030
Stop
Enter
IF condition THEN
Process
(ELSE)
ENDIF
Process
Return
A)0 or more times
B)exactly 1 time
C)1 or more times
D)cannot be determined
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
20
The apparent complexity of a program can be lessened by a technique called modularization.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
21
On a structure chart,the leftmost box represents the module that will be executed first.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
22
The annotation program flowcharting symbol does not represent an additional processing step.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
23
Another name for a called module is a callee.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
24
All boxes in a structure chart except the top box represent called modules.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
25
A called module must be invoked one or more times by a calling module during processing.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
26
A module should perform one and only one well-defined function.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
27
A hierarchy chart shows the flow of work within a program.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
28
A module can be both a calling module and a called module.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
29
Each module should be independent of how logic is implemented within another module.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
30
The execution order of the modules on a structure chart is indicated by their positioning on the chart.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck