|Office Hours:||MWF 2:00 - 3:00 PM, T/Th 10:00 - 11:00 AM, or by arrangement|
|Class Location:||KEC 119|
|Class Times:||T/Th 11:00 AM - 12:15 PM|
Update Nov 11th (Revise schedule)
This course examines the semantics of programming languages. Topics include formal specifications of syntax, declarations, binding, allocation, data structures, data types, control structures, control and data flow; the implementation and execution of programs; and functional programming versus imperative programming. Other possible topics include non-procedural and logic programming; object-oriented programming; and program verification. Programming projects will provide experience in a number of computer languages.
Michael Scott, Programming Language Pragmatics, 3rd. Ed.
This class will cover some of the important concepts underlying computation and programming languages. We will also look at a variety of programming languages as case studies. One goal of the course is to learn about the strengths and weaknesses of different languages and programming paradigms for particular kinds of applications.
I expect that you start the course with a solid grasp of programming in a traditional imperative or functional programming language.
The course will consist primarily of lecture and discussion, with occasional in-class lab activities.
Two in-class midterm exams will be given. A scheduled final exam will be given; see the Final Exam Schedule.
In-class quizzes may be given. Missed quizzes may not be made up. Both written assignments and programming assignments will be given as homework.
By the end of this course, you will be able to:
Grades are assigned on a 100-point scale:
Numeric Range Letter Grade 90-100 A (4.0) 85-90 B+ (3.5) 80-85 B (3.0) 75-80 C+ (2.5) 70-75 C (2.0) 60-70 D (1.0) 0-60 F (0.0)
Your overall grade for the course will be determined as follows:
Please check the course web page, http://faculty.ycp.edu/~dhovemey/fall2010/cs340/, regularly for important announcements.
Reading assignments are posted in the Schedule at the end of this syllabus. I expect you to do the reading before class. When I give a lecture, I will assume you have done the reading. I encourage you to use class time to ask questions about parts of the reading you did not understand to your satisfaction.
Assignments and labs will be posted on the course web page, http://faculty.ycp.edu/~dhovemey/fall2010/cs340/.
Assignments will be submitted using the server https://camel.ycp.edu:8443. You will receive an email containing the username and password you should use for this server.
The following policy pertains to homework and graded (individual) programming assignments:
All homework assignments and graded (individual) programming assignments are to be completed individually. I encourage you to discuss high level concepts with other students, but any work you submit must be yours alone.
Direct copying of code or other work from other students, web sites, or other sources is absolutely forbidden under any circumstances.
Any sources (books, websites, articles, fellow students, etc.) that you consult in completing an assignment must be properly acknowledged. In general, I strongly discourage you from using any resource not explicitly listed in the course syllabus or on the course web page. When you work on a programming assignment, it must be your program, not your adaptation of someone else's program.
Quizzes and exams must be completed individually.
Lab assignments are not graded---therefore, you may work with other students on them.
Any violation of the course's academic integrity policy will be referred to the Dean of Academic Affairs, and could have consequences ranging from a 0 on an assignment to dismissal from the college.
Late assignments will be marked down 10% per day late. No credit will be given for assignments that are more than three (3) days late.
No make-up exams will be given without approval of the instructor prior to class unless proof of extreme emergency or illness is provided. All exams will be open book and open notes.
I expect you to attend class and participate regularly in class activities. If you miss a class, please notify me in advance. You are responsible for all material covered in class, regardless of whether or not you were present. If you attend and participate in class regularly, you can expect to receive full credit for attendance and participation. Frequent absence and/or lack of participation will reduce the credit you receive for attendance and participation. You are responsible for keeping up with the reading assignments as described in the schedule below.
I expect you to conduct yourself as a professional in this course. Professionalism includes:
I reserve the right to enforce this code through the York College Code of Student Conduct.
While York College recognizes students’ need for educational and emergency-related technological devices such as laptops, PDA’s, cellular phones, etc., using them unethically or recreationally during class time is never appropriate. The college recognizes and supports faculty members’ authority to regulate in their classrooms student use of all electronic devices.
York College recognizes the importance of effective communication in all disciplines and careers. Therefore, students are expected to competently analyze, synthesize, organize, and articulate course material in papers, examinations and presentations. In addition, students should know and use communication skills current to their field of study, recognize the need for revision as part of their writing process, and employ standard conventions of English usage in both writing and speaking. Students may be asked to further revise assignments that do not demonstrate effective use of these communication skills.
This schedule may be subject to minor changes. Any changes will be announced in class and also be posted on the course web page.
|Week 1: Aug 30-Sep 3||Preliminaries||Chapter 1, Lecture1Notes|
|Syntax, Regular Languages/Expressions||Section 2.1.1, Lecture2Notes|
|Week 2: Sep 6-Sep 10||Java Regular Expressions||Lecture3Notes|
|Finite Automata||Section 2.2, Lecture4Notes|
|Week 3: Sep 13-Sep 17||Finite Automata||Lecture5Notes|
||Sections 2.1.2-2.1.3, Lecture6Notes|
|Week 4: Sep 20-Sep 24||Parsing, ambiguity, attribute grammars||Sections 4.1-4.4, Lecture7Notes|
|Recursive descent parsing||Sections 2.3-2.3.1, Lecture8Notes|
|Week 5: Sep 27-Oct 1||Predictive parsing||Section 2.3.2, Lecture9Notes|
|Week 6: Oct 4-Oct 8||Exam 1|
|Decidability, Halting Problem||Lecture11Notes|
|Week 7: Oct 11-Oct 15||Names, Scopes, Bindings||Chapter 3|
|Week 8: Oct 18-Oct 22||No class Tues||Control Flow||Chapter 6|
|Week 9: Oct 25-Oct 29||Data Types||Chapter 7|
|Week 10: Nov 1-Nov 5||Subroutines and Control Abstraction||Chapter 8|
|Week 11: Nov 8-Nov 12||Introduction to Scheme||Lecture17Notes|
|Week 12: Nov 15-Nov 19||Data Abstraction and Object-Orientation||Chapter 9|
|Week 13: Nov 22-Nov 26||No class Thurs||Exam 2|
|Week 14: Nov 29-Dec 3||Managed Runtime Environments||Chapter 15|
|Week 15: Dec 6-Dec 10||Functional Languages||Chapter 10|
|Week 16: Dec 13-Dec 17||No class Thurs|