SYLLABUS HANDOUT for WELCOME TO METROPOLITAN COMMUNITY COLLEGE

advertisement
SYLLABUS HANDOUT
for
Fall, 2004
COBOL II
CPT 222 8A
Th • 6:00 p.m.–9:35 p.m.
Alan R. Reinarz
WELCOME TO METROPOLITAN COMMUNITY COLLEGE
Metropolitan Community College
Page 1 of 7
Revised: 9/9/2004
SYLLABUS
METROPOLITAN COMMUNITY COLLEGE
SECTION I: THE CLASS AND THE INSTRUCTOR
COURSE SECTION AND TITLE:
CPT 222 8A: COBOL II
ACADEMIC YEAR/QUARTER:
Fall, 2004
INSTRUCTOR’S NAME:
Alan R. Reinarz
LOCATION OF CLASS:
SOC 145
LOCATION OF LABS:
SOC 127
METHODS OF CONTACTING INTRUCTOR:
areinarz@mccneb.edu
http://cot.mccneb.edu/areinarz
METRO OFFICES
HOURS*
LOCATION
PHONE
FAX
M/T/W/Th: 1:30p-2:30p
W: 8:00a-9:00a
SOC MAH 300
738-4089
738-4553
M: 4:00p-5:00p
FOC 008 203
TBA
457-2946
*Stated office hours may need to be changed due to special circumstances or events. If the student wishes to meet with
the instructor at a time other than scheduled office hours, the student should make an appointment with the instructor.
Home phone:
(402) 556-3071
IMPORTANT DATES:
DATE CLASS BEGINS:
DATE CLASS ENDS:
LAST DATE TO DROP CLASS:
DATES CLASS DOES NOT MEET:
9/9/2004
11/18/2004
11/3/2004
none
SECTION II: THE COURSE
COURSE DESCRIPTION:
COBOL II is a continuation of COBOL I. The students will expand their knowledge of COBOL with the techniques this course will
provide. Topics covered include sorting files within a program, sequential file processing, random (indexed and relative) file
processing, VSAM files, relational databases and embedded SQL.
COURSE PREREQUISITES: CPT 221 (COBOL I) & CPT 110 (Database Management)
COURSE OBJECTIVES: Upon successful completion of this course, the student will be able to:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
Describe and use the COBOL Sort feature.
Code a sequential file update program involving master and transaction files.
Code a random update program using an indexed master file and a transaction file.
Describe the major features of VSAM files.
Develop a COBOL program that accesses a relational database table using embedded SQL Statements.
Utilize a cursor to process a multi row result table.
Code a COBOL program that updates a database table using embedded SQL statements.
Describe and use the embedded SQL needed to do unions and joins.
Utilize advanced selection criteria to retrieve data from tables.
Create a database application utilizing embedded SQL.
Metropolitan Community College
Page 2 of 7
Revised: 9/9/2004
REQUIRED MATERIALS:
Textbook: COBOL for the 21st Century
Edition: Tenth Edition, Author: Stern, Stern, and Ley, Publisher: John Wiley and Sons.
OR Structured COBOL Programming
Edition: Ninth (or Eighth), Author: Stern and Stern, Publisher: John Wiley and Sons.
AND Textbook: DB2 for the COBOL Programmer; Edition: 2nd, 1999; Author: Garvin & Eckols; Publisher: Murach
Two 3.5 " diskettes.
SUPPLEMENTAL MATERIALS:
COBOL is a highly standardized, “cross-platform” language. It is available from a number of different software vendors for a number
of different types of computers. SQL is more loosely standardized, but is also found as a part of many relational database systems for
many different types of computers. There are known significant variations from one vendor’s SQL to another’s. Our SQL textbook is
based on IBM’s DB2 relational database product. MCC and the instructor would recommend one or more of the following options:
1. ILE COBOL and DB2 on MCC’s IBM iSeries server. This service is available on all campuses via the MCC LAN, and offcampus via the Internet. However, the traditional Application Development ToolSet (ADTS), which includes the Source Edit
Utility (SEU) and the Programming Development Manager (PDM), may be awkward to use for those not already familiar
with it. A somewhat more modern and integrated software development environment for the iSeries is CODE/400. We are
currently investigating the feasibility of making this available on select Computer Technology workstations on campus.
Students may find an older version of CODE/400, which they can install on their personal computers, bound with the
textbook Understanding CODE/400 on the AS/400 by Violaine Batthish (May, 2000; Midrange Computing; ISBN 1-58347016-6). This book is still in print and may be found at on-line sources, such as amazon.com ($37 to $45). There may also be
copies still available at the various MCC bookstores. We will continue to explore ways to facilitate iSeries development.
2. Micro Focus COBOL products. These are primarily PC-based or Linux/Unix-based products. You may find various versions
of Micro Focus products installed on selected MCC classroom and lab computers. In addition, the latest student version
(Micro Focus Net Express with .NET/University Edition) is available from Micro Focus for your personal use ($99)
(http://www.microfocus.com/academic/academicprograms_software_books.asp). This is one of the most advanced COBOL
products currently available. It operates out of a full GUI IDE, includes SQL for DB2 and other relational databases, and
implements many parts of the new COBOL 2002 standards. The older “Personal COBOL” does not support SQL.
3. IBM mainframe (zSeries). MCC belongs to the IBM Scholars zSeries program. This allows students to access an IBM zSeries
eServer over the Internet. This would be recommended primarily for students who already have mainframe experience. Check
with your instructor if you wish to pursue this option.
In addition, a student may choose other options, such as using an employer’s computing resources or purchasing a PC-based product
from other vendors. MCC support for these options must necessarily be limited. Check with your instructor.
SECTION III: STUDENT RESPONSIBILITIES
METHODS OF LEARNING:
The student will have specific assignments to read and master. These assignments are indicated in the course schedule and/or outlined
by the instructor. The student should have read the material prior to class meeting date.
This course requires students to work an average of 3 hours per week in hands-on, lab activity. Students are responsible for completing
all lab work outside of the classroom. While you may choose to do this lab work someplace other than the College, Metro provides
computer labs for students who do not have the required resources or facilities available to them.
RETAINING COPIES OF SUBMITTED WORK:
On very rare occasion, the instructor has been unable to find any record of work that a student claims to have submitted. There may be
several reasons this has occurred, including loss or theft of the work before it gets to the instructor, or oversight on the part of the
student or instructor. The student should understand that grades are based upon achievement of learning objectives and successful
completion of assignments. If work is missing, for whatever reason, it becomes impossible for the instructor to evaluate it and assign a
grade. It is highly recommended that students keep backup copies of all work submitted toward the unlikely event that it might need to
be resubmitted.
ATTENDANCE STATEMENT:
The course will be covered partially by assigned portions of the text and may be presented in a sequence different from the text.
Material will also be covered that is not in the text. Attendance is necessary to understand the course material. Each student is expected
Metropolitan Community College
Page 3 of 7
Revised: 9/9/2004
to recognize the importance of class attendance and promptness. CHRONIC TARDINESS AND ABSENCES MAY RESULT IN A
REDUCTION IN THE FINAL GRADE BY 10%.
Excessive absences or unsatisfactory progress will subject the student to administrative withdrawal from the course. If a student should
miss a class for any reason, he/she is expected to cover the material he/she missed on his/her own. All work must be made up to the
satisfaction of the instructor.
STUDENT WITHDRAWAL:
If you cannot attend and complete this course, you should officially withdraw by calling Central Registration, 457-5231. Failure to
officially withdraw will result in either an instructor withdraw (IW) or failing (F) grade. The last date to withdraw is identified on the
second page of this syllabus handout.
ACADEMIC HONESTY STATEMENT:
Students are reminded that materials you may use as sources for this course may be subject to copyright protection. Additional
information about copyright is provided on the library webpage at http://www.mccneb.edu/library, by your instructor, or by the
College's Copyright Officer.
In response to incidents of student dishonesty (cheating, plagiarism, etc.), the College imposes specific actions that may include
receiving a failing grade on a test, failure in the course, suspension from the College, or dismissal from the College. The disciplinary
procedures are available in the Counseling/Advising Centers.
Please note: ANY sharing or transfer of assigned work or test contents or answers between a student and any other person or
party; in part or in whole; whether by disk exchange, E-mail, manual transcription, codevelopment of an assignment, or any
other means; unless authorized by the instructor in advance in accordance with the guidelines in the following paragraph; will
be considered academic misconduct and be sanctioned with disciplinary action in accordance with the above paragraph. Both
originating and receiving parties will be liable to such sanction.
Sharing of class notes and handouts is authorized. Obtaining assistance from others (including tutors or lab techs) for specific
programming issues or debugging is authorized. However, no further collaboration is authorized for any standard assignment. Students
wishing to collaborate further must contact the instructor for special assignments. Such special assignments must clearly identify in
advance which portions are the responsibility of each individual student wishing to collaborate. The learning objectives, level of
difficulty, and typical work involved for each portion must be comparable to that for a single student working alone on the
corresponding standard assignment. Each portion will be graded individually. Each portion must clearly represent the competency of
the individual responsible for it, and only that individual. The instructor reserves the right to refuse any request for special assignments.
Indications of unauthorized collaboration and/or intent to defraud include, but are not restricted to, assignments, submitted by students
(not necessarily from the same section) individually under each of their respective names; but which are essentially identical; are
essentially identical except for mechanical changes such as differing variable or module names; are essentially identical except for
differing comments; or exhibit essentially identical idiosyncratic features such as errors in syntax, style, logic, output formatting, or
spelling. The same criteria apply to submissions, by one or more students, where those submissions bear indications of copying from
any other unauthorized source. Authorized sources are the student textbook for the class, lecture notes, class handouts, and
compiler/interpreter documentation and help materials.
In summary, if you want a grade attached to your name and only your name (the only way I know MCC records grades), the work you
submit must be your work and only your work.
USE OF STUDENT WORK
The ownership of student works submitted in fulfillment of classroom requirements shall remain with the student(s): By enrolling in
classes offered by Metropolitan Community College, the student gives the College license to mark on, modify, and retain the work as
may be required by the process of instruction, as described in the course syllabus. The institution shall not have the right to use the
work in any other manner without the written consent of the student(s).
Please note: Nothing in the preceding paragraph overrides the restrictions on sharing or distribution of solutions to
assignments and tests discussed above under the Academic Honesty Statement.
Metropolitan Community College
Page 4 of 7
Revised: 9/9/2004
ASSESSMENT OF STUDENT LEARNING PROGRAM
Metropolitan Community College is committed to continuous improvement of teaching and learning. You may be asked to help us to
accomplish this objective. For example, you may be asked to respond to surveys or questionnaires. In other cases, tests or assignments
you are required to do for this course may be shared with faculty and used for assessment purposes. This will be done in accordance
with FERPA guidelines.
TECHNOLOGY RESOURCES:
As you pursue your educational objectives, you may be required to use computer information technology resources at Metropolitan
Community College. Use of these resources is a privilege and carries with it a responsibility to respect the rights and privacy of others,
the integrity of facilities, and to follow Student Conduct Guidelines and College Policies.
By using the information technology systems at MCC (including the computer systems and phones) you acknowledge and consent to
the conditions of use as set forth in the Metropolitan Community College Procedures Memorandum on Acceptable Use of Information
Technology and Resources. It is your responsibility as a student to be familiar with these procedures. The full text of the Procedures
Memorandum may be found at the following website: http://www.mccneb.edu/itprocedures.htm
USE OF COLLEGE COMPUTERS
When you use computers in College computer labs, learning centers, libraries and many classrooms, you will need to login using your
student username and password. Your username is the same as your WebAdvisor username and your initial password is your student
ID with leading zeros to make it seven digits. If you need assistance, please contact staff at any of the computer labs, learning centers
and libraries; your instructor may also be able to help.
It is recommended that students save their files to removable media often as they work. The College reserves the right to take steps
necessary to maintain the confidentiality of student identity information through the use of automatic logouts and screensavers.
EDUCATIONAL SERVICES PROGRAM AREA IDENTIFICATION:
Program Area
Academic Dean
Academic Dean’s office phone
Academic Dean’s e-mail
Computer Technology and Visual Arts
Thomas C. Pensabene
457-2660
tpensabene@mccneb.edu
The Office of the Academic Dean should be contacted with any questions or problems that your instructor is not able to resolve to your
satisfaction.
SECTION IV: INSTRUCTOR RESPONSIBILITIES
METHODS OF INSTRUCTION:
In each lecture during this course, the instructor will cover material the student needs to learn and accomplish. In addition, written
handouts will be provided from time to time. These will be used to supplement the text material and expand the course.
Instruction will consist mainly of lecture material presented by the instructor. In some classes, group discussion and demonstration will
be utilized. In all meetings, discussion opportunities will be provided and the student is encouraged to ask questions and clarify
information as the instructor is lecturing and/or presenting material.
METHODS OF ASSESSING STUDENT PROGRESS:
Student progress is assessed through the completion of assigned projects and tests. A summary of programming assignments and tests
may be found at the end of the syllabus under the heading PROJECTED SCHEDULE OF ASSIGNMENTS. Attendance and class
participation may also be taken into consideration.
The majority of programming assignments (labs) require the student to take a basic set of program requirements and, based on
knowledge gained from reading and class, develop a program using the typical program development process. Work will be evaluated
on the adequacy of program planning; correctness of coding generated; usage of comments to describe and clarify program logic, data
element usage, and input/output requirements; adequacy of program testing procedures; and adequacy of program documentation. Of
course, the program should also run correctly. Full points are awarded for the inclusion of the specified item(s), with points being
Metropolitan Community College
Page 5 of 7
Revised: 9/9/2004
deducted for notable problems. Typical point assignments for these various aspects of programming, based on a 60 point total, are as
follows:
Planning & external documentation:
3 input layout(s)
3 printer/output layout(s)
2 hierarchy diagram
6 flowchart or pseudocode
Usage of comments in program:
2 general description (in Identification Division)
2 misc. input/output requirements
2 data item usage (esp. in Working-Storage)
5 program logic (in Procedure Division)
5 coding style, etc.
5 methodology
10 correct assembly
15 correct run
--------60 total
Exams consist mostly of fill-in-the-blank questions and short programming segments.
CRITERIA FOR DETERMINING FINAL COURSE GRADE:
A percentage grade will be obtained by dividing the total points a student earns by the total possible points for the course.
The points for each assignment and test may be found in the PROJECTED SCHEDULE OF ASSIGNMENTS found at the
end of the syllabus. The percentage grade will then determine the letter grade for the course, according to the following
table:
Letter Grade
Percentage Range
Point Range
A
90%
100%
594
660
B
80%
89.9%
538
593
C
70%
79.9%
462
527
D
60%
69.9%
396
461
F
0%
59.9%
0
395
MAKE-UP TEST PROCEDURES:
Students MUST be present on the day of an announced test. If the instructor is informed BEFORE THE TEST concerning a
valid absence, other arrangements MAY be made. There will be no retakes of tests. Test dates are not firm and are therefore
subject to change.
LATE ASSIGNMENTS:
Assignments tuned in late may lose 10% per class day for up to a week and may then receive a grade of 0. No assignments
will be accepted after the test has been given. Also, see “Attendance” above.
MAINTENANCE OF STUDENT RECORDS:
Test will be returned after grading for review in class and then recollected and retained for record keeping purposes. All
other work is graded and returned as soon as possible, usually by the following week. All grades are kept by the instructor in
a grade book and on computer, which students may see at any time by asking the instructor.
Metropolitan Community College
Page 6 of 7
Revised: 9/9/2004
SECTION IV: SCHEDULE OF ASSIGNMENTS: Stern 10th ed. pp. [9th ed. pp.] (8th ed. pp.)
Wk
Date
Topics
Chapters
Assignments
Points
1
9/9/04
SORT
Sequential file processing
Stern 14
Stern 13
#1: Program that
SORTs a transaction
file and uses that file
to sequentially update
a master file
60
2
9/16
15:639-79 [625-67] (597-625)
15:679-98 [668-87] (635-37)
handout
#2: Random update
program
60
3
9/23
Indexed file processing
Relative file processing
Using VSAM file/IDCAMS
(Flexible week)
4
9/30
COPY statement
Subprograms
Miscellaneous topics:
ACCEPT, DISPLAY
STRING, UNSTRING
16:706-10 [694-8] (651-4)
16:710-18 [698-706] (654-62)
5:160 [163-5] (161-3)
6:220-34 [225-37] (221-7)
16:718-23 [706-11] (662-7)
#3: Program that calls
a subprogram
60
5
10/7
Review & Test
6
10/14
Relational Database Concepts
Using embedded SQL
SQL SELECT Statement
Garvin 1 (p.1-21)
Garvin 1 (p.22-40)
7
10/21
Cursor Processing
SQL Error Processing
Garvin 2
Garvin 10
8
10/28
SQL UPDATE, DELETE,
INSERT Statements
Garvin 3
Garvin 3
150
9
11/4
Unions and Joins
Advanced Selection Conditions
Garvin 4
Garvin 5
10
11/11
ESQL Assistant
Column functions
Scalar functions
Nulls
Subqueries
Garvin
p.166-170
p.189-207
p.222-225
p.236-245
11
11/18
Final Test
Program 4
60
Program 5
60
Database
Project
60
Program 3
150
660
Metropolitan Community College
Page 7 of 7
Revised: 9/9/2004
Download