Exercise · Volume 1 · 1.3.1-15
Exercise 1.3.1-15
not stated yet in Lean solution written
| Rating | 10 |
|---|---|
| Kind | K3, find a value: compute a number, a set or a closed form from the written solution |
| Section | Section 1.3.1 of Volume 1. Companion chapter: Description of MIX |
The task
Give the number of characters in one block of a typewriter or paper tape, a card reader or punch, and a line printer.
The exact wording is in your copy of the book.
Hints
Open one hint at a time. Try the exercise again after each.
Hint 1
A block is a number of words. Look up the block sizes in the table of input-output units in Section 1.3.1.
Hint 2
One word holds five characters.
Solution
Show the solution
A typewriter or paper-tape block has words, a card block has words, and a line-printer block has words. With five characters in a word the numbers of characters are , and .
Check
python3: [5*k for k in (14, 16, 24)] gives [70, 80, 120]. These are the line lengths of a typewriter, a card and a printer.
Remarks
The three results are the familiar widths of a line: 70, 80 and 120 columns.
This solution is drafted, and a person has not reviewed it yet. The source.
In Lean
not stated yet The exercise is not stated in Lean yet.
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.