Overview of Number System
Overview of Number System
The decimal numeral system (also called base ten or occasionally denary) uses
various symbols (digits) for no more than ten distinct values (0, 1, 3, 4, 5, 6, 7, 8,
and 9)
the letters A through F, which represent the decimal values 10 through 15.
Next, group the binary digits into sets of threes starting with the least significant
Solution
Add leading zeros or remove leading zeros to group into sets of three binary
digits.
Method 2
decimal number system and thereafter convert the result to an octal number
system.
cmpnote
11100101 2 blog
Learn more
= 1x27+1x26+1x25+0x24+0x2 3+1x22+0x21+1x20
= 128+64+32+0+0+4+0+1
= 22910
Next convert 22910 to base eight by dividing 229 by 8 and writing down the
remainder "R"
8229R
825 5
83 4
0 3
Pick “R” from bottom to top
Therefore, 111001012 = 3458
b. Binary to Hexadecimal
A binary to Hexadecimal table conversion is needed to directly convert from
binary to Hex. The table is given below.
Next, group the binary digits into sets of four, starting with the least significant
(rightmost) digits.Then, look up each group in the table above.
c. Binary to Decimal
There are many methods of converting Binary to decimals. Let’s use the normal
=(1×210)+(1×29)+(1×28)+(1×27)+(1×26)+(1×25)+(1×24)+(1×23)+(1×22)+(0×21)1+
(0×20)
=1024+512+256+128+0+0+0+0+0+0+0
=1920
Therefore 111100000002 =192010
=(1×28)+(0×27)+(1×26)+(1×25)+(1×24)+(0×23)+(0×22)+(1×21)1+(1×20)+(1×2-1)+
(1×2-2)+(0×2-3+(1×2-4)
=1×256+0×128+1×64+1×32+1×16+0×8+0×4+1×2+1×1+1×1/4+1×1/8+0×1/16+1
×1/32
=256+0+64+32+16+0+0+2+1+1/4+1/8+0+1/32
=467+0.25+0.125+0+0.03125
=371.40625
a. Decimal to Binary
To convert from Decimal to binary, divide the given decimal number by 2 and
write down the remainder until the decimal number becomes zero
21920R
2960 0
2480 0
2240 0
2120 0
260 0
230 0
215 0
27 1
23 1
21 1
0 1
zero
2371R
21851
246 1
223 0
211 1
25 1
22 1
21 0
0 1
2W.40625
20 .8125
21 .625
21 .25
20 .5
1 .0
Picking "W" from top to bottom, we have 01101 which is the same as 1101
Merging the two results we have 101110011.1101
Therefore 371.4062510 = 101110011.11012
b. Decimal to Octal
Example 1: Convert 179210 to base 8
Solution
81792R
8224 0
828 0
83 4
0 3
161792R
16112 0
167 0
0 7
Solution
1647806R Hex R
162987 14E
16186 11 B
1611 10A
0 11 B
a. Octal to Binary
Converting from octal to binary is as easy as converting from binary to octal.
Simply look up each octal digit to obtain the equivalent group of three binary
digits.
Solution
Octal = 3 4 5
Binary = 011 100 101
therefore 3458 = 0111001012 = 111001012
Binary 11100101 = 1110 0101
Octal to Decimal
Example 1: Convert 3458 to decimal
Solution
a. Hexadecimal to Binary
Converting from hexadecimal to binary is as easy as converting from binary to
hexadecimal. Simply look up each hexadecimal digit to obtain the equivalent
D = 1101
E = 1110
Putting the binary number together we have
A2DE16 = 10100010110111102
b. Hexadecimal to Octal
When converting from hexadecimal to octal, it is often easier to first convert the
hexadecimal number into binary and then from binary into octal.
001 = 1
010 = 2
001 = 1
011 = 3
011 = 3
110 = 6
It implies that 10100010110111102 = 121336 octal
A2DEhex
= ((A) * 16 3) + (2 * 16 2) + ((D) * 16 1) + ((E) * 16 0)
REPLY
REPLY
REPLY
REPLY
God bless and increase your influence. Your blog has been of great
help
REPLY
Enter comment
Popular posts from this blog
An examination is a formal test that you take to show your knowledge or ability in
a particular subject, or to obtain a qualification. This section of my blog is
designed to provide 90 objective examination questions covering first, second …
READ MORE
Curriculum refers to the lessons and academic content taught in a nation, state,
school or a specific course or program. This post contains a complete curriculum
in Computer Studies as compiled by the Nigeria Ministry of Education. First, …
READ MORE
READ MORE
Powered by Blogger
About me
Home
JSS 1 Note
JSS 2 Note
JSS 3 Note
SSS 1 Note
SSS 2 Note
SSS 3 Note
Exam Questions
Syllabus
Computer Studies
Scheme of Work
Report Abuse