SYLLABUS HANDOUT for CPT 211 2A Assembler Language I Alan R. Reinarz 2001-2002/Spring M 6:00pB9:35p EVC 123 METHODS OF CONTACTING INSTRUCTOR: HOME PHONE NUMBER: 556-3071 METRO OFFICE HOURS LOCATION PHONE FAX M/W/Sa: 1:00p-2:00p SOC 300 738-4089 738-4553 T/Th: 4:00p-5:00p SOC 300 738-4089 738-4553 M: 4:00pB5:00p EVC 156 289-1364 289-1405 IMPORTANT DATES: Date class begins: 3/4/02 Date class ends: 5/13/02 Last date to drop class: 4/26/02 WELCOME TO METROPOLITAN COMMUNITY COLLEGE! IMPORTANT DATES: Date class begins: Date class ends: Last date to drop class: 3/4/2002 5/13/2002 4/26/2002 SECTION I: THE CLASS AND THE INSTRUCTOR COURSE SECTION AND TITLE: CPT 211 2ACAssembler Language I INSTRUCTOR=S NAME: Alan R. Reinarz LOCATION OF CLASS: EVC 123 LOCATION OF LABS: EVC 1571 METHODS OF CONTACTING INSTRUCTOR: e-mail: areinarz@metropo.mccneb.edu web site (under construction): http://cot.mccneb.edu/areinarz (home phone): (402) 556-3071 METRO OFFICES HOURS* LOCATION PHONE FAX M/W/Sa: 1:00p-2:00p SOC 300 738-4089 738-4553 T/Th: 4:00p-5:00p SOC 300 738-4089 738-4553 M: 4:00p-5:00p EVC 156 289-1364 289-1405 *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. SECTION II: THE COURSE COURSE DESCRIPTION: This course involves the study and development of programs using Basic Assembler Language for an IBM mainframe. The student will gain detailed knowledge of assembler language by coding, testing, and debugging application programs. COURSE PREREQUISITES: CPT 221 (COBOL I) COURSE OBJECTIVES: Upon completion of this course, the student will be able to: 1. Describe binary, hexadecimal, zoned decimal and packed decimal data representations. 2. Code an assembler program that performs character moves, comparisons and basic input/output operations. 3. Perform moves, comparisons, arithmetic operations, and editing on packed decimal data. 4. Code a control break program that uses subroutines. 5. Explain the assembly process and standard linkage conventions. .REQUIRED/SUPPLEMENTAL MATERIALS: Textbook: Assembler Language Programming for IBM & IBM-Compatible Computers Edition: 2nd (1986); Authors: Stern, Sager, Stern; Publisher: John Wiley and Sons. Two 3.5 " diskettes. Students may wish to purchase the current Reference Summary from IBM. This reference is not currently available from the Metro bookstores. It may be obtained from IBM on-line at http://www.elink.ibmlink.ibm.com/public/applications/publications/cgibin/pbi.cgi and search on “z/Architecture” or publication no. SA22-7871-00. An early version of the Reference Summary is available as a class handout. A Reference Summary may be used during closed-book exams. 1Students will find computer resources for this class at Computer and Office Technology (COT) Computer Labs on the South Omaha campus only. Metropolitan Community College Page 3 Another useful IBM manual is Principles of Operation, which contains the most complete description of the IBM mainframe hardware and every individual machine language instruction. Latest versions may be found at the above URL, again searching under “z/Architecture” or publication no. SA22-7832-00. Some editions are available for a free download. SECTION III, PART A: 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. This course requires students to work an average of 1.5 hours per week in hands-on, lab activity. Students are responsible for completing all lab work outside of the classroom. Metro provides the necessary software in this classroom and in the “Computer and Office Technology” computer lab on the South Omaha campus only. A downloadable MS-DOS version of the software used in this class has been located on the Web, but its functionality has not been fully determined (http://www.simtel.net/pub/pd/45216.html). 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. SELECTED TESTING/ASSESSMENT METHODS: The majority of programming assignments 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, identifier/symbol 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 deducted for notable problems. Typical point assignments for these various aspects of programming for a 60 point program is 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 2 misc. input/output requirements 2 identifier/symbol usage 5 program logic 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. 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 turned in late may lose 10% per class day for up to a week and may then receive a grade of 0. Assignments may not be accepted after the test has been given. Also, see AAttendance@ below. 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: Metropolitan Community College Page 4 Letter Grade Percentage Range Point Range A 90% 100% 477 530 B 80% 89.9% 424 476 C 70% 79.9% 371 423 D 60% 69.9% 318 370 F 0% 59.9% 0 317 MAINTENANCE OF STUDENT RECORDS: All work is graded and returned as soon as possible, usually within the week following the due date. 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. SECTION III, PART B: 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 read the material prior to class meeting date. 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 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. RETAINING COPIES OF SUBMITTED WORK: On very rare occasion, the instructor has been unable to find any record of work which 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 become 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. 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 withdrawal (IW) or failing (F) grade. The last date to withdraw is 4/26/2002. 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. Metropolitan Community College Page 5 COLLEGE POLICIES: All students are expected to abide by College policies. These policies exist so that all students may pursue their educational goals in a fair and non-threatening environment. Academic and non-academic standards exist for all students. Academic standards involve acts of cheating or plagiarizing. Non-academic standards include, but are not limited to, any acts of harassment, disruption of College functions, possession, use or sale of controlled substances or firearms, and inappropriate use of College equipment or property. The College imposes specific disciplinary actions in response to incidents of both academic and non-academic misconduct. These actions may include: admonition, failing grade, failure of course, disciplinary probation, suspension or dismissal. (A copy of the current disciplinary procedure is available in each campus Student Services center and from your Assoc. Dean.) 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. INFORMATION SOURCES: Refer to both the College catalog and student handbook as sources of general College information such as parking, children on campus, identification cards, etc. PROGRAM IDENTIFICATION: Associate Dean of Computers & Visual Arts: Tom Pensabene Location: FOC 8 207 Phone: 457-2502 (Candi Otterpohl) Email: tpensabene@metropo.mccneb.edu The Associate Dean of Curriculum Delivery is the person you should contact if you have any questions or problems concerning the instructor that cannot be resolved by the instructor to the student's satisfaction. Metropolitan Community College Page 6 SECTION IV: PROJECTED SCHEDULE OF ASSIGNMENTS: Wk Date 1 3/4/02 2 3/11 Topics Chapters Introduction Numbering Systems Using MicroFocus Assembler Chapter 1 Chapter 2 Defining Storage Defining Constants Program Shell Assignment #1 due Chapter 3 Chapter 5 Chapter 6 Points 50 Input, Output, & Compares Prog. (Assignment #2) 60 Chapter 4 3 3/18 Move Statement Compare and Branching 4 3/25 Review Exam #1 5 4/1 Packed Decimal Arithmetic Advanced Packed Arithmetic Shifting Decimals Assignment #2 due Chapter 7 Chapter 8 Chapter 17 (pp. 474-8, 488-9) 6 4/8 Edited Printing Floating Dollar Sign Chapter 9 Chapter 17 (pp. 495-8) 7 4/15 Subroutines Control Breaks Chapter 18 Chapter 9 (pp. 265-75) Chapter 13 Branching and Looping Assignment #3 due Assignments Punch and Run Program (Assignment #1) 90 8 4/22 Review Exam #2 9 4/29 The Assembler Debugging Snap Dump Assignment #4 due Chapter 10 Chapter 14 Chapter 15 10 5/6 Standard-linkage Misc. Topics Appendix F 11 5/13 Review & Preview of Assembler Language II Exam #3 Arithmetic & Editing Program (Assignment #3) 60 Control Break Program (Assignment #4) 60 110 100 530 Metropolitan Community College Page 7