Numeric data is not the only form of data handled by a computer. We often require to process alphanumeric data also. An alphanumeric data is a string of symbols, where a symbol may be one of the letters A, B, C ….. Z, or one of the digitals 0, 1, 2 …..9 or a special character, such as + – * / , . ( ) = etc. An alphabet data consists of only the letters A, B, C …..Z, and blank character. Similarly, numeric data consists of only the digits 0, 1, 2, ….. 9. However, the bits 0 and 1 must represent any data internally. Hence, computers use binary coding schemes to represent data internally.
In binary coding, a group of bits represents every symbol that appears in the data. The group of bits used to represent a symbol is called as byte. To indicate the number of bits in a group, sometimes, a byte is referred to as n-bit byte, where the group contains n bits. However, the term byte, commonly means an 8-byte (a group of 8 bits) because most modern computers use 8 bits to represent a symbol.
Also Read:
- [#1] – Introduction to Computer Fundamentals
- [#2] – Basic computer organization
- [#3] – Number systems
- [#4] – Computer Codes
- [#5] – Computer Arithmetic
- [#6] – Processor and Memory
- [#7] – Secondary Storage Devices
- [#8] – Input-Output Devices
- [#9] – Computer software
- [#10] – Planning the Computer Program
- [#11] – Computer Languages
- [#12] – System Implementation and Operation
- [#13] – Operating Systems
- [#14] – Application Software packages
- [#15] – Business Data Processing
- [#16] – Data Communications and Computer Networks
- [#17] – The Internet
- [#18] – Multimedia
- [#19] – Classification of Computers
- [#20] – Introduction to C Programming Language
Points To Remember:
- Computers use binary coding schemes to represent data internally. In binary coding, a group of bits represents every symbol that appears in the data. The group of bits used to represent a symbol is called a byte. Most modern computers use 8 bits to represent a symbol. Hence, the term byte commonly means a group of 8 bits.
- BCD, EBCDIC, ASCII, and Unicode are the commonly used computer codes for internal data representation.
- BCD (Binary Coded Decimal) is a 6-bit code that can represent 64 different characters.
- EBCDIC (Extended Binary-Coded Decimal Interchange Code) is an 8-bit code that can represent 256 different characters.
- ASCII (American Standard Code for Information Interchange) is one of the most popular and widely supported computer codes. It is of two types – ASCII-7 and ASCII-8. ASCII-7 is a 7-bit code that can represent 128 different characters and ASCII-8 is an 8-bit code that can represent 256 different characters.
- Unicode provides a consistent way of encoding multilingual plain text. It has the capacity to encode as many as a million characters. Unicode has three types of encoding forms – UTF-8, UTF-16, and UTF-32.
- Collating sequence is ordering of symbols in an encoding standard.
List of Questions
- Define the term ‘byte’. What is the difference between a bit and a byte?
- Write 4-bit BCD code for following numbers:
2510
12810
6410
102410 - Write BCD code for following words using binary notation:
BIT
CODE
BYTE
ZERO - Write BCD code for following words using octal notation:
COMPUTER
VIDEO
INPUT
OUTPUT - Why BCD code was extended to EBCDIC?
- How many different characters are possible in the following encoding schemes:
BCD
ASCII-7
EBCDIC
ASCII-8 - Why are octal and hexadecimal shortcut notations used? Identify shortcut notations used for each of the following computer codes:
BCD
ASCII-7
EBCDIC
ASCII-8 - Why do we have a packed decimal format? How does it differ from a zoned decimal format?
- A newly designed computer code uses 9 bits. How many different characters are possible in this code?
- Write EBCDIC code for following words in both binary and hexadecimal notations:
SUN
CAT
MOON
DOG
How many bytes are required to store each of these words using this coding? - Write EBCDIC code for following words in hexadecimal notation:
PROGRAM
BYTE
OUTPUT
OCTAL
How many bytes are required to store each of these words using this coding? - Write EBCDIC code for following words in binary notation:
ZONE
SKY
BOY
TAPE
How many bytes are required to store each of these words using this coding? - Using hexadecimal notation, write the zoned-decimal coding for following numbers:
1256
-63
+439
-786
How many bytes are required for each of these representations? - Using hexadecimal notation, write the packed-decimal coding for following numbers:
12915
872
+9876
-256
How many bytes are required for each of these representations? - List the similarities and differences between 7-bit and 8-bit ASCII.
- Write ASCII-7 and ASCII-8 codes for following words using binary and hexadecimal notations:
DRY
DAMP
WET
TERM
How many bytes are required to store each of these words in ASCII? - Write ASCII-7 and ASCII codes for following words using binary notation:
PRINT
RUB
TYPE
GIVE
How many bytes are required to store each of these words in ASCII? - What is unicode? What motivated its development?
- Why it was difficult to exchange text files internationally before Unicode was developed? How did Unicode help in overcoming this problem?
- Why was Unicode developed?
- List some key features of Unicode.
- Describe the three encoding forms defined by Unicode standard and the environment for which each of them is most suitable.
- Explain the meaning of the term “collating sequence”.
- A computer uses EBCDIC as its internal representation of characters. In which order will this computer sort following strings?
ABC
245
123
ADD - A computer uses ASCII. In which order will this computer sort following strings?
BED
2good
512
BaD
ADD
a1B2 - Write full form of following abbreviations:
BCD
ASCII
EBCDIC
UTF
- Top 30 Linux Questions (MCQs) with Answers and Explanations
- 75 Important Cybersecurity Questions (MCQs with Answers)
- 260 One-Liner Information Security Questions and Answers for Fast Learning
- Top 20 HTML5 Interview Questions with Answers
- 80 Most Important Network Fundamentals Questions With Answers
- 100 Most Important SOC Analyst Interview Questions
- Top 40 Cyber Security Questions and Answers
- Top 10 React JS Interview Theory Questions and Answers
- CISSP – Practice Test Questions – 2024 – Set 20 (53 Questions)
- Part 2: Exploring Deeper into CCNA – Wireless (145 Practice Test Questions)