This shows you the differences between two versions of the page.

Both sides previous revision Previous revision | |||

cs-236:homework-8 [2017/11/09 17:29] brob144 [Problems] |
cs-236:homework-8 [2017/11/21 11:38] (current) kylej13 [Problems] |
||
---|---|---|---|

Line 15: | Line 15: | ||

==Problems== | ==Problems== | ||

All problems are worth 3 points and reference problems in the course text. International book problems switch from chapter 9 to be chapter 7. The number is the same on all but the last as noted. | All problems are worth 3 points and reference problems in the course text. International book problems switch from chapter 9 to be chapter 7. The number is the same on all but the last as noted. | ||

- | # (6 points) 9.5.2 | + | # (5 points) 9.5.2 |

# (4 points) 9.5.16 (''ad'' = ''bc'' is multiplication and not concatenation) | # (4 points) 9.5.16 (''ad'' = ''bc'' is multiplication and not concatenation) | ||

# (1 points) 9.5.22 | # (1 points) 9.5.22 | ||

Line 27: | Line 27: | ||

# (3 points) 9.6.16 (the symbol in part c is lexicographic comparison) | # (3 points) 9.6.16 (the symbol in part c is lexicographic comparison) | ||

# (1 points) 9.6.20 | # (1 points) 9.6.20 | ||

- | # (3 points) 9.6.22 | + | # (4 points) 9.6.22 |

# (4 points) 9.6.34 (| is the divisibility operator, a|b is true if and only if b is a multiple of a) | # (4 points) 9.6.34 (| is the divisibility operator, a|b is true if and only if b is a multiple of a) | ||

# (4 points) 9.6.44 | # (4 points) 9.6.44 |