summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-01-23 13:11:44 -0700
committermo khan <mo@mokhan.ca>2025-01-23 13:11:44 -0700
commit064ef480b32447f70e270f63d73c4ddc008afa3d (patch)
tree069c2910b4debb595421342d3d3a251cedbfb139
parent26a920f5035c65bdb502618c15f7895823c731dd (diff)
Fix error in assignment 4
-rw-r--r--3431709-assignment-4.pdfbin151514 -> 151523 bytes
-rw-r--r--assignments/4-solution.md10
2 files changed, 5 insertions, 5 deletions
diff --git a/3431709-assignment-4.pdf b/3431709-assignment-4.pdf
index abec136..2e88bc9 100644
--- a/3431709-assignment-4.pdf
+++ b/3431709-assignment-4.pdf
Binary files differ
diff --git a/assignments/4-solution.md b/assignments/4-solution.md
index 08a5f8e..a669ea6 100644
--- a/assignments/4-solution.md
+++ b/assignments/4-solution.md
@@ -70,7 +70,7 @@ Chapter 12:
> 5. Given the Turing machine instruction `(1,1,0,2,L)` and the configuration `...b 1 0 b...` draw the next configuration.
-* `(1,1,0,2,L)` - Move right once and halt
+* `(1,1,0,2,L)` - Move left once and halt the machine
```plaintext
--------|*|----------
@@ -81,9 +81,9 @@ Chapter 12:
```
```plaintext
-----------|*|--------
+------|*|------------
|.|.|.|b|0|0|b|.|.|.|
-----------|*|--------
- ^
- |- 2
+------|*|------------
+ ^
+ |- 2
```