Time of Lectures: | TuTh 8:30 - 9:45 |
Room: CL 408 | ||
Instructor: | M. Mouhoub | Office: CW 308.13 | ||
Office hours: | M 2:00-3:00 and TuTh 10:00-11:00 or by appointment |
|||
Text: | Data Structures and Algorithms Analysis in C++, | |||
2nd edition, by Mark Allen Weiss | ||||
Method of Evaluation : | Assignments and Projects | 30% | ||
Midterm Exam | 30% | |||
Final Exam | 40% | |||
Topics (as time permits)
Motivation of the course :
The most important property to express of any entity in a system is its type. In this course we deal with entities that are structured objects (e.g., an object that is a collection of other objects). When determining its type, the kinds of distinguishing properties include :
During this course Abstract Data Types are used to represent these properties. The implementation using object oriented programming is then straight forward.
- Ordering : are elements ordered or unordered ? If ordering matters, is the order partial or total ? Are elements removed FIFO (queues), LIFO (stacks), or by priority (priority queues) ?
- Duplicates : are duplicates allowed ?
- Boundedness : is the object bounded in size or unbounded ? Can the bound change or it is fixed at creation time ?
- Associative access : are elements retrieved by an index or key ? Is the type of the index built-in (e.g. as for sequences and arrays) or user-definable (e.g. as for symbol tables and hash tables) ?
- Shape : is the structure of the object linear, hierarchical, acyclic, n-dimensional, or arbitrarily complex (e.g. graphs, forests) ?
Notes and Policies
1.Information about the course appears
in this Web page. Changes will be made here and/or posted to the course
mailing list (CS340@cs.uregina.ca).
2.Late assignments are not accepted for
any reason and will receive 0 points, except for extensions granted to the
entire class.
3.Basic concepts on recursion, ADTs
List, Stack, Queue, Tree and OO concepts are strongly recommanded for this
course.
4.You can discuss the assignment with
other students but MAY NOT read, copy, or exchange other student's code.
5.Out-of-class help is available from
your Professor and can take one of the following ways of communication:
1.face to face:
please respect in this case the office hours posted in this web page and
on office door,
2.through email
to the instructor
3.or using the
course mailing list.
6.Attendence is expected in lectures. Little
time is available to assist those who have missed relevant classes.
7.The midterm exam is closed book and
will be given during the regular lecture meeting time in the regular
classroom.
8.The final exam is closed book and will be
cumulative, but with more emphasis on material covered after the midterm.
9. You must pass the final exam in order to
pass the course.
About the slides
All slides are in PDF and compressed("gzipped") Postscript (.ps.gz).
To view Postscript under MS-Windows you need to install :
1. Ghostscript:
the interpreter of the Postscript language
2. and
gsview : the corresponding previewer .
The above tools + tools for other systems/platforms are available in the
following web page : Ghostscript
and GSview
Up: teaching