Showing posts with label Compiler Design. Show all posts
Showing posts with label Compiler Design. Show all posts

The disadvantage of the four-model approach is ____.

The disadvantage of the four-model approach is ____.



a. it gives an unclear picture of the current system functions before any modifications or improvements are made
b. the requirements of a new information system always are different from the current information system
c. the added time and cost needed to develop a logical and physical model of the current system
d. it results in unhappy users


Answer: C

Decision trees show the logic structure in a ____.

Decision trees show the logic structure in a ____.



a. vertical form that resembles a tree with the roots at the bottom and the branches at the top
b. horizontal form that resembles a tree with the roots at the left and the branches to the right
c. vertical form that resembles a tree with the roots at the top and the branches at the bot-tom
d. horizontal form that resembles a tree with the roots at the right and the branches to the left


Answer: B

The iteration structure is the completion of ____.

The iteration structure is the completion of ____.



a. one or more process steps based on the results of a test or condition
b. steps in chronological order, one after another
c. a process step that is repeated until a specific condition changes
d. a specific condition that is repeated until a process changes


Answer: C

The selection structure is the completion of ____.

The selection structure is the completion of ____.



a. one or more process steps based on the results of a test or condition
b. steps in chronological order, one after another
c. a process step that is repeated until a specific condition changes
d. a specific condition that is repeated until a process changes


Answer: A

In a DFD, the Gane and Sarson symbol for an entity is a ____.

In a DFD, the Gane and Sarson symbol for an entity is a ____.



a. rectangle with rounded corners
b. line with a single or double arrowhead
c. flat rectangle that is open on the right side and closed on the left side
d. rectangle, which may be shaded to make it look three-dimensional


Answer: D

In a DFD, the Gane and Sarson symbol for a data store is a ____.

In a DFD, the Gane and Sarson symbol for a data store is a ____.



a. rectangle with rounded corners
b. line with a single or double arrowhead
c. the flat rectangle that is open on the right side and closed on the left side
d. rectangle, which may be shaded to make it look three-dimensional


Answer: C

In a DFD, the Gane and Sarson symbol for data flow is a ____.

In a DFD, the Gane and Sarson symbol for data flow is a ____.



a. rectangle with rounded corners
b. line with a single or double arrowhead
c. flat rectangle that is open on the right side and closed on the left side
d. rectangle, which may be shaded to make it look three-dimensional


Answer: B

In a DFD, the Gane and Sarson symbol for a process is a ____.

In a DFD, the Gane and Sarson symbol for a process is a ____.



a. rectangle with rounded corners
b. line with a single or double arrowhead
c. flat rectangle that is open on the right side and closed on the left side
d. rectangle, which may be shaded to make it look three-dimensional


Answer: A

In the accompanying figure, the sequence structure is the completion of ____.

In the accompanying figure, the sequence structure is the completion of ____.



a. one or more process steps based on the results of a test or condition
b. steps in a chronological order, one after another
c. a process step that is repeated until a specific condition changes
d. a specific condition that is repeated until a process changes


Answer: B

___ is based on combinations of the three logical structures, or control structures (one of which is shown in the accompanying figure), which serve as building blocks for the process.

___ is based on combinations of the three logical structures, or control structures (one of which is shown in the accompanying figure), which serve as building blocks for the process.



a. Modular design
b. General design
c. Global design
d. Total design


Answer: A

In a data dictionary, ____ is the maximum number of characters for an alphabetic or character data element or the maximum number of digits and number of decimal positions for a numeric data element.

In a data dictionary, ____ is the maximum number of characters for an alphabetic or character data element or the maximum number of digits and number of decimal positions for a numeric data element.



a. domain c. length
b. valence d. index


Answer: C