Edinboro University of Pennsylvania Department of Mathematics & Computer Science COURSE SYLLABUS Course Number: CSCI 130 Course Title: Principles of Programming I Semester: Fall, 2010 Credit Hours: 3 Professor: Patricia Hillman Office: DH 200, 732-2760 hillman@edinboro.edu http://users.edinboro.edu/hillman Office Hours: MW 3:00 – 4:30 pm TR 10:30-11:30 =============================================================== Catalog Description This course introduces computer programming using a structured language. It integrates techniques of algorithm design and development, procedural and data abstraction, good program style, testing, and debugging. Topics will also include data types, control structures, subprograms, documentation and coding techniques, and elementary data structures. Expanded Description This course is designed to be a beginner’s course in programming using the C++ programming language. The course will begin with an introduction to the computer, including both hardware and software, and an introduction to the program development cycle. Students will become familiar with the program creation by using the gnu C++ programming environment. Problem-solving techniques and algorithm development will be covered extensively. Students will then be taught to write programs that incorporate various data types and operators. They will be introduced to the syntactic requirements of a basic program and how to address problems that arise when syntax is not used appropriately. Harder problems incorporating control structures such as selection statements and loops will then be introduced. Finally, students will be taught to develop programs by breaking the problem into tasks and programming the tasks by incorporating functions into their programs. Also, students will be exposed to the process of debugging and testing. Throughout the semester, emphasis will be placed on the use of proper documentation. Intended Audience Students who are interested in learning to program. 1 Textbook & Materials Programming and Problem Solving with C++, 5th Edition by Nell Dale and Chip Weems Two-Pocket Folders for Submitting Your Projects Course Requirements Grades will be based on: Attendance Miscellaneous Exercises and Quizzes Programming Assignments 2 Exams and a Final Exam 10% of your grade 20% of your grade 30% of your grade 40% of your grade Grading Scale: 90 – 100 88 – 89 80 – 87 78 – 79 70 – 77 68 – 69 60 – 67 0 – 59 A B+ B C+ C D+ D F Course Objectives On successful completion of CSCI 130, the student should be able to: Identify the phases of the program development cycle Design a program employing the program development cycle Design and implement a program incorporating various data types and the corresponding operators Design and implement a program incorporating various control structures Design and implement a program that incorporates functions Demonstrate understanding of how to test and debug a program Demonstrate understanding of proper program documentation 2 Tentative Outline Week 1 Topic Beginnings – Introduction to computers, software, problem-solving, algorithms, using an editor Chapter 1, Supplements 2&3 The C++ programming language – syntax and semantics Writing, compiling and executing your first program Chapter 2 3&4 Numbers, strings, numeric expressions, formatted output Testing and debugging Chapter 3 5 Exam #1 (October 6th) 5&6 Providing input for programs Problem decomposition Chapter 4 6&7 Conditional and logical expressions Making a decision Chapter 5 8&9 Repetition Chapter 6 9 & 10 Other control structures Chapter 7 10 Exam #2 (November 10th) 11 & 12 Functions Chapter 8 13 & 14 More on functions, parameters & scope Chapter 9 15 User-defined data types Structs and Unions Chapter 10 3 General Expectations: 1. Attendance is imperative. Poor class attendance may result in a lower final grade. Attendance for the examination is mandatory. The examinations are scheduled to be given on: Wednesday October 6, 2010 Wednesday November 10, 2010 The final exam will be given on Friday December 17, 2010 from 12:30-2:30 pm. There will be NO exceptions to this date and time. 2. All assignments will be given a due date. Students are expected to turn the assignments in by the due date. Assignments will be collected at 4:30 on the due date. Late assignments will not be graded!!! There will be no exceptions to this policy. An assignment will be considered LATE if you arrive to class late on the day the assignment is due. Assignments should be submitted in a two-pocket folder with exercises clearly labeled. 3. All projects are expected to be done by the individual, unless otherwise directed. Cheating will not be tolerated and may result in all parties receiving a grade of zero. 4. Homework assignments and lab projects will not only be graded on correctness, but also on their professional appearance. All homework is to be done using a word processor unless otherwise noted. This includes any chapter assignments. 5. A note about classroom behavior!!! It is expected that you attend each class and pay attention. Please do not interrupt the class by arriving late, leaving early or excusing yourself during class time. Other disruptive behavior such as sleeping in class, talking with your classmates, clicking of pens, and gathering your books/papers/backpacks before class is dismissed will not be tolerated. Make sure ALL CELL PHONES, BEEPERS, and WATCHES are turned off during class time. We will be meeting occasionally in the lab and while there, I expect your complete attention during lectures. You should not be using the computer for any reason during lectures unless I have instructed you to do so. I will give only ONE VERBAL WARNING, after which I will begin deducting 10 points from exams for each infraction. 6. It is my hope that we will engage in discussions about many issues involving computers. Please respect the right of others to have opinions that may differ from yours. Policy of Non-Discrimination and Affirmative Action: Edinboro University welcomes students, faculty, and staff from all racial, religious, national, and socio-economic backgrounds. Edinboro University is committed to a policy of equal opportunity for all in every aspect of its operations. The University has pledged not to discriminate on the basis of race, sex, color, age, religion, national origin, disability, organization affiliation, sexual orientation, and marital status. The policy extends to all educational, service, and employment programs of the University. 4