Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

Binary system

Rating
-
Sold
-
Pages
5
Uploaded on
24-05-2025
Written in
2024/2025

Note for information technology

Institution
Course

Content preview

Weighted Binary Systems
The values assigned to consecutive places in the decimal system which is a
place value system are 10⁴, 10³, 10², 10¹, 10⁰, 10⁻¹, 10⁻², 10⁻³… and so on from
left to right. It is easily can be understood that the weight of digit of the decimal
system is ‘10’.


For example:


(3546.25)10 = 3 x 10³ + 5 x 10² + 4 x 10¹ + 6 x 10⁰ + 2 x 10⁻¹ + 5 x 10⁻²



Binary Weights
Whenever any binary number appears, its decimal equivalent can be found
easily as follows.


●​ When there is 1 in a digit position, weight of that position should be
added.
●​ When there is 0 in a digit position, weight of that position should be
disregarded.
For example binary number 1100 has a decimal equivalent of 8 + 4 + 0 + 0 = 12.


8421 Code or BCD Code
The decimal numbers 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 can be expressed in Binary
numbers as shown in the following table. All these binary numbers again
expressed in the last column by expanding into 4 bits. As per the weighted
binary digits, the 4 Bit binary numbers can be expressed according to their
place value from left to right as 8421 (2³ 2² 2¹ 2⁰ = 8421).



DECIMAL NUMBER BINARY NUMBER 4 BIT EXPRESSION(8421)


0 0 0000

, DECIMAL NUMBER BINARY NUMBER 4 BIT EXPRESSION(8421)


1 1 0001

2 10 0010

3 11 0011

4 100 0100

5 101 0101

6 110 0110

7 111 0111

8 1000 1000

9 1001 1001




As per the above expression all the decimal numbers written in the 4 Bit binary
code in the form of 8421 and this is called as 8421 Code and also as Binary
coded decimal BCD.


As this is a straight code, any Decimal number can be expressed easily because
the weights of the positions are straight for easy conversion into this 8421
code.


2421 Code
This code also a 4 bit application code where the binary weights carry 2, 4, 2, 1
from left to right.

Written for

Course

Document information

Uploaded on
May 24, 2025
Number of pages
5
Written in
2024/2025
Type
Class notes
Professor(s)
Sharanpreet
Contains
All classes

Subjects

$8.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
jaspreetkaur15

Also available in package deal

Get to know the seller

Seller avatar
jaspreetkaur15 Mata gujri college
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
11 months
Number of followers
0
Documents
12
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions