CS 13A - Course Outline
Instructor: R. Sturm
Office: F107
Phone: (718)368-5464

Text: Starting Out with C++ by Tony Gaddis

 

Chapter

Suggested Exercises

Chapter 2 - Introduction to C++
        sec: 2.1, 2.2, 2.3, 2.6-2.8, 2.10, 2.12

2.9,2.15,2.16,2.22,2.24,2.25

Chapter 3 - Expressions and Interactivity
        sec: 3.1, 3.3, 3.5

3.1,3.4,3.5,3.6,3.8,3.9,3.14,3.15,3.16

Chapter 4 - Making Decisions
        sec: 4.2, 4.4-4.6, 4.13

4.6,4.8,4.9,4.12,4.13,4.15,4.17

Chapter 5 - Looping
        sec: 5.2-5.4, 5.7, 5.9, 5.10, 5.11

5.2,5.3,5.7ABC,5.10,5.12,5.13,5.14,5.15,5.16,5.17

Chapter 6 - Functions
        sec: 6.1-6.5, 6.7, 6.8, 6.10-6.14

program 6-10, 6.5,6.6,6.7,6.9,6.16,6.17,6.18,6.22,6.23,6.26

Chapter 7 - Arrays
        sec: 7.1, 7.2, 7.4, 7.5, 7.8, 7.9, 7.10, 7.11

7.5,7.6,7.9,7.11,7.14,7.15,7.16,7.17,7.18

Chapter 8 - Searching and Sorting Arrays
        sec: 8.1

Chapter 9 - Pointers
        sec: 9.1-9.7

9.1,9.3,9.4,9.5,9.6,9.7,9.8,9.10,9.11,9.12,9.13,9.15

Chapter 10 - Characters and Strings
        sec: 10.3, 10.4

10.7,10.8,10.10

Chapter 11 - Structured Data
        sec: 11.2-11.9

11.1,11.2,11.4,11.6,11.9,11.10,11.11,11.12,11.13,11.14,11.16,11.17

Chapter 12 - File Operations
        sec: (optional)

Chapter 13 - Introduction to Classes
        sec: 13.1-13.11, 13.13, 13.14, 13.15

13.4,13.5,13.7,13.10,13.11,13.16,13.17,13.18,13.19,13.21,13.22,13.23,13.24

Chapter 14 - More About Classes
        sec: 14.1-14.5, 14.8

14.1,14.2,14.3,17.7,14.8,14.9,14.10,14.11,14.12,14.13,14.17,14.18

Chapter 15 - Inheritance, Polymorphism and Virtual Functions
        sec: (optional)

 

Chapter 16 - Exceptions, Templates and the STL
        sec: 16.2, 16.4

16.6,16.7,16.11

Chapter 17 - Linked Lists
        sec: 17.1-17.3

Chapter 18 - Stacks and Queues
        sec: 18.2, 18.5

Chapter 19 - Recursion
        sec: 19.1, 19.2, 19.3

 

Chapter 20 - Binary Trees
        20.1, 20.2