Deck 6: Modularization

Full screen (f)
exit full mode
Question
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
Use Space or
up arrow
down arrow
to flip the card.
Question
What program flowcharting symbol is used further explain any step in the flowchart?

A)process
B)predefined-process
C)annotation
D)predefined-annotation
Question
The label A000 should be used at the beginning of each module.
Question
The overall control module ends with a Return statement.
Question
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 C000\mathrm { C000 }
(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
Question
A module that is referenced in a predefined-process symbol does not need to be described in another program flowchart or pseudocode representation.
Question
A segment of logically related code is called a(n)

A)program
B)structure
C)algorithm
D)module
Question
The overall control module can also be referred to as a

A)called module
B)predefined module
C)top down program
D)driver module
Question
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
Question
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
Question
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
Question
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
Question
What is a module that references other modules called?

A)calling module
B)callee
C)called module
D)both a and b
Question
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
Question
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.
Question
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
Question
What design tool typically shows the flow of work within a system?

A)program flowchart
B)system flowchart
C)structure chart
D)organizational chart
Question
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
B000\underline { \mathrm { B } 000 }
Enter
IF condition THEN
Process C000\mathrm { C000 }
(ELSE)
ENDIF
Process C010
Return

A)exactly 0 times
B)0 or more times
C)exactly 1 time
D)1 or more times
Question
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
B000\underline { \mathrm { B } 000 }
Enter
IF condition THEN
Process C00\mathrm { C00 }
(ELSE)
ENDIF
Process C010\mathrm { C } 010
Return

A)0 or more times
B)exactly 1 time
C)1 or more times
D)cannot be determined
Question
The apparent complexity of a program can be lessened by a technique called modularization.
Question
On a structure chart,the leftmost box represents the module that will be executed first.
Question
The annotation program flowcharting symbol does not represent an additional processing step.
Question
Another name for a called module is a callee.
Question
All boxes in a structure chart except the top box represent called modules.
Question
A called module must be invoked one or more times by a calling module during processing.
Question
A module should perform one and only one well-defined function.
Question
A hierarchy chart shows the flow of work within a program.
Question
A module can be both a calling module and a called module.
Question
Each module should be independent of how logic is implemented within another module.
Question
The execution order of the modules on a structure chart is indicated by their positioning on the chart.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/30
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
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
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
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.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
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 C000\mathrm { C000 }
(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
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
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.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
7
A segment of logically related code is called a(n)

A)program
B)structure
C)algorithm
D)module
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
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
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
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
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
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
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
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
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
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
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
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
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
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
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
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.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
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
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
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
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
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
B000\underline { \mathrm { B } 000 }
Enter
IF condition THEN
Process C000\mathrm { C000 }
(ELSE)
ENDIF
Process C010
Return

A)exactly 0 times
B)0 or more times
C)exactly 1 time
D)1 or more times
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
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
B000\underline { \mathrm { B } 000 }
Enter
IF condition THEN
Process C00\mathrm { C00 }
(ELSE)
ENDIF
Process C010\mathrm { C } 010
Return

A)0 or more times
B)exactly 1 time
C)1 or more times
D)cannot be determined
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
20
The apparent complexity of a program can be lessened by a technique called modularization.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
21
On a structure chart,the leftmost box represents the module that will be executed first.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
22
The annotation program flowcharting symbol does not represent an additional processing step.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
23
Another name for a called module is a callee.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
24
All boxes in a structure chart except the top box represent called modules.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
25
A called module must be invoked one or more times by a calling module during processing.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
26
A module should perform one and only one well-defined function.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
27
A hierarchy chart shows the flow of work within a program.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
28
A module can be both a calling module and a called module.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
29
Each module should be independent of how logic is implemented within another module.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
30
The execution order of the modules on a structure chart is indicated by their positioning on the chart.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 30 flashcards in this deck.