Course Outline - CMPT 130 - Intro to Computer Prog I
Information
Subject
Catalog Number
Section
Semester
Title
Instructor(s)
Campus
CMPT
130
D100
2022 Fall (1227)
Intro to Computer Prog I
Brian Fraser
Surrey Campus
Calendar Objective/Description
Intro to Computer Prog I
Instructor's Objectives
In this course you will learn computer science concepts and solve real-world problems using the C++ programming language. Many of the example programs we will create will show how computer science can be used for good. We will show how programming can help address social, environmental, and health challenges world wide. Our programs for this course won't likely be put into use; however, we'll look at challenges which some SFU CS student-lead projects are going to help address once deployed for active use in the world! This course will use a flipped classroom: each week programming techniques will be taught in a series of online videos. Lecture time will be interactive and focus on writing programs and modelling applied problem solving. After the first week, most Monday lectures will likely be replaced with online recording viewing; Wed/Fri lectures will be in person. Labs will help you initially apply the ideas you have learned with the support of TAs. Assignments will help further build your confidence with problem solving through programming. 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 for good causes.
Prerequisites
see go.sfu.ca
Topics
- 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
Grading
5%: Weekly online comprehension quizzes 10%: Weekly labs 30%: Assignments (~6) 20%: Midterm 35%: Final To be confirmed during the 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, 2017, 9780134498379
- Programming, Principles and Practice Using C++, Bjarne Stroustrup, Addison-Wesley, 2014, 9780321992789
Recommended Books
- Problem Solving with C++, 10th ed., Walter Savitch, Addison-Wesley, 2018, 9780134448282, Earlier editions OK; eBook versions may be significantly cheaper; no need for their digital myLab
Academic Honesty Statement
Academic honesty plays a key role in our efforts to maintain a high standard of academic excellence and integrity. Students are advised that ALL acts of intellectual dishonesty will be handled in accordance with the SFU Academic Honesty and Student Conduct Policies ( http://www.sfu.ca/policies/gazette/student.html ).