Contents
Announcements
Monday, March 10th, Project 1 preliminary results now available.
Thursday, January 24th, Project 2 will now not be running.
Useful Links
- Javascript.com, the definitive site for Javascript. Warning - this site is linked here for completeness, but is aimed mainly at experienced programmers.
-
A
Javascript Reference
web page.
Within it:
- The Reserved Words
- The String Object
- The Array Object
- The DOM Reference
Lectures
Lectures will be held on Monday mornings, 10am--11am.
The schedule of topics below is tentative, and may change as term progresses
- 2007-10-15: Mostly introducing some general concepts of computing (hardware, software, programming languages), as well as our first Javascript program!
- 2007-10-22: Variables, types and expressions
- 2007-10-29: No lecture (public holiday)
- 2007-11-01: Thursday Lecture ! Boolean variables, conditional statements and the while loop
- 2007-11-05: Functions and modularity
- 2007-11-12: Flow charts, using Lab3 solutions as an example.
- 2007-11-19: Arrays (including motivational material done on flipcharts)
- 2007-11-26: A discussion of solution (a) to the hangman lab class.
- 2007-12-03: A discussion of the solutions to the array lab class.
- Vacation
- 2008-01-07: Introducing Objects
- 2008-01-14: The Document Object Model
- 2008-01-21: Object Prototypes and Event driven programming (examples: events, form, blackout )
Labs
Labs are held on Thursday afternoons from 14.30 to 16.30.
- 2007-10-11: Pre-test (half-hour only)
- 2007-10-18: First lab, writing your first javascript program. (Lab 1 Comments)
- 2007-10-25: Second lab, working with variables (solutions: 1, 2, 3, extra)
- 2007-11-01: short lab, introducing Loops
- 2007-11-08: Third lab continued (solutions: 1, 2)
- 2007-11-15: Fourth lab, a larger program involving functions.
- 2007-11-22: Fifth lab, continuing the development of the program from lab 4 (alternative solutions: (a) (b, partial) )
- 2007-11-29:
Sixth lab, featuring the use of loops and arrays
(solutions to problems
1,
2,
3
).
Lab 6 Solution slides - 2007-12-06: Seventh lab, viewing arrays as grids to be displayed and modified.
- Vacation
- 2008-01-10: Eighth lab, help with project 1, or exercises to do with "eval" and basic objects (solutions: noeval, eval, parseFloat, rectangle ).
- 2008-01-17: Ninth lab, playing with the Document Object Model (DOM) (solutions 1, 2 ).
- 2008-01-24: Tenth lab, using DOM to implement calculators.
Projects
The
first project
has now been released.
Deadline: 4pm, Monday January 14th, 2008.
This project is now worth 40% of the final marks for MM101 (Semester 1).
Preliminary Marks for Project 1 are now available, and will be circulated.
There will not be a second project, in order to leave time for project work specific to the Semester 2 part of the course.
Project Submission Mechanism
-
Email your program (HTML file containing your javascript)
to Andrew.Butterfield@cs.tcd.ie,
Subject: MM101 Project 1
- The file should be called username-proj1.html where username is your TCD username.
- The file should have a H1 tag with your name and the words "Project 1".
- The email will only be replied to if there is a problem with it.
-
Lodge a signed hardcopy printout of your source-code
in the Comp Science Secretaries office by the deadline.
- print from your text editor, not the browser
- The hardcopy version should match the emailed file exactly.
- The hardcopy submission is the "official" coursework submission.
Sample questions
Here are a couple of sample exam questions. The formatting is rather crude, but the content should be useful!