| Derek Bridge: | Room 2.64, Western Gateway Building d stop bridge amphora cs plip ucc plop ie www.cs.ucc.ie/dbridge.html |
|---|
| Credit weighting: | 5 credit module |
|---|---|
| Prerequisites: | CS1117/CS5222, CS1106/CS5021, CS1115/CS5002 |
| Lectures: | 2 × 1 hr per week |
| Labs: | 1 × 2 hr per week |
| Private study: | At least 2 hrs per week |
| Course web site: | www.cs.ucc.ie/~dgb/courses/wd2.html Contains copies of some of the slides N.B. Slides, not notes! |
| Examination: | 1.5 hr written exam (75% of the marks) |
|---|---|
| Continuous assessment: | Programming project (25% of the marks) |
| How to fail: | Skip lectures & labs; avoid private study; cram the week before the exam; expect the exam to be a memory test |
| How to pass: | Attend lectures & labs; take notes; organize your notes; tackle the lab activities properly; expect a programming exam |
#!/usr/local/bin/python3
from datetime import datetime
print('Content-Type: text/html')
print()
print("""
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Greetings!</title>
</head>
<body>
<p>
Hello world. It is %s, right now.
</p>
</body>
</html>""" % (datetime.now().strftime('%H:%M:%S %d-%m-%y')))
Content-Type?