Division of Electronic and Software Engineering
Module Coordinator and Practical Tutor:
Timetable 2001/2002 semester 1:
Thurs 17:30 - 18:30 L230 R.Kay
Thurs 18:30 - 20:30 G241 R.Kay
The teaching schedule has needed revision due to problems with availability
of staff and facilities. This will now include the 3 Thursdays
15th, 22nd and 29th of November to cover materials described for weeks 3-5 below, in addition to the 2 evenings already provided, providing 5 evenings of formal teaching:
|Week||Lecture topics||Tutorial topics|
|1||Scalar variables, relational and boolean expressions, use of if-else-unless.||Writing and running simple programs|
|2||Arrays and lists. Iteration using for, while, until, foreach and do. Associative arrays.||Using sequences and arrays|
|3||File input and output, checking file properties and handling multiple files.||Reading from and writing to files|
|4||Regular expressions. Searching for patterns in data and substituting text.||Using regular expressions|
|5||Use of built-in and DIY functions. Variable scope and Perl packages.||Writing modular programs|
1. Learning Perl, Randal L. Schwarz. Published by: O'Reilly & Associates.
2. Programming Perl, Wall, Christiansen and
Schwarz. Published by: O'Reilly & Associates.
Assessment: The assignment requires students to design and develop a Perl program, the specification of which must be agreed in advance, making appropriate use of 5 of the following 6 Perl facilities:
a. if or unless.
Students will be asked to demonstrate programs they have designed and developed and provide printed copies of source codes. Students will be expected to answer some questions about usages of programming statements within their submitted program.
The excercise sheets provided for tutorial use include some program specifications which are considered suitable. Students may prefer to create their own specification, but in either case I must agree the specification of the program to be designed by the student before accepting that this completed program will meet the criteria stated above.