## CIS 40

### CodeLab Assignments

The section numbers are the section numbers in CodeLab;
they are sometimes different than the sections in our book,
perhaps due to use of a different edition of the book
by the CodeLab people.

### Assignment A

- Section 2.2 do 4 of the first 6 exercises
- Section 2.5 do 10 of the exercises
- Section 2.6 do 10 of the exercises
- Section 2.8 do 3 of the exercises

### Assignment B

- Section 3.1 do 8 of the exercises
- Section 3.2 do 5 of the exercises
- Section 3.4 do 1 of the exercises
- Section 3.11 do 7 of the exercises

### Assignment C

- Section 5.1 do 2 of the exercises
- Section 5.2 do 10 of the exercises
- Section 5.3 subsections
- Basics: do 4 of the exercises
- Negation: do 2 of the exercises
- char range: do 4 of the exercises
- Numeric range: do 1 of the exercises

- Section 5.4 do 3 of the exercises
- Section 5.5 do 4 of the exercises
- Section 5.6 do 3 of the exercises
- Section 5.8 do 0 omit

### Assignment D

- Section 6.1 do 7 exercises
- Chapter 7 subsetions (you may wish to do some of the omitted subsections later):
- Loops: do 2 of the exercises
- Numeric loops: do 3 of the first 8 exercises
- Loops and sequences: do 0 omit
- Loops more advanced: do 0 omit
- for loops: do 4 of the exercises
- Functions with loops: do 0 omit
- Input loops: do 2 of the first 9 exercises

### Assignment E

- Section 8.1 do 4 of the exercises
- Section 8.4 do 0 omit
- Section 8.7 do 0 omit
- Section 8.8 do 0 omit

### Assignment F

- Chapter 10 setions:
- 10.1: do 3 of the exercises
- 10.2: do 9 of the exercises
- 10.3: do 0 optional
- 10.4: do 2 of the exercises
- 10.5: do 4 of the exercises
- 10.6: do 2 of the exercises
- 10.7: do 0 omit
- 10.8: do 3 of the exercises

- Chapter 11:
- 11: do 0 omit
- 11.2: do 0 omit
- 11: do 0 omit

- Chapter 12: do 0 omit
- Chapter 14: 4 of the first 6 exercises

### Assignment G

- Chapters 15 and 16: do 4 of the first 6 exercises