notes/education/computer engineering/ECE1400/Chapter 4 Exercises.md

26 lines
271 B
Markdown
Raw Normal View History

2024-09-15 18:49:50 -06:00
# 1.
a. `1 2`
2024-09-15 18:57:54 -06:00
b. `0`
2024-09-15 19:12:54 -06:00
c. `1`
2024-09-15 19:17:54 -06:00
d. `0`
2024-09-15 18:49:50 -06:00
# 3.
2024-09-15 19:34:27 -06:00
a. `1`
b. `-1`, `-2`
c. `-1`, `-1`
d. `1`, `2`
2024-09-15 18:49:50 -06:00
# 9.
2024-09-15 19:47:35 -06:00
a. `63 8`
2024-09-15 19:57:37 -06:00
b. `1 2 3`
c. `0 1 3`
2024-09-15 20:02:36 -06:00
d. `0 0 0`
2024-09-15 18:49:50 -06:00
# 11.
2024-09-15 20:02:36 -06:00
a. `0 2`
2024-09-15 20:07:36 -06:00
b. `4 11 6`
c. `0 8 7`
2024-09-15 20:12:36 -06:00
d. `15 4 5 4`
2024-09-15 20:02:36 -06:00
2024-09-15 18:49:50 -06:00
# 15.
2024-09-15 20:17:36 -06:00
a. `i = 2, j = 2`
2024-09-15 20:22:36 -06:00
b. `i = 1`, `j = 2`
2024-09-15 20:28:02 -06:00
c. `i = 1`, `j = 2`
d. `i = 1`, `j = 3`