Logical
if (flowchart and pseudocode):
Draw
the flowchart (for just the if portion except in problem #9) and write the
pseudocode for the following problems:
Book
Inventory File:
Characters |
Field Name |
Data |
Allowed Codes |
Data Type |
1 - 13 |
ISBN |
ISBN Number |
|
Character |
14 - 45 |
TITLE |
Title of Book |
|
Character |
46 - 70 |
PRAUTHOR |
Primary Author |
|
Character |
71 - 80 |
TOPIC |
Topic of book |
|
Characer |
81 - 100 |
PUB |
Publisher |
|
Character |
101 - 104 |
YRPUB |
Year Published |
|
Numeric |
105 |
CAT |
Category |
D, G, P. W. V |
Character |
106 - 120 |
DEPT |
Department |
|
Character |
Some sample data: (only a
few records from the file)
ISBN
# |
Title |
Primary
Auhor |
Topic |
Publisher |
Year
Published |
Category |
Dept |
0-619-03440-8 |
CGI/Perl |
Zak,
Diane |
CGI/Perl |
Course
Technology |
2002 |
P |
Programming |
0-13-100277-5 |
Oracle
SQL |
Rischert,
Alice |
Oracle |
Prentice
Hall |
2003 |
D |
Database |
0-619-03520-X |
Cascading
Style Sheets |
Sklar,
Joel |
CSS |
Course
Technology |
2001 |
W |
Internet |
0-201-74205-5 |
Visual
Basic.Net for Students |
Bell,
Douglas |
VB.NET |
Addison
Wesley |
2003 |
V |
Programming |
0-07-251381-0 |
Programming
in Visual Basic 6.0 |
Bradley,
Julia Case |
VB |
McGraw Hill |
2002 |
V |
Programming |
0-619-06475-7 |
Oracle
9i: SQL |
Morris-Murphy,
Lannes |
Oracle |
Course Technology |
2003 |
D |
Database |
Problem #1: Print or display a list of all records where the book was
published in 2002 or 2003 and the publisher is Course Technology.
Problem #2: Print or display a list of
all records that meet the following criteria:
Problem #3: Print or display a list
with the following information:
Problem #4: Print or display a list of
books that I want to sent away for. The
books will meet the following criteria:
Problem #5: Print or display a list of
books with the following information:
Problem #6: Do problem #4 in the text
book on page 144. I want you to make a
decision table, a flowchart and pseudocode.
Problem #7: Do the problem #9 in the
textbook on page 145. I want you to
make a decision table, a flowchart and pseudocode
Problem #8: Pick any of the problems above and do a complete logic flowchart
and complete pseudocode..