We use cookies to give you the best experience possible. By continuing we’ll assume you’re on board with our cookie policy

Data Representation

essay
The whole doc is available only for registered users
  • Pages: 5
  • Word count: 1127
  • Category: Computers

A limited time offer! Get a custom sample essay written according to your requirements urgent 3h delivery guaranteed

Order Now

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 and bytes really are. * How binary numbers can represent decimal numbers

* In mathematics and computer science, the binary numeral system, or base 2, represents numeric values using two digits 0 and 1. The 0 and 1 is the off and on states of the switches with 0 being the off state. Because of its straightforward implementations in electronic circuitry using logic gates the binary system is used internally by all modern computers and computer based devices like mobile phones. Any number can be represented by a sequence of bits (binary digits), which in turn may be represented by any mechanism capable of being in two mutually exclusive states. The following sequence of 1s and 0s is interpreted as the binary numeric value of 667: 1 0 1 0 0 1 1 0 1 1. The numeric value represented in each case is dependent upon the value assigned to each symbol. In a computer, the numeric values may be represented by two different voltages; on a magnetic disk, magnetic polarities may be used. A “positive”, “yes”, or “on” state is not necessarily equivalent to the numerical value of one; it depends on the architecture in use. * Why hexadecimal is a useful numbering system

* A big problem with the binary system is verbosity. To represent the value 202 requires eight binary digits. The decimal version requires only three decimal digits and, thus, represents numbers much more compactly than does the binary numbering system. This fact was not lost on the engineers who designed binary computer systems. When dealing with large values, binary numbers quickly become too unwieldy. The hexadecimal (base 16) numbering system solves these problems. Hexadecimal numbers offer the two features: * hex numbers are very compact

* It is easy to convert from hex to binary and binary to hex. * The Hexadecimal system is based on the binary system using a Nibble or 4-bit boundary. In Assembly Language programming, most assemblers require the first digit of a hexadecimal number to be 0, and place an “h” at the end of the number to denote the number base. * How text can be represented in a computer system

* The ASCII text-encoding standard uses 128 unique values (0–127) to represent the alphabetic, numeric, and punctuation characters commonly used in English, plus a selection of control codes which do not represent printable characters. 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 decoded back to its eight-bit form. This process is referred to as binary to text encoding. Many programs perform this conversion to allow for data-transport, such as PGP and GNU Privacy Guard (GPG).

For each logic gate you use, describe its operation and provide a truth table. · Create a truth table for the half adder and explain how it can be used in binary addition. · Describe what the problem is with a half adder and how it can be modified to perform full binary addition. Draw the logic gates and create a truth table for your solution. Task 5 (M1)

Add an extra page to the leaflet you produced in task 1. On this page you must: 1. Explain, using examples, how decimal numbers can be represented in standard form a. Standard form is a way of writing down very large or very small numbers easily. 103 = 1000, so 4 Ă— 103 = 4000. So 4000 can be written as 4 Ă— 10Âł. This idea can be used to write even larger numbers down easily in standard form. b. Small numbers can also be written in standard form. However, instead of the index being positive (in the above
example, the index was 3), it will be negative. c. The rules when writing a number in standard form is that first you write down a number between 1 and 10, and then you write Ă— 10(to the power of a number). d. Example

e. Write 81 900 000 000 000 in standard form: 81 900 000 000 000 = 8.19 × 1013 f. It’s 1013 because the decimal point has been moved 13 places to the left to get the number to be 8.19 g. Example

h. Write 0.000 001 2 in standard form:0.000 001 2 = 1.2 × 10-6 i. It’s 10-6 because the decimal point has been moved 6 places to the right to get the number to be 1.2 j. On a calculator, you usually enter a number in standard form as follows: Type in the first number (the one between 1 and 10). Press EXP. Type in the power to which the 10 is risen.

2. Show how decimal numbers can be represented in floating point binary l.
3. Explain the benefits of using standard form and floating point representations.
4. Describe how floating point is implemented in 32 and 64 bit processors.

Related Topics

We can write a custom essay

According to Your Specific Requirements

Order an essay
icon
300+
Materials Daily
icon
100,000+ Subjects
2000+ Topics
icon
Free Plagiarism
Checker
icon
All Materials
are Cataloged Well

Sorry, but copying text is forbidden on this website. If you need this or any other sample, we can send it to you via email.

By clicking "SEND", you agree to our terms of service and privacy policy. We'll occasionally send you account related and promo emails.
Sorry, but only registered users have full access

How about getting this access
immediately?

Your Answer Is Very Helpful For Us
Thank You A Lot!

logo

Emma Taylor

online

Hi there!
Would you like to get such a paper?
How about getting a customized one?

Can't find What you were Looking for?

Get access to our huge, continuously updated knowledge base

The next update will be in:
14 : 59 : 59