Wizard

COMP 524: Programming Language Concepts

Spring, 2008
Jeff Terrell
jsterrel AT cs.unc.edu
(919) 962-1791 (office: Sitterson 138)

View Source of assignments.php

In the interest of open source, and in the interest of keeping Mr. Webmaster honest, here is the PHP source of assignments.php. (This encourages him to write clean, easy-to-understand code...well, relatively clean and easy-to-understand, that is.) If you become interested in PHP, you can read more about it at PHP: Hypertext Preprocessor. You will also see plenty of HTML code, which is what makes the World Wide Web go 'round. You can read more about HTML (and CSS, another technology used on this site) here, at the official page of the very official World Wide Web Consortium (W3C). Anyway, enough rambling, here's the code!


<?php include("header1.php"); ?>
<?php $THIS_FILE 
"assignments.php"?>
  <title>COMP 524, Spring 2008 - Assignments</title>
  <link rel="stylesheet" href="local.css" type="text/css" charset="iso-8859-1" title="Default" />
<?php include("header2.php"); ?>
<?php 
include("localheader.php"); ?>

<h1>Assignments</h1>
<p>Assignments will be of two types.  <em>Exercises</em> will give you practice using the variety of languages that you will learn.  I expect to assign 4-6 exercises.  <em>Programs</em> will reinforce your understanding of programming language concepts.  For example: build a parse tree for this grammar.  I expect to assign 2-3 programs.  Programs will be written in Python, which you will learn early in the course.  Collaboration is not allowed on either type of assignment.</p>

<h3>Exercises</h3>
<ul>
  <li><a href="exercise1.php">Exercise 1</a> - Python practice (<a href="exercise1.py">solutions</a>)</li>
  <li><a href="exercise2.php">Exercise 2</a> - Scheme practice (<a href="exercise2.scm">solutions</a>)</li>
  <li><a href="exercise3.php">Exercise 3</a> - Conventional interfaces in Scheme (<a href="exercise3.scm">solutions</a>)</li>
  <li><a href="exercise4.php">Exercise 4</a> - Sudoku solver in Prolog (<a href="exercise4.pl">solution</a>)</li>
</ul>

<h3>Programs</h3>
<ul>
  <li><a href="program1.php">Program 1</a> - Parser (<a href="program1.py">solutions</a>)</li>
  <li><a href="program2.php">Program 2</a> - Evaluator (Solutions: <a href="turtle.py">turtle.py</a> and <a href="lsystem.py">lsystem.py</a>)</li>
</ul>

<?php include("footer.php"); ?>
viewsource.php: Last Modified: 02/06/08@14:19:08 | Size: 2795 bytes | View Source Valid XHTML 1.1 Valid CSS