CMPT 102
Introduction to Scientific Computer Programming
(Spring 2012)

 

 

 

Classroom: AQ 5016

Instructor: Binay Bhattacharya (Office: TASC I, Room 8017, e-mail: binay@cs.sfu.ca, phone: (778)782-3133)

TA: Lei Zhang, e-mail: Lei Zhang


Office hours (Binay): MWF 11:00 noon--12:00pm

Office hours (in CSIL Lab) (TA): MTh 2:00 to 3:30pm Monday and Thursday



Messages/Hand-outs


  • Quiz #3: April 11, 2012
  • Homework 3 is assigned
  • Feb 29--Quiz #2: March 19, 2012
  • Feb.23--Assignment 2 is assigned; Date due: March 9, 2012
  • Quiz #1: February 10,2012.
  • Jan. 18: Homework 1 is assigned

    Lectures

    12:30-1:20, Monday, Wednesday, Friday

     

    Week

    Date

    Topics

    Reference

    1

    06/01 Course plan 1-Lec.pdf

    2

    09/01

    Introduction to Programming

    2-Lec.ppt
    11/01 Chapter 2 3-Lec.ppt
    13/01 Class in CSIL  

    3

    16/01

    Finishing Chapter 2

    4-Lec.ppt
    18/01 Plotting: 5.1 5.2 5-Lec.ppt
    20/01 Finish Chapter 2 and starting Chapter 3: Lecture will be held in AQ5016

    4

    23/01

    Chapter 3 (Built-in functions)

    7-Lec.ppt
    25/01 Finishing Chapter 3
    27/01 Problem solving session; Lecture in CSIL Lab

    5

    30/01

    Starting Chapter 4 (Matrices)

    10-Lec.ppt
    01/02 Chapter 4 (contd)
    03/02 Problem solving session; Lecture in CSIL Lab

    6

    06/02

    Finished Chapter 4; Problem Session

    08/02 User-defined functions (Chapter 6) User-defined functions
    10/02 Quiz #1 More Problems

    -

    13/02-17/02

    Reading Break Week

     

    7

    20/02

    Functions (contd.)

    22/02 Functions
    24/02 Problem solving in CSIL lab Description of the problem

    8

    27/02

    For-loops

    for-loops

    29/02 Input/Outpur (Chapter 7) Input/Output
    02/03 Chapter 7 (finished) I/O Exercises Solutions(odd numbered)

    9

    05/03

    Logical Functions and Selection Structures

    Chapter 8-9

    07/03 Chapter 8(contd)
    09/03 Chapter 8(finished)

    10

    12/03

    Chapter 9

    Chapter4,6,7,8,9-Exercises Solutions(odd numbered)
    Data used in the solutions
    14/03 Practice Problems
    16/03 Class in CSIL LAB

    11

    19/03

    Quiz 2

    21/03 Read-Write from files (Section 7.5)

    RW-Lecture
    students.dat

    23/03 Read Write from files

    MoreRW-Lecture

    12

    26/03

    Matrix Operations

    Chapter 10
    28/03 Chapter 10 (cntd.)
    30/03 Rotation Matrix RotationMatrix

    13

    02/04

    Chapter 11(Other Kinds of Arrays)

    Matlab Data Types
    04/04 Chapter 11 (contd.)
    11/04 Quiz 3

     


    Prerequisites


    Literature

    Textbook: "MATLAB for Engineers" by Holly Moore


    Other useful resources:

    [1] "My previous lecture notes " (Complete Set)

    [1] "Brian Funt's Lecture Notes" (Complete Set)


    Coursework

  • Homework 1 hw1.pdf
  • Homework 2 hw2.pptx
  • Homework 3 hw3.ppt