Saturday, 13 December 2014

Computer Knowledge: Computer Codes and Data Representation in Computers for Bank and Other Competitive Exams

Data Representation in Computers & Computer Codes


As we know that computer understand the binary language (o's and 1's) for the data representation. All kinds of data, i.e., alphabets, numbers, symbols, sound data or video are represented in terms of 0's and 1's. There are two basic types of data, which are stored and proceed by computers, namely characters and numbers. The characters include letters and special symbols while numbers include digits from 0 to 9.

Number System: A number system defines a set of values that is used to represent quantity. Digital computers internally use the binary number system to represent data and perform arithmetic calculations.

Types of Number System:

The number systems generally used by a computer are as follows

1. Binary Number System: The binary system is very efficient for computers, but not for humans. It contains two unique digits 0's and 1's. It is also known as Base 2 system. The binary numbers 0 and 1 called a bit. The computer always calculates input in binary form. Ex:- 1010101

2. Decimal Number System: It consists of ten digits from 0 to 9. These digits can be used to represent any numeric value. It is also known as Base 10 system or positional number system.

3. Octal Number System: It consists of 8 digits from 0 to 7. It is also known as Base 8 system. Each position of the octal number represents a successive power of eight.

4. Hexadecimal Number System: It provides us with a shorthand method of working with binary numbers. There are 16 unique digits available in this system. These are 0 to 9 and A to F, where A denotes 10, B denotes 11.............F denotes 15. It is also known as Base 16 system or simply Hex. So, each position of the hexadecimal number represents a successive power of 16.

Computer Codes

In computer, any characters like alphabet, digit or any special character is represented by collection of 1 and 0 in a unique coded pattern. In computers, the code is made up of fixed size groups of binary positions.

1. Binary Coded Decimal (BCD):

Binary coded decimal is a number system where four bits are used to represent each decimal digits. BCD is a method of using binary digits to represent the decimal digits (0-9). In Binary Coded Decimal system, there is no limit on size of a number. This system was developed by IBM corporation.

2. American Standard Code for Information Interchange (ASCII):

ASCII characters are represented by seven bits. There are standard character codes used to store data so that it may be used by other software programs. The standards ASCII codes defines 128 character codes (from 0 to 127). Basically, ASCII codes are of two types-ASCII-7 and ASCII-8.

ASCII-7, is a 7-bit standards ASCII code. It allows 27 = 128 unique symbols.

ASCII-8, is a extended version of ASCII-7, it is an 8-bit code, allows 28 = 256 unique symbols or characters.

3. Extended Binary Coded Decimal Interchange Code (EBCDIC):

In EBCDIC, characters are represented by eight bits. These codes store information which is readable by other computers. It allows 28 = 256 combinations of bits.





1 comment:

  1. Good day every one i want to inform the public on how i get cured of HIV/AIDS by a Doctor called Dr Irosi . i visited different hospital but they gave me list of expensive drugs to treat the symptoms and never cured me. A closed friend of mine introduce me to a Herbal Doctor who cured her. I was scared to contact him but i found people testimony  online  testifying about his goodness. when i contacted him i asked him series of questions, i also ask him to show me his herbal certificate and license given to him by his Government he gave all the information i needed that gave me hope. He send a Herbal medicine to me that i took and it seriously worked for me. am now HIV negative. God bless you for being a sincere and great men. Am so excited, you can contact him if you have any problem. whats-app him via: +2348118829771.or contact him on email (drirosisolutioncenter@gmail.com)And he can also cure the following diseases1) HERPES2) HPV4) HEPATITIS5) ALSa  (6) BLOOD CANCER

    ReplyDelete