PIC 10A Spring 2016 (Section 1C)
- TA: Eric Kim
- Section Time: Tuesday/Thursday, 8:00-8:50 AM (MS 6201)
- Office Hours: (in MS 2000, ie PIC Computer Lab, the basement of Math & Sciences Building)
- Link to course page: PIC 10A
- Link to lecture recordings (BruinCast): Link
- Discussion Notes
- Week 1a:
- Week 1b:
- Topics: Computer hardware, compilers
- Slides
- Week 2a
- Topics: Programming languages, compilation process, libraries, namespaces, first C++ program, escape characters
- Slides
- Week 2b
- Week 3a
- Topics: Variables, static_cast, operators (x++, x*=3, a%b, etc.), numerical issues (overflow/underflow, roundoff-errors), user input (cin, getline).
- Slides
- Week 3b
- Week 4a
- Topics: strings, const, references, IO manipulation (setw, setfill, setprecision, left, right, fixed, scientific), cmath functions (sqrt, pow, etc), converting mathematical expressions into C++ code.
- Notes (Solutions)
- Solutions Code
- Week 4b
- Week 5a
- Topics: Class interfaces, header files, include guards, logic operators (&&, ||, etc), if-statements.
- Notes
- Week 5b
- Topics: Class interfaces, header files, include guards, logic operators (&&, ||, etc), if-statements, MT2 review
- Problems (Solutions)
- Week 6a
- Topics: Midterm 2 post-review
- Week 6b
- Week 7a
- Week 7b
- Week 9b
- Week 10b
- Topics: Default function arguments, set, template functions, file streams, string streams, pair.
- Problems (Solutions)