MC logo
CSc 231 PHP Syllabus
[^] CSc 231 PHP

CSc 231
PHP Programming
Fall, 2007 1 Credit

Instructor: Tom Bennet
Office: 302 MCC
Phone: 925-3815
Email: bennet@mc.edu
Text: None
Web Page: http://sandbox.mc.edu/~bennet/cs231

A study of the syntax and features of the PHP language, emphasizing its intended use for dynamic web pages.

PHP is a language used to create dynamic web pages. PHP code is embedded in HTML documents and executed by the web server when the document is fetched. In this way it is similar to Javascript, except that Javascript is executed by the client (browser), while PHP is server-side. Server-side scripts have access to the resources of the server. They are also hidden from browsers, since only their output is sent, not the text of the script.


Points in this course will be assigned as follows:

Activity Points
Programming Projects 400
Regular Exam 50
Final Exam 100


Final grades will be assigned based on the percentage of points earned:

Points Percent Grade
495 - 550 90%- 100% A
440 - 494 80%- 89% B
385 - 439 70%- 79% C
330 - 384 60%- 69% D
0 - 329 0%- 59% F

There will be several programming assignments of varying difficulty, two regular exams, and a comprehensive final exam. The exam will be around the end of October, and the final will be on December 7 at 11:00. The last day to drop this course is Friday, October 26.

The semester point total may vary due to unforeseen circumstances. Any variance will be small. Final grades will be based on these same percentages of the actual total.


There is no formal lab section for this course; students are expected to complete programming projects outside of class. The Linux machine sandbox.mc.edu is available for your use, as are the public PC labs. Any student who does not have an account on Sandbox should apply for one. Programming projects should be completed on time. Late projects are charged 10 points per day. However, to provide some flexibility, each student is given five free late days. These can be spent on any project in any combination. Free days are not transferable and expire on the day of the final.

Projects should be handed in on time, and late projects are charged 10 points for each day late. However, each student has five free late days which may be spent on any programming project in any combination. Free late days are not transferable, and expire at start of the final exam.


The following topics will be covered:

  1. Basic Data Structures and Variables.
  2. Control Structures.
  3. Regular Expressions and Text Handling.
  4. References and Data Structures.
  5. Packages, Modules, Classes and Objects.
  6. Processing Web Forms.


Mississippi College class attendance policies as described on pp. 46 and 47 of the college catalog will be enforced. Absences may be excused for illness or other appropriate cause. Exams missed due to circumstances beyond the student's control may be made up at a mutually agreeable time and place. Adequate documentation of the cause of an absence may be required.

Academic Honesty

Mississippi College regulations regarding the integrity of academic work, policy 2.19 will be enforced. The computer science group has established the following addendum:

In a computer science class individual effort is expected. Student misconduct not only includes cheating on tests, but also extends to copying or collaborating on programming assignments, projects, lab work or research unless otherwise specified by the instructor. Using other people's accounts to do your work or having others do your work is prohibited. Close proximity in lab does not mean collaboration is permitted. NOTE: Discussing logical solutions to problems is acceptable, exchange of code, pseudocode, designs, or procuring solutions from the Web, other texts, the Internet or other resources on or off campus is not acceptable.

First offense: grade of 0 for all parties involved unless the guilty party can be determined. Second offense: grade of F in the course.