Introduction to Programming (COBOL) CIS12

Weekly Schedule

Schedule by week Information to cover - links are from other locations at this site
Sample programs: Sample programs are available in two groups:
Programs using screens used at the beginning of the semester
More traditional programs used later in the semester
Assignments: Unless the assignment specifies differently, assignments are due the week after they were assigned. Sometimes written assignments are due in two class days for the on campus class so that I can discuss concepts in class. Check the week schedule to determine when the assignment was posted.
Remember, 10% of your grade is strongly influenced by whether you get work in on time!
Programs: Unless specified differently on the program, programs are due in three weeks. When a program is passed in, it should include the logic flowchart, the rough code or notes that you made prior to writing the program, a print out of the program code, a print out of the output that the program produced. For web students, the flowchart and rough code should be mailed, put under my door, or put in my box unless you have access to a scanner.
PowerPoint Presentations: Free PowerPoint viewer for 97,2000,2002 users
More information on downloads.
Note that the speaker notes are provided on a separate Word document if you are having trouble accessing them!
Week #1
Week of September 2nd
You need to get a copy of COBOL if you plan to do the programs at home. The version used at the college is MicroFocus COBOL. It is available at: Information about a student version of COBOL. Note: There are other alternatives - this is compatible with the COBOL installed at BCC.
Instructions if you are using COBOL with XP or 2000
Introductory programming material:
Introductory Programming Concepts
Introductory COBOL material:
Please look at the following notes:
    Notes on Hello World program - HELLO.CBL
And look at the PowerPoint presentation that accompanies the notes (you may want to look at the presentation prior to reading the notes:
    Hello World PowerPoint presentation
    Separate speaker notes to accompany Hello World PowerPoint presentation - HELLO.CBL
This is the sample program (you will see the program best if you look at the version with the .html extension):
    hello.html
    hello.cbl
Information on downloading from the Web:
    Notes on downloading programs from the Internet
    Download programs from the Internet
    Separate speaker notes to accompany download programs from the Internet
To be passed in:
Information sheet - must be filled out and submitted
Week #2
Week of September 9th
Please look at the following PowerPoint Presentations:
Display/Accept program with Add
    Separate speaker notes to accompany Display/Accept program with Add - ADDDA.CBL
Mathematics with Display/Accept program
    Separate speaker notes to accompany Mathematics with Display/Accept program

Please read the following Notes:
Notes on ADDDA.CBL
Notes on mathematical calculations
Notes on numeric data
Notes on the COMPUTE statement

Look at programs ADDDA1.CBL through ADDDA6.CBL which deal with the samples discussed in the slide shows. They are listed under Sample Programs for CIS12: Programs to look at.

Assignment to be passed in:
First program to write This program does not have to be run on the computer - it simply needs to be written and passed in - there is extra credit if it is run!
Week #3
Week of September 16th
We are going to continue to look at the math, numeric data and the compute statement that we started last week. If you have not looked at the notes and the sample programs, look at the things I asked you to read last week.
Please read the following notes on loops and files and check the program examples that it discusses.
Notes on looping examples: ADDDALP.CBL, CREATE1.CBL, READ1.CBL. The examples are under Sample Programs for CIS12: Programs to look at.
Please look at the accompanying slide show presentation (note you should read the notes and look at the presentation because they convey different information!).
Loops in COBOL screen programs
    Separate speaker notes to accompany Loops in COBOL screen programs
Assignment to be passed in:
First data editing/formatting assignment Will be started in class for in class students
Note about editing assignment: If data is being read from a file, you do not have an actual decimal point. However, if the user is inputing data on the screen then they should type in the decimal place to conform to the V in the input picture. This is a little confusing I know. I went over it in class, but it is not clearly laid out in the notes!
First math assignment
My modem burned out during the thunder storm so I have been off line for a couple of days. I received lots and lots of messages and I am working on getting caught up.
Week #4
Week of September 23rd
Please note that I have broken the location of sample programs up into two groups. Check the first or home page for the CIS12 course and you will see the break up or look at the explanation at the top of this page. I had to do this for size reasons.
This week we are going to continue going over the programs on looping and reading and writing files. We are also going to start looking at conditions. Look at the programs from last week called ADDDALP, CREATE1, READ1 and look at the programs under conditions called READIF1, READIF1A, READIF1B, READIF2. These programs are located at the location for the new sample programs: Sample programs using screens
You should also read the notes on looping. It can be found on the home page for the course under New Introduction. Notes to read
Specifically the can be found at Notes on looping
Also read the notes on if statements - usually I cover these later in the course, but I have decided to cover them now while we are looking at screen programs - we will revisit them later. The notes are at Notes on IF statments
The IF statement notes will be covered next week.
Assignment to be passed in:
First half of programming assignment #1
Week #5
Week of September 30th
Please review all of the sample programs under conditions and totals with screens. They are located at Sample programs under the category conditions and totals with screens
Make sure you have also read the IF statement notes that were assigned last week. They are at Notes on IF statments
Assignment to be passed in:
Second half of programming assignment #1 Due in two weeks
Second data editing assignment
Week #6
Week of October 7th
In class we have worked on the assignment shown here. This is not to be passed in for a grade but if you want to do it and ask for comments, you might find it helpful. In class IF practice
Read the information on full screens, look at the screen examples and the PowerPoint presentations. The notes on full screen processing are at: Full screen processing.
The section on full screen examples is at: Full screen processing.
The PowerPoint presentations are at: Topic - Full Screens
Introductory notes on programming in COBOL
Sample program with audio explanation
Sample program (SAMPLE1.CBL) with comments and input/output
xsample1.html This is the program to view and download following the download instructions.
Introductory concepts of programming These notes should be read now and read again later after you have done some programming. Some of the concepts will be easier to understand then.
Please read the notes on headers and look at the sample programs. I have not put the links for the samples here. If you go to sample programs, they are listed under headers.
Notes on headers
Program with input and output
Report layout and output of headers from SAMPLE2.CBL
Assignment to be passed in:
IF statement assignment
Week #7
Week of October 14th
This week we are going to look at numeric data, math, final totals, more on if statements and flowcharts. Kind of a little bit of everything week that will run into next week.
Look at all the information under numeric data: Notes
Also look at notes on compute: Compute
Be sure you go over the notes and sample programs for final totals.
These are final total notes for putting final totals on a report
Note that there are two presentations - one under New Introduction to COBOL presentations and one under Standard Introduction to COBOL presentations. Be sure you look at the following programs:
readtot.html putting totals on the screen (we have already looked at this)
final total program
Look at the other sample programs under Programs with final total lines - you will especially need to look at the fintot series since there is an assignment on them!
I would like to spend some more time on flowcharts and if statements. Please read the following flowcharting notes:
Introductory notes on flowcharting
Flowchart for simple read/write program - sample1.cbl
Flowchart with final totals
Review the notes on IF statements:
Notes on IF statements
Be sure you watch the PowerPoint presentation on IF statements (the first presentation under Topics - IF statements. Presentations
Assignment to be passed in:
Assignment on totals
IF statements - pick correct solutions
Program #2 Assignment - to be written and run on the computer:
Second programming assignment
Data file for the second programming assignment. Note that some students have had problems downloading the data file - send me an email and I will send it to you. I will also leave a copy in K-104.
Be sure to watch the PowerPoint presentation on the second programming assignment for some pointers on how to do it!
Week #8
Week of October 21st
It is getting close to mid semester time. If by the end of October, you have finished the first two programs in programming assignment #1 (that means they are running and I have them) and finished programming assignment #2 which was assigned last week, you can opt not to take the mid-semester exam. In that case the 10% of the grade will be included in homework and programs. Email me or ask me in class if you have questions!
Please continue to review math statements and go over the handouts on math statements. Please continue to look at all the sample programs under IF statements and be sure you look at this handout: Math IF statements
We will look at level 88 next week.
Assignment to be passed in:
No assignments to pass in this week! Work on your programs. I will be at a conference on Thursday the 24th of October and Friday the 25th of October, so there will be no inclass classes on those days.
Week #9
Week of October 28th
Please make sure you have read all of the notes under IF conditions, level 88 and case structures - they are at the note section: scroll down for the notes on IF conditions, level 88 and case structures
Your should also look at the programs with level 88 and case structure - they are located at the second programs page: scroll down for the programs with level 88 and case structure
Also be sure to go to presentations and make sure you have read all of the presentations on IF statements, the second programming assignment and level 88s - they are with the information on notes: scroll down for the presentations under Topics - IF statements
You also need to look at the examples and presentations on screen processing. Under programs go to screen processing - cont. Under presentations go to More on screen processing. You will find the information about color for the screen in these examples.
The next topic will be editing data. You should look at the notes and read the information under the topic Editing data for accuracy. You should also look at the sample programs under editing data (they are found at: Scroll down for the notes on Editing data). You should also look at the PowerPoint presentations under Topics - Editing.
Assignment to be passed in:
Continue working on the second program and check back to see if I posted any additional assignments. Remember - to avoid the midsemester, you must have the two programs from programming assignment #1 and the program from assignment #2 in by the end of October.
Extension:Anyone that meets the original deadline of October 31st will get extra credit. Others may pass it in next Tuesday for full credit and an excuse from the midsemester. Other will need to take the midsemester and finish the program as well!
Week #10
Week of November 4th
We are looking at edit programs. Again there are notes, examples and powerpoint presentations. Be sure to look at this program and this Presentation first: Sample edit program using screens being discussed - .html version
Edit screen PowerPoint presentation
Separate speaker notes to accompany edit screen PowerPoint presentation
You then need to look at the rest of the information under edit programs.
The programs: look under Editing data
The notes: look under Editing data for accuracy
The presentations: look under Topics - Editing
In class exercise - not to be passed in: Edit exercise
Assignment to be passed in:
The midsemester exam has been posted. It is on November 14th which gives you a week. Midsemester Exam
Unless I have excused you from the exam via email, you must take it. If there is any confusion about whether or not your should take it, email me for clarification.
Your next programming assignment is: Programming assignment 3 - EDIT program
Be sure to look at the model programs - it will make this much easier to code.
Week #11
Week of November 11th
We are still working on editing so please continue to review the programs, presentations, and notes.
We will cover minor breaks this week. Please look at the notes, the PowerPoint and the sample programs that relate to breaks. We will then move on to major breaks either this week or next. No new homework assignments this week. Work on your programs and the mid semester exam if you are required to take it.
Week #12
Week of November 18th
Please be sure to look at the PowerPoint presentations on breaks (there are two of them - one you should have looked at last week) and all of the sample programs under breaks (there are samples using minor breaks (covered last week), major breaks, group printing and group indicating. Also please be sure to read the notes on breaks.
Next week we will review this information and go over the programming assignment in class.
Please be sure that you are passing in the homework assignments as well as the programs. If you are behind, this would be a good time to get caught up!
The next topic will be Tables and so at the end of the week, you should start to look at the material about tables.
Assignments to be passed in:
Programming assignment:
Break assignment
The .cbl version of the program you need to modify
The .html version of the program you need to modify
The data for the break program
Homework Assignment:
Break questions
Survey:
Survey that needs to be returned to me
Week #13
Week of November 25th
Look at the information on major breaks and tables - you need to look at the notes under Breaks and Tables, the PowerPoint presentations under the Topics of Breaks and Tables, and the sample programs under Break processing and Tables/arrays.
Homework Assignment:
Table assignment to work with one table - not to be passed in - just for practice
Continue working on your programming assignments!
Week #14
Week of December 2nd
Note that my web site is having problems. It is accessible through dial up connections and at BCC. There is a problem with the ATT Broadband domain name server that will hopefully be fixed this week.
We will continue working on tables this week - two and three dimensional!
Assignment to be Passed In:
Questions and problems dealing with tables
Final Exam:
You have three choices for the final - the introduction to the final should be read and the three choices should be reviewed. You can then select which final you want to take! The final must be passed in by December 19th at 3:15 PM or you must take choice 3 during the time allocated for the final! The final may be emailed to me or passed in to me. If you email, send it to the usual account and also to pgrocer@bristol.mass.edu.
You must pass in the status sheet to complete the course!
The final is given using the honor system - I trust you all NOT to discuss the final with anyone but me!
I will be on campus on Reading Day to help with debugging! Students who have not completed the course must still take the final and complete the status sheet
The status sheet is a requirement for all students. It must be emailed to me if possible (I will take it if it is handed to me, but I would also like an email copy for a paper trail).
This is the information about the final - it should be read!
Final choices:
    Final - choice #1(colbreak.dat - the data file for choice 1)
    Final - choice #2
    Final - choice #3 Will be posted on Dec 11th
Week #15
Week of December 9th
This week we will review and debug. Third choice of final will be posted.


Send e-mail to Mrs. Grocer:
pgrocer@bristol.mass.edu

Back to the Top
Return to home page
Return to previous page