Spring 2020 - CMPT 129 D100

Introduction to Computing Science and Programming for Mathematics and Statistics (3)

Class Number: 6724

Delivery Method: In Person

Overview

  • Course Times + Location:

    Jan 6 – Apr 9, 2020: Mon, Wed, Fri, 3:30–4:20 p.m.
    Burnaby

  • Exam Times + Location:

    Apr 22, 2020
    Wed, 8:30–11:30 a.m.
    Burnaby

  • Prerequisites:

    CMPT 102 or CMPT 120.

Description

CALENDAR DESCRIPTION:

A second course in computing science and programming intended for students studying mathematics, statistics or actuarial science and suitable for students who already have some background in computing science and programming. Topics include: a review of the basic elements of programming: use and implementation of elementary data structures and algorithms; fundamental algorithms and problem solving; basic object-oriented programming and software design; computation and computabiiity and specification and program correctness. Students with credit for CMPT 125 or 135 may not take this course for further credit. Quantitative.

COURSE DETAILS:

This course is a rigorous introduction to computing science and computer programming aimed at students who have already completed a basic computing science or programming course. Students will learn fundamental concepts of computing science as well as develop basic skills in software development, with application to problems in mathematics and allied areas.

Topics

  • C/C++ review of ifs/loops, basic input and output using C++
  • Writing simple functions, arguments passed by value and by reference
  • File input and output, error handling,
  • 1 and 2-D arrays
  • Pointers, dynamic allocation of arrays, using arrays as function arguments
  • Recursion
  • Linear and binary search, algorithms for methods of sorting, Empirical comparison of sorting methods
  • Introduction to classes
  • Data structures (some as examples of classes), stacks, hash tables, linked lists

Grading

  • Labs 5%
  • Assignments 20%
  • Midterms 30%
  • Final 45%

Materials

MATERIALS + SUPPLIES:

  • Starting Out with C++: From Control Structures through Objects, 9th Edition, Gaddis, Pearson, 2017, 9780134498379

REQUIRED READING:

  • Starting Out with C++: From Control Structures through Objects, 9th Edition, Gaddis, Pearson, 2017

ISBN: 9780134498379

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

ACADEMIC INTEGRITY: YOUR WORK, YOUR SUCCESS