Loading...
Please wait while we prepare your content
Please wait while we prepare your content
Solutions for Computer Science, Class 11, CBSE
Assertion (A): Data is stored inside a computer in the form of 0s and 1s.
Reasoning (R): Number system is a technique of representing numbers in different forms.
Both A and R are true but R is not the correct explanation of A.
Explanation
Data inside a computer gets stored and manipulated in digital (binary) form (0s and 1s). Number systems are the techniques to represent numbers in the computer system architecture. Every number system includes a set of unique characters or literals. It is a way to represent a number in different forms.
Assertion (A): The base/radix of binary number system is 2.
Reasoning (R): Binary number system has only two digits, i.e., 1 and 0.
Both A and R are true and R is the correct explanation of A.
Explanation
The base of binary number system is 2 because it has only two digits, i.e., 1 and 0. Every number can be represented with 0 and 1 in binary number system.
Assertion (A): The base/radix of Octal number system is 8 because it has 8 digits.
Reasoning (R): 342289 is an octal number.
A is true but R is false.
Explanation
The base of the octal number system is 8 because it has only 8 digits (0 to 7). The number 342289 is not an octal number because the octal number system only allows digits from 0 to 7, and 342289 contains digits outside this range (8 and 9).
Assertion (A): If A+B=1 then its dual will be A.B=0.
Reasoning (R): In dual, 1 changes to 0 and 0 changes to 1. Similarly, (+) changes to (.) and (.) to (+).
Both A and R are true and R is the correct explanation of A.
Explanation
The dual of the Boolean expression A+B=1 is A⋅B=0. This is derived by applying the duality principle, which states that the dual of any boolean expression is obtained by interchanging the operations (+) and (.), and swapping the constants 1 and 0.
Assertion (A): Unicode is used for multilingual encoding.
Reasoning (R): Unicode provides a unique number for all the characters of every written language of the world.
Both A and R are true and R is the correct explanation of A.
Explanation
Unicode represents a single encoding scheme for all languages and characters. Unicode provides a unique number for every character irrespective of the platform, program and the language.
Assertion (A): The number of symbols (digit and alphabet) used in a number system is called its radix/base.
Reasoning (R): Base value of a number system is used to distinguish a number in one number system from another number system.
Both A and R are true and R is the correct explanation of A.
Explanation
The number of symbols (digits and alphabets) used in a number system defines its radix or base. The base value of a number system helps in distinguishing numbers from different number systems, such as binary, octal, decimal, and hexadecimal.
(101011)2
Reason — To convert (43)10 from decimal to binary, we perform the following calculation:
2 | 43 | Remainder |
---|---|---|
2 | 21 | 1 (LSB) |
2 | 10 | 1 |
2 | 5 | 0 |
2 | 2 | 1 |
2 | 1 | 0 |
0 | 1 (MSB) |
Therefore, (43)10 = (101011)2
Indian Standard Code for Information Interchange
Reason — The full form of ISCII is Indian Standard Code for Information Interchange.
11E
Reason — A binary number system only includes the digits 0 and 1. The number "11E" contains the letter 'E', which is not a valid digit in the binary system. Therefore, "11E" is not a binary number.
Should I wear the mask or not?
Reason — A logical or Boolean statement is one that can be evaluated as either true or false. The statement "Should I wear the mask or not?" poses a question that requires a true or false answer, thus making it a logical or Boolean statement.
(a) 52
2 | 52 | Remainder |
---|---|---|
2 | 26 | 0 (LSB) |
2 | 13 | 0 |
2 | 6 | 1 |
2 | 3 | 0 |
2 | 1 | 1 |
0 | 1 (MSB) |
Therefore, (52)10 = (110100)2.
(b) 44
2 | 44 | Remainder |
---|---|---|
2 | 22 | 0 (LSB) |
2 | 11 | 0 |
2 | 5 | 1 |
2 | 2 | 1 |
2 | 1 | 0 |
0 | 1 (MSB) |
Therefore, (44)10 = (101100)2.
(c) 25.80
Let us first convert 25 into binary as shown below:
2 | 25 | Remainder |
---|---|---|
2 | 12 | 1 (LSB) |
2 | 6 | 0 |
2 | 3 | 0 |
2 | 1 | 1 |
0 | 1 (MSB) |
The binary equivalent of integer part (25)10 = (11001)2.
Now let us convert (0.80)10 into binary as shown below:
Multiply | = | Integer | Fraction |
---|---|---|---|
0.80 x 2 | = | 1 | 0.6 (MSB) |
0.6 x 2 | = | 1 | 0.2 |
0.2 x 2 | = | 0 | 0.4 |
0.4 x 2 | = | 0 | 0.8 |
0.8 x 2 | = | 1 | 0.6 (LSB) |
The binary equivalent of fractional part (0.8)10 = (11001)2.
Therefore, (25.80)10 = (11001.11001)2.
(d) 62.325
Let us first convert 62 into binary as shown below:
2 | 62 | Remainder |
---|---|---|
2 | 31 | 0 (LSB) |
2 | 15 | 1 |
2 | 7 | 1 |
2 | 3 | 1 |
2 | 1 | 1 |
0 | 1 (MSB) |
The binary equivalent of integer part (62)10 = (111110)2.
Now let us convert (0.325)10 into binary as shown below:
Multiply | = | Integer | Fraction |
---|---|---|---|
0.325 x 2 | = | 0 | 0.65 (MSB) |
0.65 x 2 | = | 1 | 0.3 |
0.3 x 2 | = | 0 | 0.6 |
0.6 x 2 | = | 1 | 0.2 |
0.2 x 2 | = | 0 | 0.4 |
0.4 x 2 | = | 0 | 0.8 |
0.8 x 2 | = | 1 | 0.6 (LSB) |
The binary equivalent of fractional part (0.325)10 = (0101001)2.
Therefore, (62.325)10 = (111110.0101001)2.
(a) 911
8 | 911 | Remainder |
---|---|---|
8 | 113 | 7 (LSB) |
8 | 14 | 1 |
8 | 1 | 6 |
0 | 1 (MSB) |
Therefore, (911)10 = (1617)8.
(b) 540
8 | 540 | Remainder |
---|---|---|
8 | 67 | 4 (LSB) |
8 | 8 | 3 |
8 | 1 | 0 |
0 | 1 (MSB) |
Therefore, (540)10 = (1034)8.
(c) 61
8 | 61 | Remainder |
---|---|---|
8 | 7 | 5 (LSB) |
0 | 7 (MSB) |
Therefore, (61)10 = (75)8.
(d) 132
8 | 132 | Remainder |
---|---|---|
8 | 16 | 4 (LSB) |
8 | 2 | 0 |
0 | 2 (MSB) |
Therefore, (132)10 = (204)8.
(a) 132
16 | 132 | Remainder |
---|---|---|
16 | 8 | 4 (LSB) |
0 | 8 (MSB) |
Therefore, (132)10 = (84)16.
(b) 3619
16 | 3619 | Remainder |
---|---|---|
16 | 226 | 3 (LSB) |
16 | 14 | 2 |
0 | E (14) (MSB) |
Therefore, (3619)10 = (E23)16.
(c) 206
16 | 206 | Remainder |
---|---|---|
16 | 12 | E (14) (LSB) |
0 | C (12) (MSB) |
Therefore, (206)10 = (CE)16.
(d) 752
16 | 752 | Remainder |
---|---|---|
16 | 47 | 0 (LSB) |
16 | 2 | F (15) |
0 | 2 (MSB) |
Therefore, (752)10 = (2F0)16
(a) 10111
Binary No | Power | Value | Result |
---|---|---|---|
1 (LSB) | 20 | 1 | 1x1=1 |
1 | 21 | 2 | 1x2=2 |
1 | 22 | 4 | 1x4=4 |
0 | 23 | 8 | 0x8=0 |
1 (MSB) | 24 | 16 | 1x16=16 |
Equivalent decimal number = 1 + 2 + 4 + 16 = 23
Therefore, (10111)2 = (23)10.
(b) 111101
Binary No | Power | Value | Result |
---|---|---|---|
1 (LSB) | 20 | 1 | 1x1=1 |
0 | 21 | 2 | 0x2=0 |
1 | 22 | 4 | 1x4=4 |
1 | 23 | 8 | 1x8=8 |
1 | 24 | 16 | 1x16=16 |
1 (MSB) | 25 | 32 | 1x32=32 |
Equivalent decimal number = 1 + 4 + 8 + 16 + 32 = 61
Therefore, (111101)2 = (61)10.
(c) 101010.011
For the integer part (101010):
Binary No | Power | Value | Result |
---|---|---|---|
0 (LSB) | 20 | 1 | 0x1=0 |
1 | 21 | 2 | 1x2=2 |
0 | 22 | 4 | 0x4=0 |
1 | 23 | 8 | 1x8=8 |
0 | 24 | 16 | 0x16=0 |
1 (MSB) | 25 | 32 | 1x32=32 |
Equivalent decimal number = 2 + 8 + 32 = 42
For the fractional part (0.011):
Binary No | Power | Value | Result |
---|---|---|---|
0 (LSB) | 2-1 | 0.5 | 0x0.5=0 |
1 | 2-2 | 0.25 | 1x0.25=0.25 |
1 | 2-3 | 0.125 | 1x0.125=0.125 |
Equivalent decimal number = 0.25 + 0.125 = 0.375
Therefore, (101010.011)2 = (42.375)10.
(d) 101101
Binary No | Power | Value | Result |
---|---|---|---|
1 (LSB) | 20 | 1 | 1x1=1 |
0 | 21 | 2 | 0x2=0 |
1 | 22 | 4 | 1x4=4 |
1 | 23 | 8 | 1x8=8 |
0 | 24 | 16 | 0x16=0 |
1 (MSB) | 25 | 32 | 1x32=32 |
Equivalent decimal number = 1 + 4 + 8 + 32 = 45
Therefore, (101101)2 = (45)10.
(a) 75
Octal No | Power | Value | Result |
---|---|---|---|
5 (LSB) | 80 | 1 | 5x1=5 |
7 (MSB) | 81 | 8 | 7x8=56 |
Equivalent decimal number = 5 + 56 = 61
Therefore, (75)8 = (61)10.
(b) 321
Octal No | Power | Value | Result |
---|---|---|---|
1 (LSB) | 80 | 1 | 1x1=1 |
2 | 81 | 8 | 2x8=16 |
3 (MSB) | 82 | 64 | 3x64=192 |
Equivalent decimal number = 1 + 16 + 192 = 209
Therefore, (321)8 = (209)10.
(c) 142
Octal No | Power | Value | Result |
---|---|---|---|
2 (LSB) | 80 | 1 | 2x1=2 |
4 | 81 | 8 | 4x8=32 |
1 (MSB) | 82 | 64 | 1x64=64 |
Equivalent decimal number = 2 + 32 + 64 = 98
Therefore, (142)8 = (98)10.
(d) 205
Octal No | Power | Value | Result |
---|---|---|---|
5 (LSB) | 80 | 1 | 5x1=5 |
0 | 81 | 8 | 0x8=56 |
2 (MSB) | 82 | 64 | 2x64=128 |
Equivalent decimal number = 5 + 128 = 133
Therefore, (205)8 = (133)10.
(a) A2
Hexadecimal Number | Power | Value | Result |
---|---|---|---|
2 | 160 | 1 | 2x1=2 |
A (10) | 161 | 16 | 10x16=160 |
Equivalent decimal number = 2 + 160 = 162
Therefore, (A2)16 = (162)10.
(b) 13B
Hexadecimal Number | Power | Value | Result |
---|---|---|---|
B (11) | 160 | 1 | 11x1=11 |
3 | 161 | 16 | 3x16=48 |
1 | 162 | 256 | 1x256=256 |
Equivalent decimal number = 11 + 48 + 256 = 315
Therefore, (13B)16 = (315)10.
(c) 271
Hexadecimal Number | Power | Value | Result |
---|---|---|---|
1 | 160 | 1 | 1x1=1 |
7 | 161 | 16 | 7x16=112 |
2 | 162 | 256 | 2x256=512 |
Equivalent decimal number = 1 + 112 + 512 = 625
Therefore, (271)16 = (625)10.
(d) 132
Hexadecimal Number | Power | Value | Result |
---|---|---|---|
2 | 160 | 1 | 2x1=2 |
3 | 161 | 16 | 3x16=48 |
1 | 162 | 256 | 1x256=256 |
Equivalent decimal number = 2 + 48 + 256 = 306
Therefore, (132)16 = (306)10.
UTF-8 is a variable-width encoding that can represent every character in the Unicode character set. The code unit of UTF-8 is 8 bits (an octet). It uses 1 to 4 octets to represent code points, depending on their size. For example, it uses 1 byte for ASCII characters and up to 4 bytes for others. This makes UTF-8 a multi-byte encoding that efficiently handles different character sets.
UTF-32, in contrast, is a fixed-length encoding scheme that always uses exactly 4 bytes (32 bits) to represent all Unicode code points, regardless of their size, making it less space-efficient than UTF-8.
Operators used in Boolean algebra are known as Boolean/Logical operators.
1. AND Operator — AND operator is a binary operator that operates on two variables and the operation performed by AND operator is known as logical multiplication. The symbol used for logical multiplication is dot(.) operator. The truth table for AND operator is as follows:
Truth Table
A | B | Output A.B |
---|---|---|
0 | 0 | 0 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |
The AND operation will result in true value (1) when both inputs are 1 (true/high) and for all other values it results in 0 (false/low).
2. OR Operator — The OR operator is a binary operator that operates on two variables and the operation performed by OR operator is known as logical addition. The symbol used for logical addition is plus (+) operator. The truth table for OR operator is as follows:
Truth Table
A | B | Output A + B |
---|---|---|
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 1 |
The OR operation results in true value (1) when either of the inputs is 1 (true) or both the inputs are 1 (true/high), and for all other values of inputs it results in 0 (false/low).
3. NOT Operator — The NOT operator is a unary operator that operates on one variable and the operation performed by NOT operator is known as negation or complementation. The truth table for NOT operator is as follows:
Truth Table
A | Output A' |
---|---|
0 | 1 |
1 | 0 |
It means that the logical statements A and A' are opposite to each other. If the value of a variable A is 0, its complement would be 1, and if the value of the variable A is 1, its complement would be 0.
The use of the hexadecimal number system in computers includes the following:
1101011010101111
is a big binary address but with hex it is D6AF
which is easier to remember.FFFFFF
represents White, FF0000
represents Red, etc.(i) a.(a+b) = a
Truth Table
a | b | a + b | a.(a+b) | a |
---|---|---|---|---|
0 | 0 | 0 | 0 | 0 |
0 | 1 | 1 | 0 | 0 |
1 | 0 | 1 | 1 | 1 |
1 | 1 | 1 | 1 | 1 |
As columns "a.(a+b)" and "a" have same values, hence the expression is proved.
(ii) X.(Y+Z) = X.Y + X.Z
Truth Table
X | Y | Z | Y+Z | X.(Y+Z) | X.Y | X.Z | X.Y+X.Z |
---|---|---|---|---|---|---|---|
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 |
0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 |
0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 |
1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
1 | 0 | 1 | 1 | 1 | 0 | 1 | 1 |
1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 |
1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
As columns X.(Y+Z) and X.Y+X.Z have same values, hence the expression is proved.
The first law states that when two (or more) input variables are OR'ed and negated, they are equivalent to the AND of the complements of the individual variables.
=
Proof using truth table:
A | B | A' | B' | A + B | (A+B)' | A'.B' |
---|---|---|---|---|---|---|
0 | 0 | 1 | 1 | 0 | 1 | 1 |
0 | 1 | 1 | 0 | 1 | 0 | 0 |
1 | 0 | 0 | 1 | 1 | 0 | 0 |
1 | 1 | 0 | 0 | 1 | 0 | 0 |
The second law states that when two (or more) input variables are AND'ed and negated, they are equivalent to the OR of the complements of the individual variables.
=
Proof using truth table:
A | B | A' | B' | A.B | (A.B)' | A' + B' |
---|---|---|---|---|---|---|
0 | 0 | 1 | 1 | 0 | 1 | 1 |
0 | 1 | 1 | 0 | 0 | 1 | 1 |
1 | 0 | 0 | 1 | 0 | 1 | 1 |
1 | 1 | 0 | 0 | 1 | 0 | 0 |
Following are the advantages of preparing a digital content in Indian language using UNICODE font:
Representing the word 'COMPUTER' in ASCII values of its characters:
COMPUTER → 67 79 77 80 85 84 69 82
Binary Equivalent → 01000011 01001111 01001101 01010000 01010101 01010100 01000101 01010010
Explanation
ASCII value of C is 67 and its equivalent 7-bit binary code = 01000011
ASCII value of O is 79 and its equivalent 7-bit binary code = 01001111
ASCII value of M is 77 and its equivalent 7-bit binary code = 01001101
ASCII value of P is 80 and its equivalent 7-bit binary code = 01010000
ASCII value of U is 85 and its equivalent 7-bit binary code = 01010101
ASCII value of T is 84 and its equivalent 7-bit binary code = 01010100
ASCII value of E is 69 and its equivalent 7-bit binary code = 01000101
ASCII value of R is 82 and its equivalent 7-bit binary code = 01010010
Hence, binary value for the word 'COMPUTER' is 01000011 01001111 01001101 01010000 01010101 01010100 01000101 01010010.
(a) 2306
Octal Number | Binary Equivalent |
---|---|
6 | 110 |
0 | 000 |
3 | 011 |
2 | 010 |
Therefore, (2306)8 = ()2.
(b) 5610
Octal Number | Binary Equivalent |
---|---|
0 | 000 |
1 | 001 |
6 | 110 |
5 | 101 |
Therefore, (5610)8 = ()2.
(c) 742
Octal Number | Binary Equivalent |
---|---|
2 | 010 |
4 | 100 |
7 | 111 |
Therefore, (742)8 = ()2.
(d) 65.203
Octal Number | Binary Equivalent |
---|---|
3 | 011 |
0 | 000 |
2 | 010 |
5 | 101 |
6 | 110 |
Therefore, (65.203)8 = ()2.
(a) 4026
Hexadecimal Number | Binary Equivalent |
---|---|
6 | 0110 |
2 | 0010 |
0 | 0000 |
4 | 0100 |
Therefore, (4026)16 = (0100000000100110)2.
(b) BCA1
Hexadecimal Number | Binary Equivalent |
---|---|
1 | 0001 |
A (10) | 1010 |
C (12) | 1100 |
B (11) | 1011 |
B → 1011
C → 1100
A → 1010
1 → 0001
Therefore, (BCA1)16 = (1011110010100001)2.
(c) 98E
Hexadecimal Number | Binary Equivalent |
---|---|
E | 1110 |
8 | 1000 |
9 | 1001 |
Therefore, (98E)16 = (100110001110)2.
(d) 132.45
Hexadecimal Number | Binary Equivalent |
---|---|
5 | 0101 |
4 | 0100 |
2 | 0010 |
3 | 0011 |
1 | 0001 |
Therefore, (132.45)16 = (000100110010.01000101)2.
(a) (54)10
2 | 54 | Remainder |
---|---|---|
2 | 27 | 0 (LSB) |
2 | 13 | 1 |
2 | 6 | 1 |
2 | 3 | 0 |
2 | 1 | 1 |
0 | 1 (MSB) |
Therefore, (54)10 = (110110)2.
(b) (120)10
2 | 120 | Remainder |
---|---|---|
2 | 60 | 0 (LSB) |
2 | 30 | 0 |
2 | 15 | 0 |
2 | 7 | 1 |
2 | 3 | 1 |
2 | 1 | 1 |
0 | 1 (MSB) |
Therefore, (120)10 = (1111000)2.
(c) (76)10
8 | 76 | Remainder |
---|---|---|
8 | 9 | 4 (LSB) |
8 | 1 | 1 |
0 | 1 (MSB) |
Therefore, (76)10 = (114)8.
(d) (889)10
8 | 889 | Remainder |
---|---|---|
8 | 111 | 1 (LSB) |
8 | 13 | 7 |
8 | 1 | 5 |
0 | 1 (MSB) |
Therefore, (889)10 = (1571)8.
(e) (789)10
16 | 789 | Remainder |
---|---|---|
16 | 49 | 5 (LSB) |
16 | 3 | 1 |
0 | 3 (MSB) |
Therefore, (789)10 = (315)16.
(f) (108)10
16 | 108 | Remainder |
---|---|---|
16 | 6 | 12 (C) (LSB) |
0 | 6 (MSB) |
Therefore, (108)10 = (6C)16.
(a) 100101111
Grouping in bits of 3:
Binary Number | Equivalent Octal |
---|---|
100 | 4 |
101 | 5 |
111 | 7 |
Therefore, (100101111)2 = (457)8
(b) 111011010
Grouping in bits of 3:
Binary Number | Equivalent Octal |
---|---|
111 | 7 |
011 | 3 |
010 | 2 |
Therefore, (111011010)2 = (732)8
(c) 1010011
Grouping in bits of 3:
Binary Number | Equivalent Octal |
---|---|
001 | 1 |
010 | 2 |
011 | 3 |
Therefore, (1010011)2 = (123)8
(d) 10011101
Grouping in bits of 3:
Binary Number | Equivalent Octal |
---|---|
010 | 2 |
011 | 3 |
101 | 5 |
Therefore, (10011101)2 = (235)8
(a) 1111101101100011
Grouping in bits of 4:
Binary Number | Equivalent Hexadecimal |
---|---|
1111 | F |
1011 | B |
0110 | 6 |
0011 | 3 |
Therefore, (1111101101100011)2 = (FB63)16.
(b) 100000101011100
Grouping in bits of 4:
Binary Number | Equivalent Hexadecimal |
---|---|
0100 | 4 |
0001 | 1 |
0101 | 5 |
1100 | C |
Therefore, (100000101011100)2 = (415C)16.
(c) 1000111010100011
Grouping in bits of 4:
Binary Number | Equivalent Hexadecimal |
---|---|
1000 | 8 |
1110 | E |
1010 | A |
0011 | 3 |
Therefore, (1000111010100011)2 = (8EA3)16.
(d) 111011111
Grouping in bits of 4:
Binary Number | Equivalent Hexadecimal |
---|---|
0001 | 1 |
1101 | D |
1111 | F |
Therefore, (111011111)2 = (1DF)16.
(a) 145
Octal No | Power | Value | Result |
---|---|---|---|
5 (LSB) | 80 | 1 | 5x1=5 |
4 | 81 | 8 | 4x8=32 |
1 (MSB) | 82 | 64 | 1x64=64 |
Equivalent decimal number = 5 + 32 + 64 = 101
Therefore, (145)8 = (101)10.
(b) 6760
Octal No | Power | Value | Result |
---|---|---|---|
0 (LSB) | 80 | 1 | 0x1=0 |
6 | 81 | 8 | 6x8=48 |
7 | 82 | 64 | 7x64=448 |
6 (MSB) | 83 | 512 | 6x512=3072 |
Equivalent decimal number = 48 + 448 + 3072 = 3568
Therefore, (6760)8 = (3568)10.
(c) 455
Octal No | Power | Value | Result |
---|---|---|---|
5 (LSB) | 80 | 1 | 5x1=5 |
5 | 81 | 8 | 5x8=40 |
4 (MSB) | 82 | 64 | 4x64=256 |
Equivalent decimal number = 5 + 40 + 256 = 301
Therefore, (455)8 = (301)10.
(d) 10.75
Integer part:
Octal No | Power | Value | Result |
---|---|---|---|
0 (LSB) | 80 | 1 | 0x1=0 |
1 (MSB) | 81 | 8 | 1x8=8 |
Equivalent decimal number = 8
Fractional part:
Octal No | Power | Value | Result |
---|---|---|---|
7 (LSB) | 8-1 | 0.125 | 7x0.125=0.875 |
5 (MSB) | 8-2 | 0.015625 | 5x0.015625=0.078125 |
Equivalent decimal number = 0.875 + 0.078125 = 0.953125
Therefore, (10.75)8 = (8.953125)10.
To insert any Indian language character using Unicode in Microsoft Word, the steps are:
(a) (1010100)10
2 | 1010100 | Remainder |
---|---|---|
2 | 505050 | 0 (LSB) |
2 | 252525 | 0 |
2 | 126262 | 1 |
2 | 63131 | 0 |
2 | 31565 | 1 |
2 | 15782 | 1 |
2 | 7891 | 0 |
2 | 3945 | 1 |
2 | 1972 | 1 |
2 | 986 | 0 |
2 | 493 | 0 |
2 | 246 | 1 |
2 | 123 | 0 |
2 | 61 | 1 |
2 | 30 | 1 |
2 | 15 | 0 |
2 | 7 | 1 |
2 | 3 | 1 |
2 | 1 | 1 |
0 | 1 (MSB) |
Therefore, (1010100)10 = (11110110100110110100)2.
(b) (3674)8
Octal Number | Binary Equivalent |
---|---|
4 | 100 |
7 | 111 |
6 | 110 |
3 | 011 |
Therefore, (3674)8 = ()2.
(c) (266)10
8 | 266 | Remainder |
---|---|---|
8 | 33 | 2 (LSB) |
8 | 4 | 1 |
0 | 4 (MSB) |
Therefore, (266)10 = (412)8.
(c) (9F2)16
Hexadecimal Number | Binary Equivalent |
---|---|
2 | 0010 |
F | 1111 |
9 | 1001 |
Therefore, (9F2)16 = (100111110010)2.
a(b + c) = ab + ac
is distributive law.
Truth Table
a | b | c | b+c | a.(b+c) | a.b | a.c | a.b + a.c |
---|---|---|---|---|---|---|---|
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 |
0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 |
0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 |
1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
1 | 0 | 1 | 1 | 1 | 0 | 1 | 1 |
1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 |
1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
As columns "a(b + c)" and "ab + ac" have same values, hence the expression is proved.
True
Reason — Binary data representation uses only two symbols, 0 and 1, because it is based on base 2. In base 2, each digit (bit) can only be one of two values: 0 or 1. These digits are combined to represent numbers and data, with each position representing a power of 2, similar to how base 10 uses powers of 10.
True
Reason — The first 128 characters (ranging from 0 to 127) in both ASCII-7 and ASCII-8 are identical. ASCII-7 uses 7 bits to represent characters, covering the first 128 characters. ASCII-8 uses 8 bits, allowing for 256 characters in total. However, the first 128 characters remain consistent between both versions.
False
Reason — In the decimal number system, a number with both integer and fractional parts has digits raised to positive powers of 10 for the integer part and negative powers of 10 for the fractional part.