Spring 2022 - CMPT 125 D200
Introduction to Computing Science and Programming II (3)
Class Number: 6244
Delivery Method: In Person
Course Times + Location:
Mo 4:30 PM – 6:20 PM
SSCC 9001, Burnaby
We 5:30 PM – 6:20 PM
SSCB 9201, Burnaby
Exam Times + Location:
Apr 26, 2022
7:00 PM – 10:00 PM
GYM CENTRAL, Burnaby
Prerequisites:CMPT 120 or CMPT 130, with a minimum grade of C-.
A rigorous introduction to computing science and computer programming, suitable for students who already have some background in computing science and programming. Intended for students who will major in computing science or a related program. Topics include: memory management; fundamental algorithms; formally analyzing the running time of algorithms; abstract data types and elementary data structures; object-oriented programming and software design; specification and program correctness; reading and writing files; debugging tools; shell commands. Students with credit for CMPT 126, 129, 135 or CMPT 200 or higher may not take this course for further credit. Quantitative.
This course is a rigorous introduction to computing science, intended primarily for students who have already taken CMPT 120 as an introduction to algorithms and programming. Students will learn fundamental concepts of computing science and basic principles of algorithm design and software development. All case studies will be presented using a C and C++.
- Brief review of elementary programming and problem solving; introduction to C.
- Performance measurements; algorithm design and analysis; asymptotics; fundamental algorithms.
- Encodings of basic types: int, unsigned, float, char, pointer.
- The memory model: addresses, dynamic data types, safe initialization, safe cleanup, and safe arrays.
- Good coding style; defensive coding practices; testing.
- Recursion: simple recursion; recursion on trees; divide and conquer algorithms.
- Reasoning about programs: assertions, invariants, and correctness.
- Abstract data types; information hiding;
- Elementary data structures: stacks, queues, binary trees
- Compound data types; basic object/method design in C++.
To be discussed the first week of classes
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).
ACADEMIC INTEGRITY: YOUR WORK, YOUR SUCCESS
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 SPRING 2022
Teaching at SFU in spring 2022 will involve primarily in-person instruction, with safety plans in place. Some courses will still be offered through remote methods, and if so, this 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 (email@example.com or 778-782-3112) as early as possible in order to prepare for the spring 2022 term.