";
}
else
{
echo "TBA";
}
}
function openFile( $fileName, $options )
{
if ( file_exists( $fileName ) )
$handle = fopen( $fileName, $options );
else
$handle = -1;
return $handle;
}
function getNotes()
{
$handle = openFile( "notes", "r" );
if ( $handle != -1 )
{
$notes = fgets($handle);
for( $i=0; !feof($handle); $i++)
{
//first piece is chapter number, second piece is description, last piece is file name
$pieces = explode("|", $notes);
if ( strlen($pieces[0]) == 1 )
{
echo " ";
}
else if ( strlen( $pieces[1] ) == 0 )
{
echo "$pieces[0] ";
}
else if ( !strstr( $pieces[0], "##" ) )
{
echo "$pieces[0]: $pieces[1] ";
}
$notes = fgets($handle);
}
if ( $i == 0 )
{
echo "We don't have any notes yet, check back soon. ";
}
}
else
{
echo "We don't have any notes yet, check back soon. ";
}
}
function noAnnouncements()
{
echo date("n/j/Y");
echo ": No announcements";
}
function noHW()
{
echo "
TBA
";
}
function calErr()
{
echo "Hey Dave, there is a problem with the calendar.";
}
?>
$rssFile = "http://courses.cs.vt.edu/~cs1054/fall06/1054.rss";
$pages = array(
"ann" => "announce.php",
"cal" => "cal.php",
"notes" => "notes.php",
"projects" => "projects.php",
"p1" => "projects/p1/p1.php",
// "p2" => "projects/p2/p2.php",
// "p3" => "projects/p3/p3.php",
// "p4" => "projects/p4/p4.php",
// "p5" => "projects/p5/p5.php",
"hw" => "homework.php",
"links" => "links.php",
);
$newpage = array(
"p1" => "Project 1"
);
$menuLinks = array(
"Home" => "home",
"Calendar" => "cal",
"Announcements" => "ann",
"Projects" => "projects",
"Homework" => "hw",
"Notes" => "notes",
"Links" => "links"
);
$pagesProjects = array(
// "p5" => "Project 5",
// "p4" => "Project 4",
// "p3" => "Project 3",
// "p2" => "Project 2",
"p1" => "Project 1"
);
$dropDownMenus = array(
"Projects"
);
$dropDownMapping = array(
"Projects" => $pagesProjects
);
$projects = array(
"Project 1" => "September 10",
// "Project 2" => "July 17",
// "Project 3" => "July 24",
// "Project 4" => "July 31",
// "Project 5" => "August 8",
);
$title = "CS3604 - Professionalism in Computing";
$bookHomepage1 = "http://www-rohan.sdsu.edu/faculty/giftfire/";
$bookHomepage2 = "http://www.ablongman.com/catalog/academic/product/0,1144,0321163389,00.html";
$description = "Studies the ethical, social, and professional concerns of the computer science field. Covers the social impact of the computer, implications and effects of computers on society, and the responsibilities of computer professionals in directing the emerging technology. The topics are studied through case studies of reliable, risk-free technologies, and systems that provide user friendly processes. Specific studies are augmented by an overview of the history of computing, interaction with industrial partners and computing professionals, and attention to the legal and ethical responsibilities of professionals. This is a web-supported course, incorporating writing intensive exercises, making extensive use of active learning technologies. A grade of C or better required in CS prerequisite 2604 or 2606.";
?>
echo $title ?>