Number Systems and Data Representation
Numbers, characters, images and other forms of computer data are ultimately represented using bits. Number systems help us understand binary data, memory values and the logical operation of computers.
1. Number System and Base
The number of distinct digits available in a number system is called its base or radix. In a positional number system, a digit’s value depends on both the digit and its position.
| Number system |
Base |
Digits used |
| Binary |
2 |
0 and 1 |
| Octal |
8 |
0 to 7 |
| Decimal |
10 |
0 to 9 |
| Hexadecimal |
16 |
0 to 9 and A to F |
In hexadecimal, A, B, C, D, E and F represent decimal values 10, 11, 12, 13, 14 and 15 respectively.
Check valid digits: (1021)2 is not valid binary because binary has no digit 2. Similarly, (89)8 is not valid octal.
2. Positional Value
For an integer written in base b, positional weights from the right are b0, b1, b2 and so on.
Examples:
(352)10 = 3 × 102 + 5 × 101 + 2 × 100
(1011)2 = 1 × 23 + 0 × 22 + 1 × 21 + 1 × 20
= 8 + 0 + 2 + 1 = (11)10
Positions to the right of a radix point have weights b−1, b−2 and so on.
3. Binary-to-Decimal Conversion
Multiply each binary digit by its positional weight and add the results.
Example: Convert (110101)2 to decimal
= 1 × 25 + 1 × 24 + 0 × 23 + 1 × 22 + 0 × 21 + 1 × 20
= 32 + 16 + 0 + 4 + 0 + 1
= (53)10
Example: Convert (101.101)2 to decimal
= 1 × 22 + 0 × 21 + 1 × 20 + 1 × 2−1 + 0 × 2−2 + 1 × 2−3
= 4 + 0 + 1 + 0.5 + 0 + 0.125
= (5.625)10
4. Decimal Integer to Binary
Repeatedly divide the decimal integer by 2 and record each remainder. Read the remainders from bottom to top.
Example: Convert (45)10 to binary
| Division |
Quotient |
Remainder |
| 45 ÷ 2 | 22 | 1 |
| 22 ÷ 2 | 11 | 0 |
| 11 ÷ 2 | 5 | 1 |
| 5 ÷ 2 | 2 | 1 |
| 2 ÷ 2 | 1 | 0 |
| 1 ÷ 2 | 0 | 1 |
Reading the remainders from bottom to top gives (45)10 = (101101)2.
Common mistake: Do not read remainders from top to bottom in the repeated-division method.
5. Octal and Hexadecimal to Decimal
Octal example
(157)8
= 1 × 82 + 5 × 81 + 7 × 80
= 64 + 40 + 7
= (111)10
Hexadecimal example
(2AF)16
= 2 × 162 + 10 × 161 + 15 × 160
= 512 + 160 + 15
= (687)10
When calculating, treat hexadecimal A–F as their corresponding numerical values.
6. Direct Relationship between Binary, Octal and Hexadecimal
Since 8 = 23, one octal digit corresponds to exactly three binary bits. Since 16 = 24, one hexadecimal digit corresponds to four binary bits.
| Decimal |
3-bit binary |
Octal |
4-bit binary |
Hexadecimal |
| 0 | 000 | 0 | 0000 | 0 |
| 1 | 001 | 1 | 0001 | 1 |
| 7 | 111 | 7 | 0111 | 7 |
| 10 | — | — | 1010 | A |
| 15 | — | — | 1111 | F |
Binary to octal
Group (11010111)2 into sets of three bits from the right:
011 | 010 | 111 = 3 | 2 | 7
Therefore, (11010111)2 = (327)8.
Binary to hexadecimal
Group the same number into sets of four bits from the right:
1101 | 0111 = D | 7
Therefore, (11010111)2 = (D7)16.
An incomplete leftmost group can be padded with leading zeros without changing the value.
7. Binary Addition
| Operation |
Sum bit |
Carry |
| 0 + 0 | 0 | 0 |
| 0 + 1 | 1 | 0 |
| 1 + 0 | 1 | 0 |
| 1 + 1 | 0 | 1 |
| 1 + 1 + 1 | 1 | 1 |
Example
1011
+ 0110
————
10001
Decimal check: 11 + 6 = 17, and (10001)2 equals 17.
8. 1’s Complement and 2’s Complement
To obtain the 1’s complement, change every 0 to 1 and every 1 to 0.
The 1’s complement of (00101101)2 is (11010010)2.
To obtain the 2’s complement, add 1 to the 1’s complement.
1’s complement: 11010010
+ 1
2’s complement: 11010011
Two’s-complement representation is widely used for signed binary integers.
Important: Preserve the specified bit width when finding a complement. Four-bit and eight-bit representations can look different.
9. Unsigned and Signed Values
With n bits, the total number of distinct patterns is 2n.
- n-bit unsigned range: 0 to 2n − 1.
- n-bit two’s-complement signed range: −2n−1 to 2n−1 − 1.
Eight-bit example:
- Unsigned range: 0 to 255.
- Two’s-complement signed range: −128 to 127.
If a question asks for the maximum eight-bit value, check whether it specifies unsigned or signed representation.
10. BCD — Binary-Coded Decimal
In BCD, each decimal digit is represented separately using four bits.
BCD representation of decimal 59:
5 = 0101 and 9 = 1001
Therefore, BCD for (59)10 is 0101 1001.
Avoid confusion: Ordinary binary for 59 is 111011, while BCD for 59 is 0101 1001. They represent the same decimal value using different encodings.
Four-bit patterns from 1010 to 1111 are not valid individual decimal digits in ordinary BCD because a decimal digit ranges only from 0 to 9.
11. Character Representation: ASCII and Unicode
Characters are represented in computers using numerical code values. A character encoding specifies how code values relate to characters and how they are stored as bytes.
ASCII
ASCII stands for American Standard Code for Information Interchange. Original ASCII is a seven-bit code and therefore contains 128 code positions.
Several eight-bit “extended ASCII” arrangements have existed, but they are not one universal extension of the original seven-bit ASCII.
Unicode
Unicode provides a universal character-encoding standard for representing text from different languages and writing systems.
UTF-8, UTF-16 and UTF-32 are different ways of encoding Unicode characters into code units or bytes. The statement “every Unicode character always occupies 16 bits” is incorrect.
Important: Unicode is a character repertoire and encoding standard; UTF-8 is one of its encoding formats. Unicode is not limited to English letters.
12. Basic Logic Gates
Logic gates perform Boolean operations on binary inputs. Here, 0 can be treated as False and 1 as True.
| A |
B |
AND |
OR |
XOR |
| 0 | 0 | 0 | 0 | 0 |
| 0 | 1 | 0 | 1 | 1 |
| 1 | 0 | 0 | 1 | 1 |
| 1 | 1 | 1 | 1 | 0 |
- AND: Output is 1 only when all inputs are 1.
- OR: Output is 1 when at least one input is 1.
- NOT: Inverts one input; 0 becomes 1 and 1 becomes 0.
- XOR: For two inputs, output is 1 when the inputs differ.
- NAND: Inverse of AND.
- NOR: Inverse of OR.
- XNOR: Inverse of XOR; output is 1 when two inputs are equal.
OR versus XOR: When A = 1 and B = 1, OR produces 1, but XOR produces 0.
13. Quick Revision
- Binary has base 2; octal 8; decimal 10; hexadecimal 16.
- Hexadecimal A–F represent values 10–15.
- One octal digit corresponds to three bits; one hexadecimal digit corresponds to four bits.
- Binary 1 + 1 produces 10.
- Two’s complement = one’s complement + 1.
- The eight-bit unsigned range is 0–255.
- BCD converts each decimal digit separately into four bits.
- Original ASCII is a seven-bit code.
- Unicode represents text from many languages and writing systems.
- AND requires all 1s; OR requires at least one 1; two-input XOR requires different inputs.
14. Practice Questions
These are original practice questions, not verified previous-year questions. Each question has one correct answer.
Question 1. Which is a valid binary number?
A. 12001
B. 101101
C. 7821
D. 2A01
View answer and explanation
Correct answer: B. 101101
A binary number can contain only 0 and 1.
Question 2. What is the decimal value of (110101)2?
A. 45
B. 51
C. 53
D. 55
View answer and explanation
Correct answer: C. 53
32 + 16 + 4 + 1 = 53.
Question 3. What is the binary representation of (45)10?
A. 101101
B. 110101
C. 101011
D. 111001
View answer and explanation
Correct answer: A. 101101
32 + 8 + 4 + 1 = 45, producing the bits 101101.
Question 4. What is the decimal value of (157)8?
A. 95
B. 105
C. 111
D. 127
View answer and explanation
Correct answer: C. 111
1 × 64 + 5 × 8 + 7 = 64 + 40 + 7 = 111.
Question 5. What decimal value does hexadecimal F represent?
A. 10
B. 14
C. 15
D. 16
View answer and explanation
Correct answer: C. 15
Hexadecimal A through F represent decimal 10 through 15.
Question 6. What is the hexadecimal representation of (10111100)2?
A. AC
B. BC
C. B8
D. C8
View answer and explanation
Correct answer: B. BC
1011 represents B and 1100 represents C, giving BC.
Question 7. What is the 1’s complement of (00110110)2?
A. 11001001
B. 11001010
C. 00110111
D. 10110110
View answer and explanation
Correct answer: A. 11001001
Changing each 0 to 1 and each 1 to 0 gives 11001001.
Question 8. In ordinary BCD, the four-bit pattern 1010:
A. Represents decimal digit 10.
B. Represents decimal digit 9.
C. Is not a valid code for one decimal digit.
D. Represents decimal digit 1.
View answer and explanation
Correct answer: C.
A single ordinary BCD group uses 0000 through 1001 for decimal digits 0 through 9.
Question 9. What is the maximum decimal value of an eight-bit unsigned binary integer?
A. 127
B. 128
C. 254
D. 255
View answer and explanation
Correct answer: D. 255
The eight-bit unsigned range is 0 through 28 − 1, or 255.
Question 10. Which statement about original ASCII is correct?
A. It is a seven-bit character code.
B. It only compresses images.
C. It is a base-16 number system.
D. It is used only for audio.
View answer and explanation
Correct answer: A.
Original ASCII is a seven-bit code with 128 code positions.
Question 11. What is the XOR output when A = 1 and B = 1?
A. 0
B. 1
C. 10
D. Cannot be determined
View answer and explanation
Correct answer: A. 0
A two-input XOR produces 1 when its inputs differ.
Question 12. What is the principal purpose of Unicode?
A. Adding decimal numbers only
B. Representing text from different languages and writing systems
C. Reducing image size only
D. Measuring hard-disk speed
View answer and explanation
Correct answer: B.
Unicode provides standardised character representation for many languages and writing systems.
संख्या पद्धति और डेटा निरूपण
कंप्यूटर में संख्या, अक्षर, चित्र और अन्य डेटा अंततः बिटों के रूप में निरूपित किए जाते हैं। संख्या पद्धति को समझने से बाइनरी डेटा, मेमोरी मान और कंप्यूटर की तार्किक कार्यप्रणाली समझने में सहायता मिलती है।
1. संख्या पद्धति और आधार
किसी संख्या पद्धति में उपलब्ध अलग-अलग अंकों की संख्या को उसका आधार या Radix कहते हैं। Positional Number System में किसी अंक का मान उसके अंकित मान और स्थान दोनों पर निर्भर करता है।
| संख्या पद्धति |
आधार |
प्रयुक्त अंक |
| Binary — बाइनरी |
2 |
0 और 1 |
| Octal — ऑक्टल |
8 |
0 से 7 |
| Decimal — दशमलव |
10 |
0 से 9 |
| Hexadecimal — हेक्साडेसिमल |
16 |
0 से 9 तथा A से F |
हेक्साडेसिमल में A, B, C, D, E और F क्रमशः दशमलव 10, 11, 12, 13, 14 और 15 दर्शाते हैं।
वैध अंक देखें: (1021)2 वैध बाइनरी संख्या नहीं है, क्योंकि बाइनरी में 2 उपलब्ध नहीं है। (89)8 वैध ऑक्टल संख्या नहीं है।
2. स्थानिक मान
किसी आधार b की पूर्णांक संख्या में दाईं ओर से स्थानिक भार b0, b1, b2 आदि होते हैं।
उदाहरण:
(352)10 = 3 × 102 + 5 × 101 + 2 × 100
(1011)2 = 1 × 23 + 0 × 22 + 1 × 21 + 1 × 20
= 8 + 0 + 2 + 1 = (11)10
दशमलव बिंदु के दाईं ओर स्थानिक भार b−1, b−2 आदि होते हैं।
3. बाइनरी से दशमलव रूपांतरण
प्रत्येक बाइनरी अंक को उसके स्थानिक भार से गुणा करके परिणाम जोड़ते हैं।
उदाहरण: (110101)2 को दशमलव में बदलें
= 1 × 25 + 1 × 24 + 0 × 23 + 1 × 22 + 0 × 21 + 1 × 20
= 32 + 16 + 0 + 4 + 0 + 1
= (53)10
उदाहरण: (101.101)2 को दशमलव में बदलें
= 1 × 22 + 0 × 21 + 1 × 20 + 1 × 2−1 + 0 × 2−2 + 1 × 2−3
= 4 + 0 + 1 + 0.5 + 0 + 0.125
= (5.625)10
4. दशमलव पूर्णांक से बाइनरी रूपांतरण
दशमलव पूर्णांक को बार-बार 2 से भाग देते हैं और प्रत्येक शेष लिखते हैं। अंत में शेषों को नीचे से ऊपर पढ़ते हैं।
उदाहरण: (45)10 को बाइनरी में बदलें
| भाग |
भागफल |
शेष |
| 45 ÷ 2 | 22 | 1 |
| 22 ÷ 2 | 11 | 0 |
| 11 ÷ 2 | 5 | 1 |
| 5 ÷ 2 | 2 | 1 |
| 2 ÷ 2 | 1 | 0 |
| 1 ÷ 2 | 0 | 1 |
नीचे से ऊपर शेष पढ़ने पर: (45)10 = (101101)2
सामान्य त्रुटि: भाग विधि में शेषों को ऊपर से नीचे न पढ़ें।
5. ऑक्टल और हेक्साडेसिमल से दशमलव
ऑक्टल उदाहरण
(157)8
= 1 × 82 + 5 × 81 + 7 × 80
= 64 + 40 + 7
= (111)10
हेक्साडेसिमल उदाहरण
(2AF)16
= 2 × 162 + 10 × 161 + 15 × 160
= 512 + 160 + 15
= (687)10
हेक्साडेसिमल के A–F को अक्षर नहीं, संबंधित संख्यात्मक मान मानकर गणना करें।
6. बाइनरी, ऑक्टल और हेक्साडेसिमल का सीधा संबंध
क्योंकि 8 = 23, इसलिए एक ऑक्टल अंक ठीक तीन बाइनरी बिटों से संबंधित होता है। क्योंकि 16 = 24, इसलिए एक हेक्साडेसिमल अंक चार बाइनरी बिटों से संबंधित होता है।
| दशमलव |
3-बिट बाइनरी |
ऑक्टल |
4-बिट बाइनरी |
हेक्साडेसिमल |
| 0 | 000 | 0 | 0000 | 0 |
| 1 | 001 | 1 | 0001 | 1 |
| 7 | 111 | 7 | 0111 | 7 |
| 10 | — | — | 1010 | A |
| 15 | — | — | 1111 | F |
बाइनरी से ऑक्टल
(11010111)2 को दाईं ओर से तीन-तीन बिट के समूह में बाँटें:
011 | 010 | 111 = 3 | 2 | 7
अतः (11010111)2 = (327)8
बाइनरी से हेक्साडेसिमल
उसी संख्या को दाईं ओर से चार-चार बिट में बाँटें:
1101 | 0111 = D | 7
अतः (11010111)2 = (D7)16
बाईं ओर का अधूरा समूह आवश्यकतानुसार शून्य लगाकर पूरा किया जा सकता है; इससे मान नहीं बदलता।
7. बाइनरी जोड़
| क्रिया |
योग बिट |
कैरी |
| 0 + 0 | 0 | 0 |
| 0 + 1 | 1 | 0 |
| 1 + 0 | 1 | 0 |
| 1 + 1 | 0 | 1 |
| 1 + 1 + 1 | 1 | 1 |
उदाहरण
1011
+ 0110
————
10001
दशमलव जाँच: 11 + 6 = 17 और (10001)2 = 17।
8. 1’s Complement और 2’s Complement
1’s Complement प्राप्त करने के लिए प्रत्येक 0 को 1 और प्रत्येक 1 को 0 में बदलते हैं।
(00101101)2 का 1’s Complement = (11010010)2
2’s Complement प्राप्त करने के लिए 1’s Complement में 1 जोड़ते हैं।
1’s Complement: 11010010
+ 1
2’s Complement: 11010011
2’s Complement प्रणाली का उपयोग signed binary integers में ऋणात्मक संख्याओं के निरूपण के लिए व्यापक रूप से होता है।
महत्वपूर्ण: Complement निकालते समय निर्धारित बिट-चौड़ाई बनाए रखें। 4-बिट और 8-बिट निरूपण के परिणाम देखने में अलग हो सकते हैं।
9. Unsigned और Signed मान
n बिट से बनने वाले कुल अलग-अलग पैटर्नों की संख्या 2n होती है।
- n-बिट unsigned range: 0 से 2n − 1 तक।
- n-बिट two’s-complement signed range: −2n−1 से 2n−1 − 1 तक।
8-बिट उदाहरण:
- Unsigned range: 0 से 255।
- Two’s-complement signed range: −128 से 127।
सिर्फ “8 बिट का अधिकतम मान” पूछने पर यह देखना आवश्यक है कि प्रश्न unsigned की बात कर रहा है या signed की।
10. BCD — Binary-Coded Decimal
BCD में दशमलव संख्या के प्रत्येक अंक को अलग-अलग चार बिटों में निरूपित किया जाता है।
दशमलव 59 का BCD:
5 = 0101 और 9 = 1001
अतः (59)10 का BCD = 0101 1001
भ्रम से बचें: सामान्य बाइनरी में 59 = 111011 है, जबकि BCD में 59 = 0101 1001। दोनों समान दशमलव मान दर्शाते हैं, लेकिन उनकी encoding अलग है।
4-बिट BCD समूह में 1010 से 1111 तक के पैटर्न सामान्य दशमलव अंक को निरूपित नहीं करते, क्योंकि एक दशमलव अंक केवल 0 से 9 तक होता है।
11. अक्षर निरूपण: ASCII और Unicode
कंप्यूटर में अक्षरों को भी संख्यात्मक code values द्वारा निरूपित किया जाता है। Character encoding यह निर्धारित करती है कि किसी code value का संबंध किस अक्षर से है और उसे बाइटों में कैसे रखा जाता है।
ASCII
ASCII का पूर्ण रूप American Standard Code for Information Interchange है। मूल ASCII 7-बिट कोड है, इसलिए इसमें 128 code positions होते हैं।
विभिन्न 8-बिट “Extended ASCII” व्यवस्थाएँ मौजूद रही हैं, लेकिन वे मूल 7-बिट ASCII का एकल सार्वभौमिक विस्तार नहीं हैं।
Unicode
Unicode विभिन्न भाषाओं और लिपियों के टेक्स्ट को निरूपित करने के लिए सार्वभौमिक character-encoding standard प्रदान करता है।
UTF-8, UTF-16 और UTF-32 Unicode characters को code units या bytes में encode करने की अलग विधियाँ हैं। यह कहना सही नहीं है कि “हर Unicode character हमेशा 16 बिट लेता है।”
महत्वपूर्ण: Unicode एक character repertoire और encoding standard है; UTF-8 उसका एक encoding format है। Unicode केवल अंग्रेजी अक्षरों तक सीमित नहीं है।
12. मूल Logic Gates
Logic gates बाइनरी इनपुट पर Boolean operations करते हैं। यहाँ 0 को False और 1 को True मान सकते हैं।
| A |
B |
AND |
OR |
XOR |
| 0 | 0 | 0 | 0 | 0 |
| 0 | 1 | 0 | 1 | 1 |
| 1 | 0 | 0 | 1 | 1 |
| 1 | 1 | 1 | 1 | 0 |
- AND: आउटपुट 1 तभी जब सभी इनपुट 1 हों।
- OR: आउटपुट 1 जब कम-से-कम एक इनपुट 1 हो।
- NOT: एक इनपुट को उलटता है; 0 को 1 और 1 को 0।
- XOR: दो-इनपुट स्थिति में इनपुट अलग होने पर आउटपुट 1।
- NAND: AND का उलटा।
- NOR: OR का उलटा।
- XNOR: XOR का उलटा; दो इनपुट समान होने पर 1।
OR और XOR में अंतर: A = 1 और B = 1 होने पर OR का परिणाम 1, लेकिन XOR का परिणाम 0 होता है।
13. त्वरित पुनरावृत्ति
- Binary का आधार 2; Octal का 8; Decimal का 10; Hexadecimal का 16।
- Hexadecimal में A से F का मान 10 से 15 है।
- एक ऑक्टल अंक = 3 बाइनरी बिट; एक हेक्स अंक = 4 बाइनरी बिट।
- 1 + 1 का बाइनरी परिणाम 10 है।
- 2’s Complement = 1’s Complement + 1।
- 8-बिट unsigned range 0 से 255 है।
- BCD में प्रत्येक दशमलव अंक अलग चार बिट में बदलता है।
- मूल ASCII 7-बिट है।
- Unicode अनेक भाषाओं और लिपियों का टेक्स्ट निरूपित करता है।
- AND में सभी 1; OR में कोई एक 1; XOR में इनपुट अलग होने पर 1।
14. अभ्यास प्रश्न
ये मौलिक अभ्यास प्रश्न हैं, सत्यापित पूर्ववर्ष प्रश्न नहीं। प्रत्येक प्रश्न का एक सही उत्तर है।
प्रश्न 1. निम्नलिखित में से कौन-सी वैध बाइनरी संख्या है?
A. 12001
B. 101101
C. 7821
D. 2A01
उत्तर और व्याख्या देखें
सही उत्तर: B. 101101
बाइनरी संख्या में केवल 0 और 1 हो सकते हैं।
प्रश्न 2. (110101)2 का दशमलव मान क्या है?
A. 45
B. 51
C. 53
D. 55
उत्तर और व्याख्या देखें
सही उत्तर: C. 53
32 + 16 + 4 + 1 = 53।
प्रश्न 3. (45)10 का बाइनरी रूप क्या है?
A. 101101
B. 110101
C. 101011
D. 111001
उत्तर और व्याख्या देखें
सही उत्तर: A. 101101
32 + 8 + 4 + 1 = 45, इसलिए संबंधित बिट 101101 हैं।
प्रश्न 4. (157)8 का दशमलव मान क्या है?
A. 95
B. 105
C. 111
D. 127
उत्तर और व्याख्या देखें
सही उत्तर: C. 111
1 × 64 + 5 × 8 + 7 = 64 + 40 + 7 = 111।
प्रश्न 5. हेक्साडेसिमल अंक F का दशमलव मान क्या है?
A. 10
B. 14
C. 15
D. 16
उत्तर और व्याख्या देखें
सही उत्तर: C. 15
हेक्साडेसिमल में A से F क्रमशः 10 से 15 दर्शाते हैं।
प्रश्न 6. (10111100)2 का हेक्साडेसिमल रूप क्या है?
A. AC
B. BC
C. B8
D. C8
उत्तर और व्याख्या देखें
सही उत्तर: B. BC
1011 = B और 1100 = C, इसलिए परिणाम BC है।
प्रश्न 7. (00110110)2 का 1’s Complement क्या है?
A. 11001001
B. 11001010
C. 00110111
D. 10110110
उत्तर और व्याख्या देखें
सही उत्तर: A. 11001001
प्रत्येक 0 को 1 और प्रत्येक 1 को 0 में बदलने पर 11001001 मिलता है।
प्रश्न 8. 4-बिट बाइनरी पैटर्न 1010 सामान्य BCD में:
A. दशमलव अंक 10 दर्शाता है।
B. दशमलव अंक 9 दर्शाता है।
C. किसी एक दशमलव अंक का वैध BCD नहीं है।
D. दशमलव अंक 1 दर्शाता है।
उत्तर और व्याख्या देखें
सही उत्तर: C.
एक BCD समूह में वैध दशमलव अंक 0000 से 1001 अर्थात 0 से 9 तक होते हैं।
प्रश्न 9. 8-बिट unsigned binary integer का अधिकतम दशमलव मान क्या है?
A. 127
B. 128
C. 254
D. 255
उत्तर और व्याख्या देखें
सही उत्तर: D. 255
8-बिट unsigned range 0 से 28 − 1 अर्थात 255 तक है।
प्रश्न 10. मूल ASCII के संबंध में कौन-सा कथन सही है?
A. यह 7-बिट character code है।
B. यह केवल चित्रों को संपीड़ित करता है।
C. यह 16 आधार वाली संख्या पद्धति है।
D. इसका उपयोग केवल ऑडियो के लिए होता है।
उत्तर और व्याख्या देखें
सही उत्तर: A.
मूल ASCII 7-बिट code है और इसमें 128 code positions होते हैं।
प्रश्न 11. A = 1 और B = 1 होने पर XOR का आउटपुट क्या होगा?
A. 0
B. 1
C. 10
D. निर्धारित नहीं किया जा सकता
उत्तर और व्याख्या देखें
सही उत्तर: A. 0
दो-इनपुट XOR का आउटपुट 1 तब होता है जब दोनों इनपुट अलग हों।
प्रश्न 12. Unicode का प्रमुख उद्देश्य क्या है?
A. केवल दशमलव संख्याएँ जोड़ना
B. विभिन्न भाषाओं और लिपियों के टेक्स्ट का निरूपण करना
C. केवल चित्र का आकार घटाना
D. हार्ड डिस्क की गति मापना
उत्तर और व्याख्या देखें
सही उत्तर: B.
Unicode विभिन्न भाषाओं और लिपियों के characters के लिए मानकीकृत निरूपण उपलब्ध कराता है।