Workbook assignments

 

Please inform me of errors that you find.

Treat “float” like “double”.

Subject to change.

Expect similar questions on exams and final.

 

J &H(chap)      Langsam(section)  

Intro                1.1       Some parts

 

1                      2.1       1-6, 8

                        5.2       1, 2(a, b, d), 3-5, 7, 9

 

2                      2.2       1-7,

                        2.3       1-7, 18, 19 plus as many as you need, 22

                        7          5

                        3.1       1, 2

math.h             2.4       1-6, 8-12        

scientific notation       Do as many as you need. Won’t be tested.

 

3                      3.1       3-7

                        5.1       1, 2, 8, 11, 12-16, 21, 24-26

else                 5.2       8

Cond’l             3.1       8a, b, d

 

4         

Char                5.2       10

Nested loops   5.3       1-3

7          6

            const                2.4       7

           

5                      8.1       1, 4, 5, 7, 8, 10-20

                        8.2       1, 2, 4-11

                       

6

Nested if         3.2        1-6

Logical ops    

                        8.2       14, 15

3.3       1-15

                        5.1        17

                        5.3       5-8

Do While        5.4        1-3, 5, 8-11

(see paragraph before answer to 57)

Bool                8.1       2

                        8.2       16

 

 7                     9.1       1-5, 8-15,

                                    16 (Better style to process first element before loop,   

                                    Assume at least one element),

                                    17-19, 23, 27,

                                    20, 21, 24, 28.

                        8.3       1, 2(a), 3-5, 7, 8, 11

                                     

 

8                      11.1     1-6, 9

                        11.2     1-4, 6-11 (no replace() -- questions like these are often on the final), 13                                            

 

3.4       6

                        5.1       3, 4, 18

                        5.2       6

                        6.1       14

                        9.1       22, 26

                        10.2     4 (assumes we did chapter 9)

Char functions7           15, 17, 18

 

9                      10.1     1-3, 4 is nice but long, 5

                        10.2     2 (should refer to exercise 1)

 

10                    12.1     1-9

                       

Binary& Hex   14.1 and 14.2  all except 9 h&l