Deck 10: Program Design
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/68
Play
Full screen (f)
Deck 10: Program Design
1
By definition,external entities on the DFD:
A)Are used as the starting point for the physical data flow diagram
B)Are outside the scope of the system
C)Will be the top of the structure chart
D)Will become database table entries
E)Are updated with metadata to become part of the physical DFD
A)Are used as the starting point for the physical data flow diagram
B)Are outside the scope of the system
C)Will be the top of the structure chart
D)Will become database table entries
E)Are updated with metadata to become part of the physical DFD
B
2
The three types of basic processes on a process model:
A)Sequence,selection and iteration processes
B)Navigation,status and work processes
C)Afferent,central and efferent processes
D)Batch,online and real time processes
E)Singular,bilateral and library processes
A)Sequence,selection and iteration processes
B)Navigation,status and work processes
C)Afferent,central and efferent processes
D)Batch,online and real time processes
E)Singular,bilateral and library processes
C
3
The fourth step in creating a Physical Data Flow Diagram is
A)Update the metadata in the CASE repository
B)Draw a human-machine boundary
C)Add implementation references
D)Add system-related data stores,data flows and processes
E)Update the data elements in the data flows
A)Update the metadata in the CASE repository
B)Draw a human-machine boundary
C)Add implementation references
D)Add system-related data stores,data flows and processes
E)Update the data elements in the data flows
E
4
Every part of a system that is not automated will:
A)Be ignored in the implementation of the system
B)Be drawn as only logical DFDs not physical DFDs
C)Be outside the human-machine boundary
D)Go back through the analysis phase to become automated
E)Will be drawn as diamond shapes on the structure charts
A)Be ignored in the implementation of the system
B)Be drawn as only logical DFDs not physical DFDs
C)Be outside the human-machine boundary
D)Go back through the analysis phase to become automated
E)Will be drawn as diamond shapes on the structure charts
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
5
The second step in creating a Physical Data Flow Diagram is
A)Update the metadata in the CASE repository
B)Draw a human-machine boundary
C)Add implementation references
D)Add system-related data stores,data flows and processes
E)Update the data elements in the data flows
A)Update the metadata in the CASE repository
B)Draw a human-machine boundary
C)Add implementation references
D)Add system-related data stores,data flows and processes
E)Update the data elements in the data flows
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
6
In most automated cases,data stores from logical DFDs will be converted to:
A)Binary tables
B)CD Rom disks
C)Paper files
D)Into database files / tables
E)Encrypted hexadecimal values
A)Binary tables
B)CD Rom disks
C)Paper files
D)Into database files / tables
E)Encrypted hexadecimal values
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
7
Which is NOT true of Structure Charts when designing programs?
A)They show all the components of code that must be included in a program at a high level
B)They are arranged in a hierarchical format that implies sequence
C)They help analysts create programs that are easy to understand and maintain
D)They are generally implemented with control flags that pass from the control modules to the subordinate modules
E)They may have on-page and off-page connectors
A)They show all the components of code that must be included in a program at a high level
B)They are arranged in a hierarchical format that implies sequence
C)They help analysts create programs that are easy to understand and maintain
D)They are generally implemented with control flags that pass from the control modules to the subordinate modules
E)They may have on-page and off-page connectors
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
8
Generally,transaction structures on a structure chard will have:
A)Many afferent processes
B)Many efferent processes
C)Many data couples
D)Many control couples
E)Many conditional couples
A)Many afferent processes
B)Many efferent processes
C)Many data couples
D)Many control couples
E)Many conditional couples
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
9
Processes from logical DFDs might show up on a physical data flow diagram as:
A)Tables in a database
B)External entities
C)Outside the human-machine boundary
D)Audit log files
E)HTML screens or Visual Basic forms
A)Tables in a database
B)External entities
C)Outside the human-machine boundary
D)Audit log files
E)HTML screens or Visual Basic forms
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
10
When you are updating the data elements in the data flows (when creating a physical DFD)you might need to:
A)Return to users to interview them about the physical data flows
B)Update the original cost/benefit analysis to reflect the physical storage
C)Do a technology analysis
D)Add physical data elements to the metadata descriptions in the CASE repository
E)Do formal benchmarking of the data flows
A)Return to users to interview them about the physical data flows
B)Update the original cost/benefit analysis to reflect the physical storage
C)Do a technology analysis
D)Add physical data elements to the metadata descriptions in the CASE repository
E)Do formal benchmarking of the data flows
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
11
Which is NOT true of structure charts?
A)They show sequence
B)They show the user interface
C)They show couples
D)They show selection
E)They emphasize structure and reusability
A)They show sequence
B)They show the user interface
C)They show couples
D)They show selection
E)They emphasize structure and reusability
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
12
The fifth step in creating a Physical Data Flow Diagram is
A)Update the metadata in the CASE repository
B)Draw a human-machine boundary
C)Add implementation references
D)Add system-related data stores,data flows and processes
E)Update the data elements in the data flows
A)Update the metadata in the CASE repository
B)Draw a human-machine boundary
C)Add implementation references
D)Add system-related data stores,data flows and processes
E)Update the data elements in the data flows
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
13
A general suggestion about using couples in drawing structure charts is:
A)The use of many couples clarify the processing
B)It is best to be conservative when applying couples to your diagram
C)To use 'combination' couples when both data couples and control couples are needed
D)You should have at least twice as many afferent couples as efferent couples
E)Use only data couples and no control couples
A)The use of many couples clarify the processing
B)It is best to be conservative when applying couples to your diagram
C)To use 'combination' couples when both data couples and control couples are needed
D)You should have at least twice as many afferent couples as efferent couples
E)Use only data couples and no control couples
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
14
The third step in creating a Physical Data Flow Diagram is
A)Update the metadata in the CASE repository
B)Draw a human-machine boundary
C)Add implementation references
D)Add system-related data stores,data flows and processes
E)Update the data elements in the data flows
A)Update the metadata in the CASE repository
B)Draw a human-machine boundary
C)Add implementation references
D)Add system-related data stores,data flows and processes
E)Update the data elements in the data flows
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
15
In determining if a process is to be automated,the project team will do all of the following EXCEPT:
A)Weigh the costs
B)Redraw the logical DFD as a combined logical/physical DFD
C)Determine benefits
D)Evaluate the efficiency
E)Consider the integrity of the process to the system
A)Weigh the costs
B)Redraw the logical DFD as a combined logical/physical DFD
C)Determine benefits
D)Evaluate the efficiency
E)Consider the integrity of the process to the system
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
16
Pseudocode is:
A)The same as structured English
B)A technique similar to structured English
C)A subset of the Java programming language
D)A coding environment sponsored by Oracle
E)The term for designing language prototyping screens with Visual Basic or HTML
A)The same as structured English
B)A technique similar to structured English
C)A subset of the Java programming language
D)A coding environment sponsored by Oracle
E)The term for designing language prototyping screens with Visual Basic or HTML
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
17
The Human-Machine Boundary
A)Is the keyboard and screen
B)Builds on research in ergonometry
C)Is a line drawn on the physical DFD to separate human action from automated processes
D)Is a part of developing the HCI interface
E)Separates where manual processes are separated by human completed processes
A)Is the keyboard and screen
B)Builds on research in ergonometry
C)Is a line drawn on the physical DFD to separate human action from automated processes
D)Is a part of developing the HCI interface
E)Separates where manual processes are separated by human completed processes
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
18
Beth is considering a simple process for immediate orders.When processing an immediate order,a phone clerk writes the order on a paper form.Which of the following might be a reason NOT to automate this process?
A)The clerk could make errors when writing the information wrong on the paper form
B)The paper form could be lost when sent to the order filling /shipping area
C)The writing on the paper form could be hard to decipher
D)The costs to automate might be significantly higher than doing it manually
E)The time to get the paper form from the clerk's desk to the order filling / shipping area is one day or longer
A)The clerk could make errors when writing the information wrong on the paper form
B)The paper form could be lost when sent to the order filling /shipping area
C)The writing on the paper form could be hard to decipher
D)The costs to automate might be significantly higher than doing it manually
E)The time to get the paper form from the clerk's desk to the order filling / shipping area is one day or longer
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
19
When changing a logical DFD into a physical DFD,it might be necessary to ________.
A)Add system-related data stores,data flows and processes
B)Normalize the logical DFD into 3NF
C)Create the user-interface with smaller fonts
D)Change the system architecture to three-tiered architecture
E)Delete extraneous data stores and delete extraneous data flows
A)Add system-related data stores,data flows and processes
B)Normalize the logical DFD into 3NF
C)Create the user-interface with smaller fonts
D)Change the system architecture to three-tiered architecture
E)Delete extraneous data stores and delete extraneous data flows
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
20
Which of the following is NOT true?
A)Analysts design programs in the design phase of the SDLC,programmers code programs in the Implementation phase
B)Analysts can use structure charts to design programming logic
C)Analysts can build in the three structures of sequence,selection and iteration into structure charts
D)Programmers can take the logical DFDs and directly implement into code by compiling the metadata in the CASE tools
E)Physical DFDs show additional details,such as what tables in the database replace data stores on the logical DFD
A)Analysts design programs in the design phase of the SDLC,programmers code programs in the Implementation phase
B)Analysts can use structure charts to design programming logic
C)Analysts can build in the three structures of sequence,selection and iteration into structure charts
D)Programmers can take the logical DFDs and directly implement into code by compiling the metadata in the CASE tools
E)Physical DFDs show additional details,such as what tables in the database replace data stores on the logical DFD
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
21
There are two symbols that describe special types of control in a structure chart.They are a curved arrow and a diamond.These symbols represent _____ and _____.
A)connector,conditional line
B)control,subordinate
C)library module,conditional line
D)loop,conditional line
E)loop,connector
A)connector,conditional line
B)control,subordinate
C)library module,conditional line
D)loop,conditional line
E)loop,connector
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
22
Generally,transform structures on a structure chart will have:
A)Many afferent processes
B)Many efferent processes
C)Many data couples
D)Many control couples
E)Many conditional couples
A)Many afferent processes
B)Many efferent processes
C)Many data couples
D)Many control couples
E)Many conditional couples
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
23
There are some 'system-related' data stores,data flows and processes that must be added when creating the physical DFD
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
24
In a structure chart,the purpose of a control couple is to:
A)Pass parameters from a subordinate module to the control module
B)Pass parameters from the control modules to a subordinate module
C)Pass data from a subordinate module to the control module
D)Pass data from the control module to a subordinate module
E)Chaperone the dance for programmers on the project
A)Pass parameters from a subordinate module to the control module
B)Pass parameters from the control modules to a subordinate module
C)Pass data from a subordinate module to the control module
D)Pass data from the control module to a subordinate module
E)Chaperone the dance for programmers on the project
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
25
An audit control / audit logfile might be a system related process,data flow and data store that would be added when creating physical DFDs.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
26
Pseudocode is:
A)A language popularized by Feinstein and Longenecker in the 1990's
B)A detailed outline of the lines of code that need to be written
C)A 'pretend' syntax inherent in all CASE tools
D)The translation of code into ASCII
E)A dialect of Visual Basic only used in program design
A)A language popularized by Feinstein and Longenecker in the 1990's
B)A detailed outline of the lines of code that need to be written
C)A 'pretend' syntax inherent in all CASE tools
D)The translation of code into ASCII
E)A dialect of Visual Basic only used in program design
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
27
Reusable modules,which are represented in the structure chart as rectangles with vertical lines on both sides,may often appear several times in a structure chart.These are called _____ modules.
A)conditional
B)control
C)library
D)loop
E)off-page connector
A)conditional
B)control
C)library
D)loop
E)off-page connector
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
28
The Human-Machine boundary is part of the Human-Computer Interface into usability systems.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
29
Many of the data stores in the logical DFD will be changed into encrypted word processing documents when a physical DFD is developed.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
30
Micah is adding implementation resources to change a logical DFD into a physical DFD.He should describe databases,files,tables,and processes as they will be implemented on the computer.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
31
When drawing the human-machine boundary,all processes in the physical DFD will be automated,so only external entities will be excluded.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
32
In a structure chart,the element that is drawn as an empty circle with an attached arrow is known as a(n)_____.
A)conditional line
B)connector
C)control couple
D)data couple
E)module
A)conditional line
B)connector
C)control couple
D)data couple
E)module
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
33
Because (a)preexisting code needs to be understood,organized,and pieced together;and (b)it is still common for the project team to have to write some code and adapt packages to the business environment,it is therefore good for analysts to fully understand program design.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
34
As a structure chart is constructed,it is generally best to build modules with:
A)High cohesion
B)Highly coupled
C)High fan-out
D)Have the word "and" in the module title
E)A high level of coincidental cohesion
A)High cohesion
B)Highly coupled
C)High fan-out
D)Have the word "and" in the module title
E)A high level of coincidental cohesion
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
35
Because project teams rely more on packaged software,program design is no longer needed.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
36
When building the physical data flow diagram,processes may become html web pages or Visual Basic screens.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
37
_____ refers to how well the lines of code within each module in a structure chart relate to each other.
A)calculation
B)cohesion
C)control
D)coupling
E)fan-in
A)calculation
B)cohesion
C)control
D)coupling
E)fan-in
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
38
When creating the physical DFD,you may want to capture system information like date and time of update and user-id of the person who did the update.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
39
In a structure chart,a transaction structure _____.
A)contains a control module that calls several subordinate modules in sequence,after which something "happens"
B)contains a control module that calls subordinate modules,each handling a particular transaction
C)contains a transactional loop
D)is a subordinate module that handles a particular transaction
E)is subordinate to subordinal modules
A)contains a control module that calls several subordinate modules in sequence,after which something "happens"
B)contains a control module that calls subordinate modules,each handling a particular transaction
C)contains a transactional loop
D)is a subordinate module that handles a particular transaction
E)is subordinate to subordinal modules
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
40
In a structure chart,the element that communicates that a message or a system flag is being passed from one module to another is known as a(n)_____.
A)conditional line
B)connector
C)control couple
D)data couple
E)loop
A)conditional line
B)connector
C)control couple
D)data couple
E)loop
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
41
A signal of poor cohesion could be the presence of control flags that are passed down to subordinate modules
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
42
A transaction structure in a structure chart contains a control module that calls subordinate modules and frequently occur with menus.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
43
Couples in structure charts always show two modules that are executed together and are drawn with horizontal lines at the top and bottom.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
44
A control module can also be called a library module and is a set of reusable code.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
45
The three basic kinds of processes on a process module are afferent,central and efferent.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
46
Generally,transaction structures occur at lower levels of a structure chart.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
47
Data couples are shown by arrows with empty circles and show how data flows between modules.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
48
Functional,coincidental,and temporal are all types of cohesion.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
49
Jim is working from a leveled DFD and creating structure charts.He is finding that the lower levels of the DFD generally correspond to transform structures.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
50
An afferent process is an input process on a structure chart.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
51
A structure chart shows sequence,selection and data flows.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
52
A good indication of needing a transaction structure on a structure chart occurs when a DFD shows a single data flow entering a process that produces multiple data flows as outputs.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
53
A structure chart is often completed in one attempt.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
54
Factoring is the process of separating out a function from a module in order to create a module of its own.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
55
Fan-In describes the number of subordinates that communicate with the control module.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
56
A structure chart is composed of modules that work together to form a program.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
57
A temptation when moving from analysis to design of a system is to jump right into coding.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
58
Control couples show the passing of parameters or system related messages between modules (like 'end-of-file').
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
59
An effective process is an output process on a structure chart.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
60
A diamond on a structure chart shows sequence - like a baseball player would go to first base,then second,third and home.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
61
It seems a lot of work to create structure charts,with high cohesion,loosely coupled,with high fan-in,low-fan-out,with transaction structures and transform structures.Why should an analyst bother developing structure charts and instead just pass on the specifications to the programmer?
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
62
Compare and contrast cohesion and coupling.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
63
What is a 'top-down approach' and why is it important when designing programs?
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
64
Structure charts show: sequence,selection and iteration.What are these factors?
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
65
What is the difference between transaction structures and transform structures on a structure chart?
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
66
Summarize the quality checks that should be performed when reviewing structure charts.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
67
When putting individual components together for a structure chart you will need to identify the three basic kinds of processes in a process model.Identify these three kinds of models and describe each.
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck
68
What is Fan-in and Fan-out?
Unlock Deck
Unlock for access to all 68 flashcards in this deck.
Unlock Deck
k this deck