Calumet College of St.
Joseph
SYLLABUS FOR ADVANCED
COBOL PROGRAMMING
Term: Spring,
2001-2002 (012) (January 7 - April 20, 2001)
Course Number: CIS 430 – Directed Study
Instructor: Br. Jim Ballmann C.PP.S.
E-mail: jballmann@ccsj.edu
Office Hours: Monday – Friday 8:00 a.m –
4:00 p.m.
Instructor Background:
1969 Professed as a Brother for the Missionaries
of the Precious Blood
1972 BA in Philosophy, St. Joseph’s College
1988 BS in Computer Information Systems, Calumet
College of St. Joseph
1994 MS in Education, Purdue University Calumet
Course Time: Arranged
Meeting dates and times will be set as needed
Week
of January 7th
Week
of January 14th
Week
of January 21st
Week
of January 28th
Week
of February 4th
Week
of February 11th
Week
of February 18th
Week
of February 25th
Week
of March 4th
Week
of March 11th
Week
of March 18th
Week
of March 25th
Week
of April 1st
Week
of April 8th
Week
of April 15th
Course Description:
Advanced topics in COBOL programming presented in this course will include: structured program design, sequential files, indexed-sequential files, relative record files, SORT verb, report writer, subroutines, and segmentation.
CIS
125, 255, 320
Laboratory
Fee: See current fee schedule.
Learning
Outcomes/Competencies:
Students in this course will:
·
Edit,
compile, & run COBOL programs using Micro
Focus Net Express
·
Convert
flowchart & pseudocode into COBOL syntax
· Set up & access a
single-level table
· Set up & access
multiple-level tables
· Process a master file with
sequential update procedures
· Create & update indexed
files
· Sort files for input &
output processing
· Process data interactively
· Call subroutines
· Create & update relative
files
· Generate reports using the
report writer
Textbooks:
Structured COBOL Programming, Stern & Stern
The following are included with the textbook:
Micro Focus Net Express 3.0 Compiler & Manual
Getting Started With Micro Focus Net Express 3.0 University Edition
Learning Strategies: Class interaction,
Projects, Collaborative Learning
Assessment:
Written
Assignments 42
% of grade
Programming
Assignments 49
% of grade
Lab
Programming Assignment 9 % of grade
Written Assignments 42% 210 points
Programming Assignments 49% 245 points
Lab Programming Assignment 9%
45 points
---------------------------------------------------------------------------
Total 100% 500 points
Grading Scale:
A = 96 - 100% 480 - 500 points
A- = 92 - 95% 460 - 479 points
B+ = 89 - 91% 445 - 459 points
B = 86 - 88% 430 - 444 points
B- = 83 - 85% 415 - 429 points
C+ = 80 - 82% 400 - 414 points
C = 77 - 79% 385 - 399 points
C- = 74 - 76% 370 - 384 points
D+ = 71 - 73% 355 - 369 points
D = 68 - 70% 340 - 354 points
D- = 65 - 67% 325 - 339 points
F = 00 - 64% 000 - 324 points
Class Policy on Attendance:
Meetings will be arranged
with the instructor on an as-needed basis to review homework, answer any
questions, and take quizzes and exams.
Exam weeks are scheduled in the meeting dates.
Class Topic-Assignment
# 1
Chapter 12: Array Processing & Table Handling
Read pages 456 - 529
Written Assignment #1
Programming Assignment #1
#2 Chapter
13: Sequential File Processing
Read pages 540 – 582
Written Assignment #2
Programming Assignment #2
#3 Chapter
14: Sorting & Merging
Read pages 588 – 621
Written Assignment #3
Programming Assignment #3
#4 Chapter
15: Indexed & Relative File Processing
Read pages 625 - 687
Written Assignment #4
Programming Assignment #4
#5 Chapter
16: Improving Program Performance Using Copy & Call
Read pages 694 – 716
Written Assignment #5
Programming Assignment #5
#6 Chapter
6: Displaying Output Interactively
Read pages 225 – 237
Read handout on screen
processing
Lab Programming Assignment
Programming Assignment #6
#7 Chapter
17: Report Writer Module
Read pages 719 – 745
Written Assignment #6
Programming Assignment #7
#8 Chapter
7: Intrinsic Functions
Read pages 276 – 280
#9 Chapter
18: Introduction to Object-Oriented Programming
Read pages 747 – 766
Written Assignment #7
Class Participation: Meetings are set up so that the student may discuss
any problems with the reading, written, or programming assignments.
Written Assignments:
Written assignments will be assigned for chapters 12 - 18. Written assignments should be completed to help review the chapter and prepare for the quiz and exams.
#1 Page 529: True-False
Questions, 1 –10
Page 529: General
Questions, 1 – 12
#2 Page 582: True-False
Questions, 1 –10
Page 582: General Questions,
1 – 8
#3 Page 621: True-False
Questions, 1 –10
Page 621: General
Questions, 1 – 5
#4 Page 687: True-False
Question, 1 –10
Page 687: General
Questions, 1 – 5
#5 Page 716: True-False
Questions, 1 –10
Page 716: General
Questions, 1 – 4
#6 Page 745: Review Questions,
1 –5
Page 745: Debugging
Exercises
#7 Chapter 18: Handout
Lab Programming Assignment:
I
have written a program (cxx.cbl) which demonstrates the use of several of the
options for the SCREEN SECTION in the DATA DIVISION and ACCEPT and DISPLAY
statements in the PROCEDURE DIVISION. I
access an indexed file by either the RECORD KEY or ALTERNATE RECORD KEY in
option #2. The data file handout with
the program is the list of records in the file.
You
are to modify this program:
1)
Add
another option to the menu
2)
Add
another paragraph or paragraphs to execute that option
3)
Create
the screen for that option in the SCREEN SECTION of the DATA DIVISION
This
lab programming assignment is worth between 20 and 45 points. I assign points based on the creativity and
complexity of the added option.
Programming Assignments:
Programming assignments are
composed of three parts to be submitted on paper:
1)
Programming
source code
2)
Report
(unless the program is interactive with screen display)
3)
Flowchart
or pseudocode used to design the logic for the program
If the program is
interactive, it must also be run online to display input & output. Programs may be submitted any time prior to
the due date. Programming assignments
are worth 35 points each.
Calumet Video sells and
rents videos. When they make a
transaction, Calumet Video collects the information listed in the following
table. It is stored in an ASCII data
file, customer.dat. To run the business they need several
reports and other information, some from the data file and some entered from
the keyboard. In this class you will
write programs to process the information that they need to run the company.
Field
|
Size |
Type of Data |
Location in Record |
|
Id |
3 |
Alphanumeric |
01 - 03 |
|
Name |
15 |
Alphanumeric |
04 - 18 |
|
Address |
15 |
Alphanumeric |
19 - 33 |
|
City |
10 |
Alphanumeric |
34 - 43 |
|
State |
2 |
Alphanumeric |
44 - 45 |
|
Zip |
5 |
Numeric |
46 - 50 |
|
Type |
2 |
Alphanumeric |
51 - 52 |
|
|
|
CO = Comedy |
|
|
|
|
MY = Mystery |
|
|
|
|
RO = Romance |
|
|
|
|
SF = Science Fiction |
|
|
|
|
WE = Western |
|
|
Video |
15 |
Alphanumeric |
53 - 67 |
|
Transaction |
1 |
Numeric |
68 - 68 |
|
|
|
0 = Rent |
|
|
|
|
1 = Buy |
|
|
Date |
8 |
Numeric |
69 - 76 |
|
Amount |
4 |
Numeric, 2
decimal places |
77 - 80 |
#1 Calumet
Video wants to know the total amount that a customer has spent on videos. Write a program to display grand total
amount on the screen. Previous purchase
totals are stored in a table file (customer.tab).
Field
|
Size |
Type of Data |
Location in Record |
|
Id |
3 |
Alphanumeric |
01 - 03 |
|
Amount |
6 |
Numeric, 2 decimal
places |
04 - 09 |
#2 Write a program to update Calumet
Video’s sequential master file (customer.smf)
with the monthly transaction file (curtrans.dat).
#3 Calumet Video wants to know which videos
were sold by date. Write a program to
sort the data file (customer.dat) by
date, then by video.
#4 Calumet Video has switched to an indexed
file system. Update the master file (customer.idd ) with the monthly transaction
file (curtrans.dat).
#5 Calumet Video wants a list of patrons and their cities. Each city has passed a sales tax levy. Write a program that will list the old amount, tax, & new amount for each customer.
·
Munster 1 %
·
Griffith,
Whiting 1 ¼ %
·
Gary,
Chicago 1 ½ %
·
Hammond,
Highland 1 ¾ %
#6 Calumet Video wants a new database for videos that it stocks. Write an interactive program to add records to an indexed file.
·
ID
(key) 5
characters
·
Name
(alternate key) 15 characters
·
Cost 2 digits
& 2 decimal places
·
Number-on-hand 3 digits
·
Use only the indexed file, no input file with data
records
·
Open the file as OUTPUT, then close it
·
After running the program the index file templates will
be created
#7 Calumet Video wants to open a second outlet. Calumet Video needs a report to list rentals and sales by city. Write a program to produce a report to list total sales by city where videos are rented or sold. The report should be written for 80-column paper.
Center for Academic
Excellence:
Tutoring assistance is free to all students of Calumet
College of St. Joseph. Call the Center for Academic Excellence (CAE), to make
an appointment at 473-4287. The Center has experienced and well-trained tutors
in most subject areas to help students who are struggling in a course or who
are doing well and would like to do better. Regular weekly tutoring sessions
are likely to improve your grade.
Statement of Plagiarism:
If
an instructor or other Calumet College of St. Joseph personnel find that a
student has plagiarized or been involved in another form of academic
dishonesty, the instructor or other personnel may elect to bring the matter up
for judicial review. The maximum penalty for any form of academic dishonesty is
dismissal from the College. The procedures for judicial review are listed under
the section of CCSJ handbook that addresses student grievances.
Citation Guidelines:
Calumet
College of St. Joseph adheres to citation guidelines as prescribed by the
particular discipline (i.e., MLA, APA, Chicago Manual of Style or
Turabian.). All of these guidelines are
available in the Calumet College of St. Joseph library or bookstore. These texts outline how to cite references
from a variety of sources, including electronic media.
Withdrawal from Classes
Policy:
After
the last day for class changes has passed (see College calendar), students may
withdraw from a course in which they are registered with permission from the
faculty member conducting the course. A written request detailing the reason(s)
for the withdrawal must be filed with the Registrar. Written request for
withdrawal must be received by the Registrar by the last day of classes prior
to the final examination dates specified in the catalogue. Written requests may
be mailed to the Registrar or faxed to the College fax number 219-473-4259.
Students are to make note of the refund schedule when withdrawing from courses.
The request is forwarded to the faculty member, who makes the final
determination to accept or deny the request. If the request is honored, the
student will receive notification of official withdrawal; if denied, the
notification will indicate why the withdrawal is disallowed. Note: Degree
Completion Division (DCD) students should consult the DCD Student Handbook for
information on DCD withdrawals.
An
official withdrawal is recorded as a "W" grade on the student's
transcript. Dropping a
course
without written permission automatically incurs an "F" grade for the
course (see
Refund Schedule).