M-R 2:00-4:00pm, F 10:00-11:00am CS 31 Bridge – Summer 2008 – UCLA

chuong [at] cs [dot] ucla [dot] edu

News | Syllabus | Homework | Tips

SYLLABUS

Course objective

Prepare you for the official CS 31. We will try to hit as many main topics as possible while making sure you don’t pass out during lectures. We will also talk about some cool technical topics for your entertainment.

Course materials

Will be based on lectures, only. So make sure you take notes.

The official course textbook is Absolute C++, Third Edition, by Walter Savitch, Addison Wesley, 2008. Previous editions of the book are also fine.

You do NOT need the textbook for this CS 31 Bridge class. However, you should buy it if you plan on taking the CS 31 in the Fall 08. You can wait till Winter 09 or Spring 09 if you plan on taking CS 31 in later quarter.

You do NOT need a computer for this CS 31 Bridge class. All the homework will be provided on paper.

You do NOT need internet 24/7. We don’t require you to read online materials. However, you should have internet access at some point in order to read this Syllabus (duhh!!!)

Projects and Homework

There won’t be any programming projects since not all of you have a computer to work on.

There will be take-home homework. You can work in group of 2-3 people for your homework. Talk and discuss among your group. However, write your own answer for the homework. Don’t copy each other (bad!!!)

Schedule

Date
Planned
Actual
Week 1
1. Monday
09/08/08
C++ Basics
- Why C++
- Variables, Expressions, and Assignment Statements
- Console Input/Output

- Comment
-
Libraries and Namespaces
Flow of Control
- Boolean Expressions
- Branching Mechanisms

C++ Basics
- Why C++
- Variables, Expressions, and Assignment Statements
- Console Input/Output

- Comment
-
Libraries and Namespaces
Flow of Control
- Boolean Expressions
- Branching Mechanisms
2. Tuesday
09/09/08
Flow of Control (cont.)
- Loops
Function Basics
– Predefined Functions
– User-Defined Functions
– Scope Rules

Flow of Control (cont.)
- Boolean Expressions
- Branching Mechanisms
3. Wednesday
09/10/08
Parameters and Overloading
- Parameters
– Overloading and Default Arguments
– Testing and Debugging Functions
Flow of Control (cont.)
- Loops
Function Basics
– Predefined Functions
– User-Defined Functions
– Scope Rules
4. Thursday
09/11/08
Arrays
- Introduction to Arrays
– Arrays in Functions
– Programming with Arrays
– Multi-dimensional Arrays
Parameters and Overloading
- Parameters
– Default Arguments
5. Friday
09/12/08
whoohoo — Exam
whoohoo — Exam
Week 2
6. Monday
09/15/08
C Strings
- An Array Type for Strings
- Character Manipulation Tools
C++ Strings
– The Standard Class string
Parameters and Overloading (cont.)
- Overloading

Arrays
- Introduction to Arrays
– Arrays in Functions
– Programming with Arrays
7. Tuesday
09/16/08
Pointers and Dynamic Arrays
- Pointers
– Dynamic Arrays
Arrays (cont.)
- Multi-dimensional Arrays

C Strings
- An Array Type for Strings
- Character Manipulation Tools
C++ Strings
– The Standard Class string
8. Wednesday
09/17/08
Structures and Classes
– Structures
– Classes
Pointers and Dynamic Arrays
- Pointers
– Dynamic Arrays
9. Thursday
09/18/08
Review
Password encryption tool
Password Manager/Generator tool
10. Friday
09/19/08
what!!! — another Exam
what!!! — another Exam