Fall 2020 - CMPT 130 D200

Introduction to Computer Programming I (3)

Class Number: 6222

Delivery Method: In Person


  • Course Times + Location:

    Mo, We, Fr 2:30 PM – 3:20 PM

  • Exam Times + Location:

    Dec 10, 2020
    3:30 PM – 6:30 PM

  • Prerequisites:

    BC Math 12 (or equivalent, or any of MATH 100, 150, 151, 154, or 157).



An introduction to computing science and computer programming, using a systems oriented language, such as C or C++. This course introduces basic computing science concepts. Topics will include: elementary data types, control structures, functions, arrays and strings, fundamental algorithms, computer organization and memory management. Students with credit for CMPT 102, 120, 128 or 166 may not take this course for further credit. Students who have taken CMPT 125, 129 or 135 first may not then take this course for further credit. Quantitative/Breadth-Science.


In this course you will learn computer science concepts and solve real-world problems using the C++ programming language. You will learn programming techniques in lecture, have plenty of help to initially apply them in labs, and then use them to complete assignments. Some assignments will allow you to work with a partner (if you choose) to expand your skills. Once you have successfully completed the course, you will have the necessary skills to program the computer to solve interesting problems. Plus, you will appreciate and write quality code. This class's lectures, labs, office hours and exams will be 100% online. Some components of the class may be shared with another section of the course. Details released during the first week of class. To complete this class, you must: 1) either have a computer which can run CLion (free to install on Windows, MacOS, Linux), or have a computer and sufficient bandwidth to connect to SFU's CSIL computers (PC's running Linux) and remotely run the program; directions provided by the instructor. 2) a stable internet connection for watching lectures (either streaming real-time, or playback after the fact), completing online labs, in-class quizzes, and in-class exams.


  • Elementary programming: data types and basic input and output
  • Functions: function libraries, passing parameters, returning values, the call stack
  • Control structures: Boolean logic, if statements, loops
  • Aggregate Data Types: arrays, strings, records
  • Dynamic memory: pointers and addresses, and allocation of dynamic memory
  • File input and output
  • Errors and debugging



Some combination of labs, assignments, exams (midterm and/or final), and in-class quizzes. Details to be announced first week of class.

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).



Reference Books

  • Starting Out with C++ From Control Structures to Objects 9th Edition, Tony Gaddis, Pearson Education, 9780134498379
  • Programming, Principles and Practice Using C++, Bjarne Stroustrup, Addison-Wesley, 2014, 9780321992789


Problem Solving with C++
10th ed.,
Walter Savitch,
Earlier editions OK; eBook versions may be significantly cheaper
ISBN: 9780134448282

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 2020 will be conducted primarily through remote methods. There will be in-person course components in a few exceptional cases where this is fundamental to the educational goals of the course. Such course components will be clearly identified at registration, as will course components that will be “live” (synchronous) vs. at your own pace (asynchronous). Enrollment acknowledges 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. To ensure you can access all course materials, we recommend you have access to a computer with a microphone and camera, and the internet. In some cases your instructor may use Zoom or other means requiring a camera and microphone to invigilate exams. If proctoring software will be used, this will be confirmed in the first week of class.

Students with hidden or visible disabilities who believe they may need class or exam accommodations, including in the current context of remote learning, are encouraged to register with the SFU Centre for Accessible Learning (caladmin@sfu.ca or 778-782-3112).