CMPSC 235 System Analysis and Design Paper

Question 11 pts

Consider the following segment of code and indicate which logical decision structure it represents.

MULTIPLY HOURS-WORKED BY PATE-RATE GIVING GROSS-PAY.

COMPUTE TAX = GROSS-PAY x TAX-RATE.

SUBTRACT TAX FROM GROSS-PAY GIVING NET-PAY.

Flag this questionQuestion 21 pts

Consider the following segment of code and indicate which logical decision structure it represents.

IF MARITAL-STATUS = “MARRIED”

THEN USE MARRIED-RATE-TAX-TABLE TO COMPUTE TAX

ELSE IF MARITAL-STATUS = “SINGLE”

THEN USE SINGLE-RATE-TAX-TABLE TO COMPUTE TAX.

Flag this questionQuestion 31 pts

Consider the following segment of pseudo code and indicate which logical decision structure it represents.

DO WHILE there are Customer Records {

Process Customer Transactions

Get Next Customer Record

}

Flag this questionQuestion 41 pts

Consider the following segment of code and indicate which logical decision structure it represents.

EVALUATE YEAR-IN-SCHOOL

WHEN ‘1’ PERFORM PROCESS-A-FRESHMAN

WHEN ‘2’ PERFORM PROCESS-A-SOPHOMORE

WHEN ‘3’ PERFORM PROCESS-A-JUNIOR

WHEN ‘4’ PERFORM PROCESS-A-SENIOR

WHEN OTHER PERFORM PROCESS-AN-UNCLASSIFIED-STUDENT

END-EVALUATE.

Flag this questionQuestion 51 pts

Identify the “miracle” in this diagram.

Flag this questionQuestion 61 pts

In this diagram which item is a “black hole?”

Flag this questionQuestion 71 pts

Data flow J and data flow K are both incorrect because they break the rule that one or both ends of a data flow arrow must touch a process bubble.

Flag this questionQuestion 81 pts

What type of diagram is this?

Flag this questionQuestion 91 pts

A base element is one that:

Flag this questionQuestion 101 pts

Match the item on the left with an example of it on the right.

Flag this questionQuestion 111 pts

Data stores are used to store:

Flag this questionQuestion 121 pts

When the data flow in and out of a parent process do not match the data flow in and out of a child diagram, it is called:

Flag this questionQuestion 131 pts

In describing data for the data dictionary square brackets [ ] are used to represent which of the following?

Flag this questionQuestion 141 pts

In describing data for the data dictionary curly braces { } are used to represent which of the following?

Flag this questionQuestion 151 pts

Mabley and Carew Inc. ship to their customers based on the following criteria. Orders of $100 or more receive free overnight shipping, orders between $50 and $100 receive free two-day shipping, and orders under $50 receive free standard postal shipping. However, customers using the Mabley and Carew Gold Credit Card are always given free overnight shipping regardless of the size of the order. If you were to construct a decision table to determine the shipping rate, how many Rules (columns) would there be?

No new data to save. Last checked at 21:36