CIS213 PROGRAMMING II Spring 2008 TEXT: "Object-Oriented Programming in C++” , By Robert Lafore PROF. JAMES W. CHAIRES e-mail jwchaires@hotmail.com OFFICE HT 229F PHONE 301-322-0772 WEB PAGE: http://academic.pgcc.edu/~jchaires OFFICE HOURS M 8:30-9:30 pm T 10:45-12:15 pm W 8:30-9:30 pm TH 10:45-12:15 pm F COURSE SYLLABUS: CIS213 is the Programming II class here at PGCC. Using the “C++” language, the course continues with the concepts covered in CIS-111 such as functions and arrays. In addition, subjects such as pointers, structures, objects and classes will be covered during the upcoming semester. We will concentrate on structured programming techniques, top-down design, clear and concise coding, good programming style and most importantly, the development of good programming logic. The grading system for the course is based on 500 points. There will be three (3) major exams given during the semester. Each exam is worth 100 points. Don’t miss an exam - there are no makeups ! Each exam will be announced at least 7 days in advance so you will have plenty of time to plan your schedule. If you miss an exam, you will receive a zero (0). It is highly unlikely that you can pass the course without all three exams so make an effort to be in class. In addition to your exams, you will be required to hand in 5 lab projects during the course of the semester. Each project will be assigned a due date. No project will be accepted after that date - no exceptions. You may, however, turn in projects early. Projects are handed out far enough in advance that you will have plenty of time to complete each assignment. Each project is worth 25 points. Finally, there will be up to 6 quizzes throughout the semester. You may drop your lowest quiz. If you miss a quiz for whatever reason, that becomes your lowest quiz. Your five "best" quizzes will be worth about 20 points each (for a total of 100 points). A quiz may be given in any class without warning. Your final grade for the course is based on the following scale: A B C D F = = = = = 495 440 385 330 UNDER 550 494 439 384 300 90% 80% 70% 60% 3 Exams up to 6 Quizzes 5 Projects TOTAL 300 points 125 points 125 points 550 POINTS The computers for the course are the IBM compatibles micros located in the various labs throughout campus. In the second week of class, a CIS Info Sheet will be handed out. It contains vital information for CIS students such as lab information, important dates in the semester, weather cancellation information, bookstore hours, etc. Final Exam: Class Time T-Th 8 am M-W 6 pm Exam Time & Date 8 am Thursday May 8 6 pm Monday May 12 NOTE: -You should have at least four 3½” diskettes: 2 original + 2 backup. - ZIP (100’s, or 250’s) are better to have than 3½” diskettes. -Dates on projects are given out with the projects. -Tests are in the 10th week, 15th week, and during the final week. -Attendance is not mandatory, but missing class work and notes is up to the student to obtain from other students. -Submitted work must be your own, copy other students projects results in a zero for both students. -Tape recorders are allowed in class. -Cell phones should be OFF or on vibrator status. -Eating and drinking in class or lab is not allowed. -The PGCC handbook, which is published with a nice spiral bound calendar/planner is free for students and can be picked up at the College Life Office in Largo Student Center (near the bookstore). All official policies relating to students are spelled out here. CLASS FORMAT: ”Lecture” time is intended to be used for classroom lecture, presentation of material, discussion, etc. “Lab” time will usually be devoted to hands-on demonstrations and exercises, as well as time for students to work on individual assignments. Students should also expect to work a minimum of ten hours per week outside of class time on homework and projects. Attendance: Research on college success demonstrates that class attendance is a significant factor in student success. Considerable material will be covered during each class session. There will be discussion of assignments, and handouts will be distributed. If a student must miss class, it is his/her responsibility to get the notes and assignments from a classmate and check with the instructor regarding any handouts, etc., preferably prior to the next class period. Prince George's Community College is committed to a policy of reasonable accommodation and services to persons with disabilities. In order to receive services, students with disabilities must register with the Disability Support Services. Call between 8:30 and 4:30 pm, Monday through Friday, 301-322-0838 to schedule an appointment. College Closings: If an emergency develops requiring school closing, the following radio stations will be asked to announce the closings: WMAL, WPGC, WRC, WTOP, WAMU,WAVA, WASH, WHUR, WWMX, and WGAY. The following TV stations will also be asked to announce the closing: WRC(4), WTTG (5), WJLA (7), WUSA (9), and News Channel 8. Please note the college will have its own announcement which is separate from that of the Prince George’s County Public Schools. Lab Times: Bladen Lab Monday-Thursday Friday Saturday Sunday Schedule: Week Of: Jan. 24 Jan. 29 Feb. 5 Feb. 12 Feb. 19 Feb. 26 Mar. 4 Mar. 11 Topics: Review sheet Review sheet Review sheet Review sheet Review sheet Review sheet Review sheet 10, Test 1 Topics: 1. Download Review sheets 1, 2, and 3. 8:00 8:00 8:00 12-5 #1 #1 #1 #1 #1 #2 #2 #2 Week of: Mar. 25 Apr. 1 Apr. 8 Apr. 15 Apr. 22 Apr. 29 May 6 May 12 6 pm a.m. – 10:30 p.m. a.m. – 10:30 p.m. a.m. – 5 p.m. p.m. Topics: Review sheet Review sheet Review sheet Review sheet Review sheet Review sheet Test 2 Final Exam #2 #2 #2 #3 #3 #3 Important Dates: Spring Semester 2008 January 7 Monday January 7- Mon. - 23 Wed. January 21 Monday January 23 Wednesday College re-opens. Registration for Spring resumes. Intersession classes meet COLLEGE CLOSED-Martin Luther King’s birthday observed Regular registration ends for spring January 24 Thursday Classes begin for spring 2008 January 31 Thursday Refund deadline for full semester classes February 15 Friday Last day to apply for spring graduation February 18 Monday COLLEGE CLOSED-Presidents’ Day March 4 Tuesday Last day to withdraw from first-half classes March 16 Sunday Mid-term. End of first half-semester classes. March 17-23 Mon.-Sun. March 24 Monday March 25 Tuesday March 28 Friday COLLEGE CLOSED-Spring break College Re-opens. Begin 2nd half-semester classes Last day to add a 2nd half-semester class PGCC Presidential Inaugural Advance registration for summer, 2008 April 14-18 Mon.-Fri. April 18 Friday April 21 Monday Begin open registration for all summer terms Mon.-Fri. Advance registration for fall, 2008 semester May 2 Friday Last day to withdraw from second-half classes May 5 Monday Begin open registration for fall, 2008 semester May 7 Wednesday April 28-May 2 May 8-14* Thurs.Wed. classes Last day to withdraw from full semester classes Last day of regular classes for the spring semester Final examination period/last week of classes May 22 Thursday Commencement May 24-26 Sat.-Mon. COLLEGE CLOSED-Memorial Day observed DISABILITY SUPPORT SERVICES Students requesting academic accommodations are required to contact the Disability Support Services Office (M-1042) or call (301) 3220838 (voice) or (301) 322-0122 (TTY) to establish eligibility for services and accommodations. Students with documented disabilities should discuss the matter privately with their instructors at the beginning of the semester and provide a copy of their Student/Faculty Accommodation Form. CODE OF CONDUCT The Prince George's Community College Code of Conduct defines the rights and responsibilities of students and establishes a system of procedures for dealing with students charged with violations of the code and other rules and regulations of the college. A student enrolling in the college assumes an obligation to conduct himself/herself in a manner compatible with the college's function as an educational institution. Refer to the 2003-2004 Student Handbook, beginning on page 39, for a complete explanation of the code of conduct, including the procedure for dealing with disruptive student behavior. CODE OF ACADEMIC INTEGRITY The college is an institution of higher learning that holds academic integrity as its highest principle. In the pursuit of knowledge, the college community expects that all students, faculty, and staff will share responsibility for adhering to the values of honesty and unquestionable integrity. To support a community committed to academic achievement and scholarship, the Code of Academic Integrity advances the principle of honest representation in the work that is produced by students seeking to engage fully in the learning process. The complete text of the recently approved Code of Academic Integrity will be sent to all enrolled students early in the spring 2004 semester and posted on the college's website. CLASSROOM POLICIES 1. Food and drink in the classroom are allowed - only if you clean up any mess, and do not make any noise eating (hands in a bag make noise). 2. Cell phones and other electronic devices should be off or on vibrator mode. 3. Wearing of hats during exams or quizzes is prohibited. Course Learning Outcomes: (for CIS113) Upon successful completion of this course, the student will be able to: 1. Develop an I-P-O chart for a specific programming problem. 2. Develop an algorithm to solve a specific programming problem by using pseudocode or flowcharting. 3. Write a working business oriented C++ program that includes calculation, selection and repetition and that accomplishes most tasks in functions. 4. Identify syntax and logic errors in a program. 5. Analyze and trace logic in an existing program. 6. Use console and file input/output techniques. 7. Describe the importance of documentation and data validation and explain how to use them in a C++ Program. 8. Construct and use one dimensional and parallel one dimensional arrays in a C++ program. Course Learning Outcomes: (for CIS213) Upon successful completion of this course, the student will be able to: 1.Code programs modularity using functions. Understand the methods used to call and pass arguments between functions by value + reference. Describe and utilize the concepts of function scope and duration. Be able to declare, call and define functions in any given program. 2.Code programs using both one and two dimensional arrays. Declare, load/build and access arrays in order to reference individual elements within the array. Declare and manipulate arrays using indexes/subscripts in order to sort and search one and/or two dimensional arrays. 3.Code programs using structures and classes (objects). Design and implement programs using classes/objects to solve simple problems. Be able to define a class and apply it to any number of objects within a program. Understand the concept of dot notation (member notation) when accessing members in a class. Understand the techniques used to “encapsulate” data within a given program. Describe and utilize the concepts of class scope and duration. Be able to declare, call and define methods in any given program. 4.Code programs using pointers to objects and/or arrays of objects. Design and implement programs using call-by-reference techniques. Understand the concept of arrow notation (member notation) when accessing members in a class To describe and utilize the relationship between pointers, arrays and strings. 5.Code programs using file input/output operations. Design and implement programs using file I/O stream functions such as read, write, append and getline from a space delimited text file. Design and implement programs using file I/O stream functions such as read, write and append from/to an unformatted binary data file. 6.Code programs using the concepts of inheritance. Design and implement programs using a base class and one or more derived classes. Design and implement programs that use both single inheritance and multiple inheritance. Utilize all three (3) types of inheritance within a given program.