CIS 1.5 Homework Problems


Chapter 1: First C++ Program

          1,2,5,7,12

          Program #24 (Print 1 to 100)


Chapter 2: Evaluating an Expression

          1 (exclude part b),2,3,8,11,12,21,24

          Link to: Chapter 2 Programming Assignment


Chapter 3: Reading a Set of Data

          1,2,4,8,10,15,17,19,21

          Program #62 (Exam Statistics)


Chapter 4: Summation, Constants, Nested Loops, ...

          1,4,5,7


Chapter 5; Functions

          1,3,5,7,9,36,41

          Program #33 (Bowling Scores)


Chapter 6: Control Structures

          1,3,4,5,10,11,13,18,23,25

          Program #50 (Calculator)


Chapter 7: Arrays

          1,2,3,4,7,8,17,19

          Link to: Revised Program #33 (Bank Accounts)


Chapter 7 cont.: Reference Variables

          44

          Program #47 (Count Zeros)


Chapter 8: Strings

          1,2,3,5,7,9,11,13,18,19,20,22,37

          Program #50 (Word Count)


Chapter 9: Sorting and Searching

          1,2,5,8,27

          Program #25 (Donations)


Chapter 10: Simple Classes

          1,3,4,8,13,14,17