Chapter 9/10 case

Download Report

Transcript Chapter 9/10 case

Chapter 9
Describing Process Specifications
&
Structured Decisions
E–1
Use Visible Analyst to view the Process repository entry for
UPDATE PENDING COMPUTER ORDER
E–2

ModifyBEFORE
and print the ACCUMULATIVE
AFTER
HARDWARE SUBTOTALS Process entry.

Add the Process Description, “Accumulate
the hardware subtotals. These include the
number of machines for each hardware
brand.”
E–3
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–4
Create Process specifications for process 6.6,
VALIDATE COMPUTER CHANGES. The Process
Description for the process is as follows:
E–4
D4
Computer Master
Computer Change
Information
Computer Record
6.1
Validate
Computer
ID
6.2
Key ID
Key
Computer
ID
Obtain
Computer
Master
6.3
Display
Computer
Record
Not Found
Error
Rejected
Changes
Display Record
Confirm
Computer
Record
6.4
Confirm
Correct
Record
6.5
6.6
6.7
Keyed Changes
Enter
Computer
Changes
Rejected
Changes
Validate
Changes
Computer
Changes
D4
Valid Changes
Computer Master
Confirm
Changes
Change
Errors
Computer
Master Record
Confirmed
Changes
6.8
Rewrite
Computer
Master
E–5
Create process specifications for process 1.4, CREATE
AFTERexamples to
SOFTWARE BEFORE
LOG FILE. Use the data flow diagram
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 – 5 (Cont.)
E–6
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–7
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
Upgrade cost = (Educational cost – Discount) * Number of
copies
X
X
E–8
Create
the FIND
SOFTWARE
table, representing the logic for an inquiry
Decision
Table:
Find LOCATION
Softwaredecision
Location
program for displaying all locations for a given SOFTWARE TITLE and VERSION. The conditions
haveConditions
been created and optimized, resulting in five
rules, illustrated
Actions
1
2in Figure
3 E9.3.
4 Enter
5 the
actions that need to be entered and an X in the column related to the conditions. If you are
record
found
Y conditions
Y
Y and Yactions
N are
usingMatching
a wordsoftware
processor,
print
the final decision table. The
represented
bysoftware
the following
Version of
foundlogic:
Y
Y
Y
N





Matching computer record found
Y
Y
N
The SOFTWARE MASTER file is located for the specified TITLE. If the matching record is not
found,
anCode
errorfound
message
is displayed. Because there may be
Campus
in table
Y several
N versions
The VERSION NUMBER on the record is checked for a match to the version entered. If the
Display ‘No matching Software record’ message
X
requested version is not found.
Display records
‘Versionare
notread
available
messageindex. If all records are read andXthe version
Further
usingerror’
the alternate
number is not found, an error message, VERSION NOT AVAILABLE, is displayed.
Display ‘Machine not found error’ message
X
Once the correct software has been located, a matching COMPUTER MASTER record is
Display ‘Campus
Code not found’
message
X
obtained.
If the COMPUTER
MASTER
is not found, the error message.
MACHINE
NOT FOUND
is displayed. For each matching machine,
the CAMPUS TABLE is
Display location
information
X
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–9
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
N
Y
N
Y
N
Y
Computer Master record is active
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
Print ‘Valid transaction’ line
X
Write New Computer record
X
Rewrite New Computer record
X
X
X
X
X
X
X
Chapter 10
Preparing The System Proposal
E–1
Lenovo
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
DVD+/-RW 16X
DVD+/-RW 16X
DVD+/-RW 16X
Intel Integrated X3100
Intel Integrated X4500
Intel Integrated X4500
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
Optical Drive
Video Card
OS
Price
$822.00
$659.00
$599.98
E–2
Hardware
3.2 GHz Pentium D Mini Tower
3.0 GHz Pentium 4 Desktop
2.8 GHz Pentium 4 Notebook
with wireless network card
Work Group Laser Printer
Best Buy
Micro Center
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
Dell Inspiron Desktop with Interl
Core 2 Duo $599.99
Dell Inspiron 580 $ 649.99
Sony VAIO Laptop with Intel
Core 2 Duo Processor 2.2 GHz - Sony VAIO VGC-JS430F/S $ 729.99
$929.99
Lexmark-Platinum Multifunction
Printer/Copier/Scanner/Fax up Samsung CLX-6200FX 21 cpm All
to 30ppm in color $399.99
in one Laser -$599.99
Samsung 2525W 24 ppmLaser
Printer - $149.99
Laser Printer
Brother $134.99
LCD Monitor
Dell 18.5 Widescreen Flat Panel Dell ST 2210 21.5 Widescreen
LCD Monitor 119.99
LCD -199.99
E–3
E–5
Investigate the features and prices for C++ packages.
Make a summary list of your findings.
Summary
Cost
: FREE
Features :
 Powerful
 Add-ons
 Product support
 Online Resource
 Tech community
 Few member at CPU are using
E–6
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
DB2
$229.25
*$7,000.00 Workgroup Edition
*$25,000.00 Enterprise Edition
MySQL
Paradox
* = Price per Processor
$599/year Enterprise Basic
$795
E – 6 (Cont.)






Full featured database system
Whether 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 requirements
Protects 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 running
Works with familiar tools like Microsoft Word/Sharepoint
E – 6 (Cont.)
Microsoft Access






An entry-level database that offers a flexible environment for
database developers and users
Users can create tables, queries, forms and reports, and connect them
together with macros
Data 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 Corporation
Serve a number of different operating systems platforms.
According to IBM, DB2 leads in terms of database market share and
performance.
E – 6 (Cont.)


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
Paradox


Full-bore relational database with extremely easy-to-use QBE (queryby-example) user interface
Crash-proof, with various traps for protecting data integrity as well as
a file-check-and-repair routine
E–7
Investigate the features and prices for PHP, Visual Basic, .NET, Ruby on Rails, and Java. Make a
summary list of your findings
Visual Studio
2010 to research
Ruby onwould
Rails be
Answer: Use Java
computer magazine or Google.
Things
 Price
• $800 - $11,899 per
Pricing
$2,499 (1-250 Users)
FREE
 Ease $250,000
of use – 500K + Users)
user license
 Debugging
• Regulartools
Security Updates
• MSDN Subscription
• Self Supporting
Features
 Programming
editoris used
• Update schedule
months • Several Development
Community
PHP
FREE
• Self Supporting
Community
• Report Bugs Link
• Links to Guides and
Books
ahead so you can plan
around it.
• New Platform Support
• Access to Critical Fixes
Tools (Visual Studio)
• Several Windows
Platforms
• MS Office
• Technical Support
Incidents
• Screenshots and
Podcasts
• Links to Guides and
Books
Platforms
Linux
Solaris 9.1
Windows XP
Windows Vista
Windows Server 2008
Windows XP
Windows Vista
Windows 2007 + Server
Windows
Mac
Linux
Unix (Linux)
Mac
Windows
PECL
Advantage
Security and Platform
Support and Variety of
Tools
Price
Price
E–8
•
•
•
•
•
•
•
Ruby On Rails
It's Free!
• Database Access Library: Ruby on
PHP supports a full-featured CRails includes a database access
like scripting language.
library - Active Record - that
PHP supports typed variables,
simplifies data handling in
arrays and even Perl-like
databases. Active Record
associative arrays.
automatically maps tables to
classes and rows to objects.
Platform Independence
Object Oriented
Built in Networking
Simple
• 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.
E–9
Using the information gathered in the exercises above, calculate the total cost for three
unique solutions.
Choice 1
Website
Hardware
Choice 2
Store
Choice 3
Trade Journal
PC
$439.99
$1,199.99
$599.00
Display
$129.99
$119.99
Included
Printer
$62.99
$134.99
$70.00
Total
$632.97
Java
$2, 499.00
$1,454.97
Visual Studio
$800.00
$669.00
PHP
$0
Grand Total
$3,131.99
$2,254.97
$669.00
Software
Question & Answer