TCS / Studies / T-79.1002 Introduction to Theoretical Computer Science Y
Helsinki University of Technology, 
     Laboratory for Theoretical Computer Science

T-79.1002 Introduction to Theoretical Computer Science Y (2 cr)

Autumn 2007

This short course introduces the basic tools for dealing with data streams consisting of sequences of discrete symbols: finite automata and regular languages, and context-free grammars and languages.

The course covers the first half of a more extensive course on models of computation, T-79.1001 Introduction to Theoretical Computer Science T (4 cr) . For topical information, please refer to the WWW info page of that course. This short version is mainly intended for students of other study programmes than computer science (T). Computer science students, and telecommunications students following a pre-2005 curriculum, are required to take the larger course. (The course corresponding to the old course code T-79.148 is the long version T-79.1001. You can not compensate course T-79.148 in your curriculum requirements by course T-79.1002.)

Starting in 2006/07, the course is lectured in the autumn semester only.


[Current] [General] [Lectures] [Tutorials] [Computer exercises] [Exams] [Material] [Feedback] [Links]

Previous years: [Autumn 2006] [Spring 2006] [Autumn 2005] [Spring 2005] [Autumn 2004] [Spring 2004] [Autumn 2003] [Spring 2003] [Autumn 2002] [Spring 2002] [Spring 2001] [Spring 2000] [Spring 1999] [Spring 1998]


Current


General Information

  • The course consists of:

  • Registration for the course is by TOPI. You must register in order to take the course, even if you were not intending to attend the lectures or the tutorials. (Registrations are needed for bookkeeping purposes, specifically for generating your set of computerised home assignments; see below.) One of the tutorial groups (indicated below) will be given in English and the rest in Finnish. Registration for the tutorials opens Sep 1 at 9:00 and closes Sep 26 at 18:00.

  • In order to pass the course you have to:
    1. first complete four compulsory sets of computerized home assignments, and
    2. second get a passing grade on the exam, as augmented by credit earned from the tutorials.
    The compulsory computer exercises are individually computer-generated for each student, and are submitted over the network.
  • Newsgroup: opinnot.tik.tkt

Lectures

Lectures by Harri Haanpää in Period I on Tuesdays 2 p.m. - 4 p.m. in Lecture Hall T1 of the Computer Science building. The first lecture is on Sep 11. The lectures are in Finnish, and the slides will appear here after each lecture. The contents will likely be very close to those from previous years, e.g. Autumn 2006.

Lecture schedule (tentative):
Lecture
Date Topic Sipser Lewis-Papadimitriou
1
Sep 11
Review of basic mathematics (functions, relations, induction). Alphabets, strings and languages. Pp. 1-16, 23-25 1.1-1.3, 1.5, 1.7
2
Sep 18
Finite automata. Pp. 31-43 2.1
3
Sep 25
Automata minimisation. Nondeterministic finite automata. Pp. 47-58, 275 2.2, 2.5
4
Oct 2
Regular expressions and finite automata. Pp. 58-76 1.8, 2.3
5
Oct 9
Context-free grammars and languages. Regular grammars. Pp. 91-98 3.1
6
Oct 16
Parse trees and derivations. Recursive-descent parsing of LL(1) grammars. - 3.2, 3.7 (partly)


Tutorials

The tutorials start after the first lecture. The Thursday 16-18 tutorial session is given in English, the others are in Finnish. The head assistant of the course is Tommi Syrjänen. There are no tutorials during the exam week from Oct 25 to Oct 31.

Group Day Time Location Assistant
H6 Thu 16-18 Y429A Tommi Syrjänen In English
H1 Mon 10-12 K Emilia Oikarinen
H2 Mon 12-14 U358 Tuomas Launiainen
H3 Mon 14-16 U358 Toni Kylmälä (In period I only)
H4 Mon 16-18 Y228 Toni Kylmälä (In period I only)
H5 Tue 12-14 Y228 Petri Savola

You must register in order to take the course, even if you were not intending to physically attend the tutorials. (Registrations are needed for bookkeeping purposes, specifically for generating your set of computerised home assignments.)

In the tutorials, there will be three home assignments and two or three demonstration problems each week. The tutorials are not compulsory, but bonus exam points (-2 to 4) will be awarded for doing the home assignments and marking them as done at the tutorial sessions. The grading scheme for the home assignments is as follows:
Problems solved Bonus points
0-4
-1
5-9 +0
10-14 +1
15-19 +2

The demonstration problems are likely to be 90% the same as in the previous instalment of the course, and are discussed at the tutorials to the extent that time permits. In addition to the voluntary tutorials there are compulsory computer-generated "Regis" problem sets. (See the info page.)

Tutorial problems: Electronic copies (in PDF) downloadable here each week. Paper copies available at the lectures, and from the rack outside the theory lab office (TB336). Solutions for the demonstration problems are provided here as the course progresses.

  1. tehtävät ratkaisut problems solutions
  2. tehtävät ratkaisut problems solutions
  3. tehtävät ratkaisut problems solutions
  4. tehtävät ratkaisut problems solutions
  5. tehtävät ratkaisut problems solutions
  6. tehtävät ratkaisut problems solutions

Tutorial scores.

Validity of tutorial bonus points. Exams for the course are for the time being scheduled for examination periods 1, 2, 3, 5 and 6 of the academic year (August, October, December, March, May). Any tutorial points earned in an autumn semester will be valid up to and including the October exam in the next autumn semester.


Computer exercises

To participate in an exam, you must first complete your computer exercises. Exercises are generated at the beginning of the course after registration is closed for those who have registered for the course. If you complete the computer exercises by the early bird deadline announced in the registration email, you can earn 2 bonus points to augment your grade in the exam. See the info page for details.

  • The computer assignments generated in a given autumn semester can be completed until August next summer.
  • Fully completed computer assignments will be valid until the October exam the following autumn.

Examinations and Grading

In general, exams for the course are scheduled for March, May, August, October, and December of each year. In 2007/08 exams are scheduled 25 Oct, 20 Dec, 7 Mar and 12 May. There may also be a summer exam in August 2008. The December exam is the main exam for T-79.1001 and the October exam is the main exam for T-79.1002.

To participate in an exam, you must first complete your personal computer-aided Regis exercises. See the exam requirements. Remember also to register for the exam.

Grading: Exam max 40 points, tutorials -1...+2 points. Min passing grade approx. 50% of exam max, highest grade (5) approx 90%. In the case of "close call" failures (at most 2 points below passing) despite serious study effort (at least half of the tutorial exercises done), there is a possibility of getting a passing grade by successfully solving additional problems. To discuss this option, please contact the lecturer after the exam has been graded.

Bonus points earned from the tutorials are added directly to the exam points, and may change the exam grade from failing to passing or vice versa. Bonus points earned from computerized assignments completed on time (see the info page) are only added afterwards to a passing exam grade, and may thus help to increase the grade, but not pass the course. Note that the computerized assignments must in any case be completed before the exam, and extra points are awarded only for completion by the bonus deadline.


Material

  • Lecture Notes: Typeset lecture notes (in Finnish) distributed by Edita.
  • Textbook(s): The recommended English textbook for the course is M. Sipser, Introduction to the Theory of Computation (PWS Publishing 1997). The book is reader-friendly and insightful, so it can be recommended also for Finnish-speaking students as support material. The former recommended text, H. Lewis and C. Papadimitriou, Elements of the Theory of Computation (Prentice Hall 1998) is being phased out. 
  • Supporting material:
    • Demonstration problems and their solutions from the tutorials will be provided with the lecture notes; updates available as the course progresses.
    • Some of the material will be available also via this web page. Please avoid unnecessary printing of this material to save printers, paper and thus nature !!!
    • A short introduction to set theory and relations (by Tommi Syrjänen, in Finnish, ps/ pdf).
    • An example on determinising a finite-state automaton (by Heikki Tauriainen, in Finnish, ps/ pdf.
    • An introduction to pumping lemmata and their uses (by Tommi Syrjänen, in Finnish, ps/ pdf.
    • Solutions for one old examination (with a somewhat different format than the last exams, however) (25.10.2003), in Finnish, ps/ pdf.

  • Examination requirements are available.
  • Previous exams of the T-79.1002 course

Feedback

Please provide feedback on the course via the DCSE department's course feedback system. at the end of the course.

Links

Some useful and fun links that are related to the course contents, but not part of the official course material.


[TCS main] [Current] [Contact Info] [Personnel] [Research] [Publications] [Software] [Studies] [Links]
Latest update: 31 May 2007. Harri Haanpää