Skip to content

Commit 6901b47

Browse files
committed
Minor fixes
1 parent 83c2a0e commit 6901b47

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

manuscript/BashScripting/arithmetic-expression.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ Table 3-16 shows the two's complement representation of some numbers.
189189
{caption: "Table 3-16. The two's complement of the signed integers", width: "70%"}
190190
| Decimal | Hexadecimal | Two's Complement |
191191
| --- | --- | --- |
192+
| -128 | 80 | 1000 0000 |
192193
| -127 | 81 | 1000 0001 |
193194
| -110 | 92 | 1001 0010 |
194195
| -60 | C4 | 1100 0100 |
@@ -199,7 +200,7 @@ Table 3-16 shows the two's complement representation of some numbers.
199200
| 110 | 6E | 0110 1110 |
200201
| 127 | 7F | 0111 1111 |
201202

202-
The memory capacity stays the same when you switch from SMR to the two's complement. One byte can store the numbers from -127 to 127.
203+
The memory capacity increases by one unit when you switch from SMR to the two's complement. It happens because there is only one way to represent zero. Therefore, one byte can store the numbers from -128 to 127.
203204

204205
Here is an example of adding numbers 14 and -8. First, you should write them in the two's complement this way:
205206
{line-numbers: false}

manuscript/finalwords.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ Table 5-1 will help you to find the right programming language for your applied
4747
| | |
4848
| [Web applications](https://en.wikipedia.org/wiki/Web_application) ([back end](https://en.wikipedia.org/wiki/Front_end_and_back_end)) | JavaScript, Python, Ryby, Perl, C#, Java, Go |
4949
| | |
50-
| [High Load Systems](https://en.wikipedia.org/wiki/Server_(computing)) | C++, Python, Ruby, SQL |
50+
| [High Load Systems](https://en.wikipedia.org/wiki/Server_(computing)) | C++, Rust, Python, Ruby, SQL |
5151
| | |
5252
| [System administration](https://en.wikipedia.org/wiki/System_administrator) | Bash, Python, Perl, Ruby |
5353
| | |
54-
| [Embedded systems](https://en.wikipedia.org/wiki/Embedded_system) | C, C++, Assembler |
54+
| [Embedded systems](https://en.wikipedia.org/wiki/Embedded_system) | C, C++, Rust, Assembler |
5555
| | |
5656
| [Machine learning ](https://en.wikipedia.org/wiki/Machine_learning) and [data analysis](https://en.wikipedia.org/wiki/Data_analysis) | Python, Java, C++ |
5757
| | |

0 commit comments

Comments
 (0)