Chapter9 and10

25
Chapter 9 Describing Process Specifications & Structured Decisions

description

CPU case chapter 9 and 10

Transcript of Chapter9 and10

Page 1: Chapter9 and10

Chapter 9

Describing Process Specifications&

Structured Decisions

Page 2: Chapter9 and10

Use Visible Analyst to view the Process repository entry for UPDATE PENDING COMPUTER ORDER

E – 1E – 1

Page 3: Chapter9 and10

Modify and print the ACCUMULATIVE

HARDWARE SUBTOTALS Process entry.

Add the Process Description, “Accumulate

the hardware subtotals. These include the

number of machines for each hardware

brand.”

E – 2E – 2

BEFORE AFTER

Page 4: Chapter9 and10

Modify and print the CONFIRM COMPUTER DELETION Process

entry. Add the following Process Description: Use the

COMPUTER RECORD to format the Deletion Confirmation

screen (refer to the Delete computer Prototype screen).

Prompt the user to click the OK button to confirm the

deletion; otherwise, click the Cancel button to cancel the

deletion. If the operator clicks OK to delete the record, delete

the record and display a “Record Deleted” message;

otherwise, display a “Deletion Canceled” message.

E – 3E – 3

Page 5: Chapter9 and10

E – 4E – 4

Create Process specifications for process 6.6, VALIDATE COMPUTER CHANGES. The Process Description for the process is as follows:

Page 6: Chapter9 and10

E – 4E – 4

Key Compute

r ID

6.1

Obtain Computer Master

6.2

Display Computer Record

6.3

Computer MasterComputer MasterD4D4D4D4

Confirm Correct Record

6.4

Enter Computer Changes

6.5

Validate Changes

6.6

Confirm Changes

6.7

Rewrite Computer Master

6.8

Computer MasterComputer MasterD4D4D4D4

Computer Change Information Computer Record

Key ID

Validate Computer

ID

Not Found Error

Display Record

Confirm Computer

Record

Rejected Changes

Keyed Changes Valid Changes

Computer Changes

Change Errors

Rejected Changes

Confirmed Changes

Computer Master Record

Page 7: Chapter9 and10

Create process specifications for process 1.4, CREATE SOFTWARE LOG FILE. Use the data flow diagram examples to determine inputs and outputs. Process details are as follows

Format the SOFTWARE LOG RECORD from the following information: The confirmed NEW SOFTWARE RECORD elements. The following system elements: SYSTEM DATE, SYSTEM TIME, USER ID, NETWORK ID. When the record has been formatted, write to the SOFTWARE LOG FILE

E – 5E – 5

BEFORE AFTER

Page 8: Chapter9 and10

E – 5 (Cont.)E – 5 (Cont.)

Page 9: Chapter9 and10

Produce process specifications for process 3.1.7, FIND MATCHING HARDWARE RECORD. This process is part of a program producing a report showing all computers on which each software package is located. Use Visible Analyst to view data flow diagram 9.7. Use structured English to depict the following logic: For each SOFTWARE RECORD, loop while there is a matching hardware inventory number. Within the loop, accomplish the following tasks: Randomly read the COMPUTER MASTER file. If a record is found, format the MATCHINGCOMPUTERRECORD information. If no record is found, format a NO MATCHING error line. Furthermore, if the found COMPUTER RECORD is inactive, indicating that it has been removed from service, format an INACTIVE MATCHING COMPUTER error line

E – 6E – 6

Page 10: Chapter9 and10

Conditions and Action 1 2 3 4 5

Site License Y N N N N

Educational Discount Y Y N N

Discount for Quantity Y N Y N

Upgrade cost = Site License cost X

Upgrade cost = Educational cost * Number of copies X

Upgrade cost = Discount cost * Number of copies X

Upgrade cost = Cost per copy * Number of copies X

Upgrade cost = (Educational cost – Discount) * Number of copies

X

E – 7E – 7

Page 11: Chapter9 and10

Create the FIND SOFTWARE LOCATION decision table, representing the logic for an inquiry program for displaying all locations for a given SOFTWARE TITLE and VERSION. The conditions have been created and optimized, resulting in five rules, illustrated in Figure E9.3. Enter the actions that need to be entered and an X in the column related to the conditions. If you are using a word processor, print the final decision table. The conditions and actions are represented by the following logic:

The SOFTWARE MASTER file is located for the specified TITLE. If the matching record is not found, an error message is displayed. Because there may be several versionsThe VERSION NUMBER on the record is checked for a match to the version entered. If the requested version is not found.Further records are read using the alternate index. If all records are read and the version number is not found, an error message, VERSION NOT AVAILABLE, is displayed.Once the correct software has been located, a matching COMPUTER MASTER record is obtained. If the COMPUTER MASTER is not found, the error message.MACHINE NOT FOUND is displayed. For each matching machine, the CAMPUS TABLE is searched for the CAMPUS LOCATION code. If the code is not found, the message CAMPUS CODE NOT FOUND is displayed. If no errors occur, the requested information is displayed.

E – 8E – 8

Decision Table: Find Software Location

Conditions Actions 1 2 3 4 5

Matching software record found Y Y Y Y N

Version of software found Y Y Y N

Matching computer record found Y Y N

Campus Code found in table Y N

Display ‘No matching Software record’ message X

Display ‘Version not available error’ message X

Display ‘Machine not found error’ message X

Display ‘Campus Code not found’ message X

Display location information X

Page 12: Chapter9 and10

Conditions and Actions 1 2 3 4 5 6 7 8 9

Type of transaction A A A D D D C C C

Computer Master record found N Y Y N Y Y N Y Y

Computer Master record is active N Y N Y N Y

Format new Computer record X X

Change Computer record X

Delete Computer record X

Print ‘Add error’ line X

Print ‘Delete error’ line X X

Print ‘Change error’ line X X

Print ‘Valid transaction’ line X X X X

Write New Computer record X

Rewrite New Computer record X X X

E – 9E – 9

Page 13: Chapter9 and10

Chapter 10

Preparing The System Proposal

Page 14: Chapter9 and10

E – 1E – 1Lenovo HP

CPU Intel Core 2 Duo 2.1 GHz, 3MB cache

Intel Dual Core 2.6 GHz, 2MB cache

Intel Celeron 2.5 GHz, 1MB cache

RAM 4 GB DDR2, 667 3 GB DDR3, 1066 2 GB DDR2, 1066

HDD 320 GB 7,200 rpm 32MB cache

320 GB, 7,200 rpm 16 MB cache

320 GB, 7,200 rpm 16MB cache

Optical Drive DVD+/-RW 16X DVD+/-RW 16X DVD+/-RW 16X

Video Card Intel Integrated X3100 Intel Integrated X4500 Intel Integrated X4500

OS Windows 7 Pro, X64 Windows 7 Home, X64 Windows 7 Pro, X64

Monitor 18” HD Wide 18” HD Wide 18.5” HD Wide

Ethernet 10/100/1000 10/100 10/100

Sound 5.1 on board 5.1 on board 5.1 on board

Warranty 3Y. 24/7 on site 2 Y. 1 Y.

Speaker Integrated w.Monitor NO NO

Price $822.00 $659.00 $599.98

Page 15: Chapter9 and10

E – 2E – 2

Hardware Best Buy Micro Center

3.2 GHz Pentium D Mini Tower

Rain Computers-Solstice Digital Audio Workstation with AMD Athlon II x2 Dual Core Processor 2.9 GHz -$1199.99 Pavilion Elite HPE-110f- $759.99

3.0 GHz Pentium 4 DesktopDell Inspiron Desktop with Interl Core 2 Duo $599.99 Dell Inspiron 580 $ 649.99

2.8 GHz Pentium 4 Notebook with wireless network card

Sony VAIO Laptop with Intel Core 2 Duo Processor 2.2 GHz - $ 729.99

Sony VAIO VGC-JS430F/S -$929.99

Work Group Laser Printer

Lexmark-Platinum Multifunction Printer/Copier/Scanner/Fax up to 30ppm in color $399.99

Samsung CLX-6200FX 21 cpm All in one Laser -$599.99

Laser Printer Brother $134.99Samsung 2525W 24 ppmLaser Printer - $149.99

LCD MonitorDell 18.5 Widescreen Flat Panel LCD Monitor 119.99

Dell ST 2210 21.5 Widescreen LCD -199.99

Page 16: Chapter9 and10

E – 3E – 3

Page 17: Chapter9 and10

Investigate the features and prices for C++ packages. Make a summary list of your findings. SummaryCost : FREEFeatures : PowerfulAdd-onsProduct supportOnline ResourceTech communityFew member at CPU are using

E – 5E – 5

Page 18: Chapter9 and10

Database package Cost Edition

Oracle $30,000.00 Corporate License

$335.00 Personal Edition

SQL Server *$7,500.00 Standard Edition

*$28,000.00 Enterprise Edition

MS Access $229.25

DB2 *$7,000.00 Workgroup Edition

*$25,000.00 Enterprise Edition

MySQL $599/year Enterprise Basic

Paradox $795

E – 6E – 6

* = Price per Processor

Page 19: Chapter9 and10

Full featured database systemWhether you're a lone developer, small and midsize business, or large corporate enterprise, there's an edition of the world's #1 database tailored to meet your business and technical requirementsProtects from server failure, site failure, human error, and reduces planned downtime

Full-featured database systems on the market today used by high-end Users/database administrators are able to perform a restore operation while an instance of SQL Server is runningWorks with familiar tools like Microsoft Word/Sharepoint

E – 6 (Cont.)E – 6 (Cont.)

Page 20: Chapter9 and10

Microsoft AccessAn entry-level database that offers a flexible environment for database developers and usersUsers can create tables, queries, forms and reports, and connect them together with macrosData can be exported to many formats including Excel, Outlook, ASCII, dBase, Paradox, FoxPro, SQL Server, Oracle, ODBC, etc.

A relational database system developed by IBM CorporationServe a number of different operating systems platforms.According to IBM, DB2 leads in terms of database market share and performance.

E – 6 (Cont.)E – 6 (Cont.)

Page 21: Chapter9 and10

My SQL is a relational database management system that implements many industry standards including SQL and ODBC along with C and Perl Database/client can connect to mysql server using many protocols

ParadoxFull-bore relational database with extremely easy-to-use QBE (query-by-example) user interfaceCrash-proof, with various traps for protecting data integrity as well as a file-check-and-repair routine

E – 6 (Cont.)E – 6 (Cont.)

Page 22: Chapter9 and10

Investigate the features and prices for PHP, Visual Basic, .NET, Ruby on Rails, and Java. Make a summary list of your findings

Answer: Use computer magazine or Google. Things to research would bePriceEase of useDebugging toolsProgramming editor used

E – 7E – 7

Java Visual Studio 2010 Ruby on Rails PHP

Pricing $2,499 (1-250 Users)$250,000 – 500K + Users)

• $800 - $11,899 per user license

FREE FREE

Features • Regular Security Updates• Update schedule is

months ahead so you can plan around it.

• New Platform Support • Access to Critical Fixes

• MSDN Subscription• Several Development

Tools (Visual Studio)• Several Windows

Platforms• MS Office• Technical Support

Incidents

• Self Supporting Community

• Screenshots and Podcasts

• Links to Guides and Books

• Self Supporting Community

• Report Bugs Link • Links to Guides and

Books

Platforms Linux Solaris 9.1Windows XPWindows VistaWindows Server 2008

Windows XPWindows VistaWindows 2007 + Server

WindowsMacLinux

Unix (Linux)MacWindowsPECL

Advantage Security and Platform Support and Variety of Tools

Price Price

Page 23: Chapter9 and10

• It's Free! • PHP supports a full-featured C-

like scripting language. • PHP supports typed variables,

arrays and even Perl-like associative arrays.

• Platform Independence• Object Oriented• Built in Networking• Simple

E – 8E – 8Ruby On Rails• Database Access Library: Ruby on

Rails includes a database access library - Active Record - that simplifies data handling in databases. Active Record automatically maps tables to classes and rows to objects.

• Libraries for common tasks: Ruby

on Rails includes a host of libraries that simplify the coding of common programming tasks such as form validations, sessions management, etc.

• Debugging: Detailed error logs are

provided, making it easier to debug applications.

Page 24: Chapter9 and10

Using the information gathered in the exercises above, calculate the total cost for three unique solutions.

E – 9E – 9

Choice 1Website

Choice 2Store

Choice 3Trade Journal

Hardware

PC $439.99 $1,199.99 $599.00

Display $129.99 $119.99 Included

Printer $62.99 $134.99 $70.00

Total $632.97 $1,454.97 $669.00

Software

Java$2, 499.00

Visual Studio $800.00

PHP$0

Grand Total $3,131.99 $2,254.97 $669.00

Page 25: Chapter9 and10

Question & AnswerQuestion & Answer