Fall 2021 - CMPT 225 D100

Data Structures and Programming (3)

Class Number: 4527

Delivery Method: In Person


  • Course Times + Location:

    Mo, We, Fr 10:30 AM – 11:20 AM
    SWH 10081, Burnaby

  • Exam Times + Location:

    Dec 18, 2021
    12:00 PM – 3:00 PM
    AQ 3182, Burnaby

  • Prerequisites:

    (MACM 101 and (CMPT 125, CMPT 129 or CMPT 135)) or (ENSC 251 and ENSC 252), all with a minimum grade of C-.



Introduction to a variety of practical and important data structures and methods for implementation and for experimental and analytical evaluation. Topics include: stacks, queues and lists; search trees; hash tables and algorithms; efficient sorting; object-oriented programming; time and space efficiency analysis; and experimental evaluation. Quantitative.


This course will explore ideas of data and program organization that can help in developing elegant and efficient solutions to complex tasks. The primary topics are abstract data types (ADTs) to help manage the complexity of programs, and data structures to support efficient algorithms. We will study the specification, analysis, implementation (in C++), experimental evaluation, and application of fundamental ADTs and data structures. We will also study fundamental searching and sorting algorithms. (Lectures will be available for streaming online. Live online help time will be during scheduled lecture times, and possibly some other times. Tests will be online, so a suitable room and computer with internet access will be needed.)



  • Abstract data types (abstraction, encapsulation, information hiding).
  • Data structures: arrays, lists, stacks, queues, trees, heaps, sets, search trees, hash tables.
  • Algorithms: searching and sorting; correctness and efficiency.
  • Programming: object-oriented programming for ADT re-use; efficient implementation.



Assignment and lab activities (30%); midterm tests (45%); final exam (25%). Details will be provided in a course outline distributed in the first week of classes, which may supersede this grading scheme. Students must attain an overall passing grade on the programming portions of assignments in order to obtain a clear pass (C- or better).

Students must attain an overall passing grade on the weighted average of exams in the course in order to obtain a clear pass (C- or better).



  • Data Structures & Algorithm Analysis in C++, 4th Edition, Mark A. Weiss, Pearson, 2014, 9780132847377 Cheaper as an EPub (ISBN 9780133859638) or the Kindle version.

ISBN: 9780132847377

Registrar Notes:


SFU’s Academic Integrity web site http://www.sfu.ca/students/academicintegrity.html is filled with information on what is meant by academic dishonesty, where you can find resources to help with your studies and the consequences of cheating.  Check out the site for more information and videos that help explain the issues in plain English.

Each student is responsible for his or her conduct as it affects the University community.  Academic dishonesty, in whatever form, is ultimately destructive of the values of the University. Furthermore, it is unfair and discouraging to the majority of students who pursue their studies honestly. Scholarly integrity is required of all members of the University. http://www.sfu.ca/policies/gazette/student/s10-01.html


Teaching at SFU in fall 2021 will involve primarily in-person instruction, with approximately 70 to 80 per cent of classes in person/on campus, with safety plans in place.  Whether your course will be in-person or through remote methods will be clearly identified in the schedule of classes.  You will also know at enrollment whether remote course components will be “live” (synchronous) or at your own pace (asynchronous).

Enrolling in a course acknowledges that you are able to attend in whatever format is required.  You should not enroll in a course that is in-person if you are not able to return to campus, and should be aware that remote study may entail different modes of learning, interaction with your instructor, and ways of getting feedback on your work than may be the case for in-person classes.

Students with hidden or visible disabilities who may need class or exam accommodations, including in the context of remote learning, are advised to register with the SFU Centre for Accessible Learning (caladmin@sfu.ca or 778-782-3112) as early as possible in order to prepare for the fall 2021 term.