Preview

Nt1310 Unit 1 Assignment

Better Essays
Open Document
Open Document
1994 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Nt1310 Unit 1 Assignment
Task1 (P1)
Produce a leaflet for a trainee programmer which explains the following:
Why the knowledge of the binary numbering system is essential * The binary numbering system plays a central role in how information of all kinds is stored on the computer. Understanding binary can lift a lot of the mysteries from computers because at a fundamental level they're really just machines for flipping binary digits on and off. There are several activities on binary numbers in this document, all simple enough that they can be used to teach the binary system to anyone who can count! Generally children learn the binary system very quickly using this approach, but we find that many adults are also excited when they finally understand what bits
…show more content…
For example, the capital letter A is ASCII character 65, the numeral 2 is ASCII 50, the character} is ASCII 125 and the metacharacter carriage return is ASCII 13. Systems based on ASCII use seven bits to represent these values digitally. In contrast, most computers store data in memory organized in eight-bit bytes. Files that contain machine-executable code and non-textual data typically contain all 256 possible eight-bit byte values. Many computer programs came to rely on this distinction between seven-bit text and eight-bit binary data, and would not function properly if non-ASCII characters appeared in data that was expected to include only ASCII text. For example, if the value of the eighth bit is not preserved, the program might interpret a byte value above 127 as a flag telling it to perform some function. It is often desirable, however, to be able to send non-textual data through text-based systems, such as when one might attach an image file to an e-mail message. To accomplish this, the data is encoded in some way, such that eight-bit data is encoded into seven-bit ASCII characters (generally using only alphanumeric and punctuation characters—the ASCII printable characters). Upon safe arrival at its destination, it is then …show more content…
(Do not just look up the value in a table or use a calculator) | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 | Binary | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | Hexadecimal | 5 | 3 |
1. Convert 99 decimal, first to binary and then to hexadecimal

2. Convert 99 hexadecimal, first to binary and then to decimal | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 | Binary | 9 | 9 | Hexadecimal | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 1 |

3. Add 48 decimal to 51 decimal using the binary arithmetic; Give the answer in decimal. | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 | 48 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 51 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 99 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 1 |

4. Subtract 99 decimal from 48 decimal using the two’s complement method | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 | 48 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 99 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 1 |

5. Convert 32 decimal to binary floating point. Use a 6 bit mantissa and a 4 bit exponent. | 512 | 256 | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1

You May Also Find These Documents Helpful