Access free live classes and tests on the app
Download
+
Unacademy
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA
Login Join for Free
avtar
  • ProfileProfile
  • Settings Settings
  • Refer your friendsRefer your friends
  • Sign outSign out
  • Terms & conditions
  • •
  • Privacy policy
  • About
  • •
  • Careers
  • •
  • Blog

© 2023 Sorting Hat Technologies Pvt Ltd

NTA UGC NET 2023 » NTA Study Materials » Computer Science » Binary Arithmetic
doubtsolving_ntaugc

Binary Arithmetic

In this article, we have explained binary arithmetic.

Table of Content
  •  

Binary is a base-2 number system that uses two values, 0 and 1, to represent a number. We can also call it true(1) and false state(0). A binary number is made the same way as we form a normal decimal number. 

Binary arithmetic is a very important part of various digital systems. Using various methods, we can perform addition, subtraction, multiplication, and division in binary numbers. These operations are much easier than decimal number arithmetic operations because the binary system has only two digits: 0 and 1.

Binary Arithmetic:

Binary arithmetic is essential to all digital computers and many other digital systems. Binary arithmetic includes the basic arithmetic operations of addition, subtraction, multiplication and division. The following sections highlight the rules that apply to these operations when they are performed on binary numbers.

Binary Addition:

It is a key for binary subtraction, multiplication, and division. Binary addition is performed in the same way as an addition in the decimal system and is easier than decimal addition as there are only 2 bits, 0 and 1. Carry and addition are the two steps involved in binary addition. Binary addition follows the following four basic rules: 

Case

A+B

Sum

Carry

1

0+0

0

0

2

0+1

1

0

3

1+0

1

0

4

1+1

0

1

In the fourth case, a binary addition creates a sum of (1 + 1 = 10), i.e. 0 is written in the given column and a carry of to the next column.

When adding more than a single-digit binary number, carry into higher-order columns as is done when adding decimal numbers. For example 11 and 10 = 101. In the first column, 1+0=1. In the second column, 1+1 =0 with a carry of 1 into the third column; hence it is 101. When we add 1 + 1.+ 1 (carry) produces 11, recorded as 1 with a carry to the next column. 

Rules of addition:

  1. The addition always starts with the rightmost side (LSB bit) and goes to the left side.

  2. The output is also low when a low bit is added to a low bit. There is no increment in the overall value of the number. Ex: 0+0=0

  3. When a high bit is added with a low, or a low bit is added with a high, output is always high. The overall value is incremented with one.

  4. When a high bit is added with high, output is high, with a carry. The value is incremented by one.

Binary Subtraction:

Binary subtraction is very easy as the addition subtraction of one bit from another. Subtraction and borrowing are the two steps involved in binary subtraction. It follows the following four basic rules:

Case

A-B

Subtract

Borrow

1

0-0

0

0

2

1-0

1

0

3

1-1

0

0

4

0-1

0

1

In rule 4, transfer (borrow) of 1 is performed as 0 has a lower value than one, so we cannot subtract from it, so we borrow one from the next column. However, borrowing from the next higher-order column is sometimes essential when subtracting. For example, it will be necessary to borrow binary numbers if we are trying to subtract one from a 0. In such a case, one is borrowed from the next higher-order column, which leaves 0 in that column and creates a ten, i.e., two being subtracted.

Binary Multiplication:

Binary multiplication is similar to decimal multiplication. However, as there are only 2 bits, 0 and 1, It is much simpler than decimal multiplication because there are only two possible results of multiplying two bits. There are four rules of binary multiplication.

Case

A*B

Multiplication

1

0*0

0

2

0*1

0

3

1*0

0

4

1*1

1

Binary Division:

The binary division method is the same as decimal division. Therefore, it is called the long division procedure. Example:

Binary Coded Decimal:

Binary Coded Decimal: In this code, instead of converting the entire decimal value into a pure binary form, each digit of a decimal number system is converted into its binary equivalent. A group of 4-bit numbers represents BCD. 4 bits can represent only digits because 4 bits are insufficient to specify various characters used by the computer as their ASCII value is high. In 6-bit BCD code, two more zone bits are added & we can represent 26, i.e., 64 different characters. 6-bit BCD code is sufficient to code the decimal digits (10), alphabetic characters (26) & other special symbols (28).

Binary Equivalent     Decimal Digit       

0000                                   0

0001                                    1 

0010                                    2

0011                                     3

0100                                    4

0101                                     5 

0110                                     6

0111                                      7

1000                                    8

1001                                     9

Extended Binary Coded Decimal Interchange Code:

Extended Binary Coded Decimal Interchange Code(EBCDIC)- It is an extended form of BCD where it can represent 256 characters, i.e. 2^8 characters. It also supports a large variety of printable characters & non-printable control characters. EBCDIC can be divided into two groups of 4-bit each which can be represented by one hex digit. In computers that use EBCDIC for the internal representation of characters, the Hexadecimal Number system is used as a shortcut notation for memory dump. 

Two types of formats :

 1. Zoned Decimal Format

 2. Packed Decimal Format.

A sign indicator is used in the zone position of the rightmost digit to represent whether the number is positive, negative or unsigned when a numeric value is represented in EBCDIC. For printing the Data, Zoned Decimal Format is used as printers print only those numeric characters in a Zoned Decimal Format. A lot of computers cannot perform arithmetic operations on Zoned Decimal Data. To perform arithmetic calculations, it had to be converted to Packed Decimal Format.

faq

Frequently asked questions

Get answers to the most common queries related to the NTA Examination Preparation.

What is a binary number?

Answer: In the binary number system, there are only two digits—0 and 1—and these two digits can represent any nu...Read full

How can all arithmetic operations be performed on binary numbers?

Answer: The arithmetic of binary numbers involves binary addition, binary subtraction, binary multiplication, or bin...Read full

What is BCD?

Answer: In this code, each digit of a decimal number system is converted into its binary equivalent rather than the ...Read full

What is EBCDIC?

Answer: In this code, it is possible to represent 256 (2⁸). It also allows a large variety of printable characters...Read full

What are the rules for binary addition?

Answer: Rules of Binary Addition are: 0+0=0, 1+0=1, 0+1=1, 1+1=10.

Answer: In the binary number system, there are only two digits—0 and 1—and these two digits can represent any number. It is because binary arithmetic operation starts from the least significant bit, i.e. from the rightmost side.

Answer: The arithmetic of binary numbers involves binary addition, binary subtraction, binary multiplication, or binary division.

Answer: In this code, each digit of a decimal number system is converted into its binary equivalent rather than the entire decimal value into a pure binary form. Like four is represented as 0100, and 5 is represented as 0101.

Answer: In this code, it is possible to represent 256 (2⁸). It also allows a large variety of printable characters & non-printable control characters. EBCDIC can be easily divided into two 4-bit groups. Each of these 4-bit groups can be represented by one hex digit. Thus Hexadecimal Number system is used as a shortcut notation for memory dump by computers that use EBCDIC for the internal representation of characters.

Answer: Rules of Binary Addition are: 0+0=0, 1+0=1, 0+1=1, 1+1=10.

Crack NTA UGC with Unacademy

Get subscription and access unlimited live and recorded courses from India’s best educators


  • Structured syllabus
  • Daily live classes
  • Ask doubts
  • Tests & practice
Learn more

Notifications

Get all the important information related to the NTA UGC Examination including the process of application, important calendar dates, eligibility criteria, exam centers etc.

Application Process
NTA UGC Results
UGC NET Admit Card
UGC NET Eligibility Criteria 2023
UGC NET Exam Pattern 2023: Paper 1 & Paper 2 Marking Scheme
See all

Related articles

Learn more topics related to Computer Science
What is the Instruction Cycle in Computer Architecture

The instruction cycle helps the CPU perform its primary job of expecting tasks. This article will discuss the steps involved in the instruction cycle and an example of the instruction cycle in detail.

What is Data Structure?

Data structure is putting together data in an organised manner. Data is arranged as primitive data structure, non-primitive data structure, and linear data structure.

Types of Registers

Different types of registers are available nowadays. Read this article to learn about Accumulator, MAR, MDR, and more.

Types of Queues and their Applications

Queue is a linear structure in which actions are conducted in a certain order. This article contains the study material notes on the types of queues - linear queue, circular queue, priority queue, dequeue, and their applications.

See all
Access more than

7,940+ courses for NTA-UGC-NET and SET Exams

Get subscription
freeliveclasses_ntaugc
testseries_ntaugcnet
Subscribe Now
.
Company Logo

Unacademy is India’s largest online learning platform. Download our apps to start learning


Starting your preparation?

Call us and we will answer all your questions about learning on Unacademy

Call +91 8585858585

Company
About usShikshodayaCareers
we're hiring
BlogsPrivacy PolicyTerms and Conditions
Help & support
User GuidelinesSite MapRefund PolicyTakedown PolicyGrievance Redressal
Products
Learner appLearner appEducator appEducator appParent appParent app
Popular goals
IIT JEEUPSCSSCCSIR UGC NETNEET UG
Trending exams
GATECATCANTA UGC NETBank Exams
Study material
UPSC Study MaterialNEET UG Study MaterialCA Foundation Study MaterialJEE Study MaterialSSC Study Material

© 2025 Sorting Hat Technologies Pvt Ltd

Unacademy
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA

Share via

COPY