Skip to main content

CONVERSION BEETWEEN OCTAL AND BINARY BY TWO METHODS

Conversion Octal To Binary:
We can Convert Octal number into binary no by two methods:-
1. Convert Octal to Decimal and again Convert Decimal into Binary.
Ex-  (256)8=(?)2
Sol.  Convert it in Decimal
         (256)8
        =2x82 + 5x81 + 6 x 80
        =2x64+5x8+6x1
        =128+40+6
        = (174)10
          Now Convert it into Binary,
2
174
R
2
87
0
2
43
1
2
21
1
2
10
1
2
5
0
2
2
1

1
0


(174)10=(10101110)2
2. Convert to Octal to Binary with the help of list.
Determine the value of each digit according to the geven list:
0=000
1=001
2=010
3=011
4=100
5=101
6=110
7=111
Steps:-
  • Write  the value of each Digit according the list.
  • The formed number is equivalent to Binary.
Ex-  (256)8=(?)2
Sol.  Convert it in Binary with the help of list.
         (256)8=(010101110)2
                      =(10101110)2
Conversion Binary To Octal:
We can Convert binary number into Octal no by two methods:-
1. Convert Binary to Decimal and again Convert Decimal into Octal.
Ex-  
(10101110)2=
= 1x27 + 0x26 +1x25 +0x24 + 1x23 + 1x22 + 1x21 + 0x20
=1x128+0x64 + 1x32 + 0x16 + 1x8 + 1x4 + 1x2 + 0x1
= 128+32+8+4+2
= (174)10
          Now Convert it into Octal,

8
174
R
8
21
6

2
5

(174)10=(256)
8

2. Convert to Binary to Octal with the help of list.
Determine the value of each digit according to the geven list:
0=000
1=001
2=010
3=011
4=100
5=101
6=110
7=111
Steps:-
  • Write  the value of each Digit according the list.
  • The formed number is equivalent to Binary.
Ex-  (10101110)2=(?)8
Sol.  Convert it in Octal with the help of list.
         (10101110)2
        =10  101  110
        =010  101  110 (Add '0' to make three digit)
        = (256)8

Comments

  1. Plese give the steps of binary to hexa decimal and hexa decimal to binary an 2s complement

    ReplyDelete
  2. ya sure. Tqq Dear. Sry for late responce. I will update notes as soon as possible. TQ

    ReplyDelete

Post a Comment

Popular posts from this blog

Computer Generations

 Computer Generations   Computers have evolved over time through different generations, each marked by significant technological advancements and changes in design and architecture. These generations are often categorized based on the underlying hardware and the key developments that distinguish one Generation from another. Let's explore the main computer generations: First Generation Computers    The First Generation of computers refers to the initial period of electronic computing, characterized by the use of vacuum tubes as the primary electronic component. This Generation spans the 1940s and 1950s and is marked by groundbreaking developments in computer technology.  Examples of First-Generation Computers:  o ENIAC (Electronic Numerical Integrator and Computer): Completed in 1945, ENIAC was one of the first electronic general-purpose computers. It was designed to calculate artillery firing tables for the United States Army during World War ...

Computer Basic

  The word “computer” comes from the word “compute”, which means to calculate”. Charles Babbage is known as the ' Father of computer' .  A computer often referred to as a “data processor” because it can store, process, and retrieve data whenever desired.  The activity of processing data using a computer is called data processing.    Data processing consists of three sub activities:- (1)          Capturing input data (2)          Manipulating the data and (3)          Managing output results. Data : - Data is raw material used as input to data processing. Data can be anything like numerical, non-numerical or a mixture of both. Information : - Information is processed data obtained as output of data processing. Computer: - A computer is an electronic device which performs numerical calculation and logical calculation at hig...

Office Package and Features of Office Package

Most of the official jobs today are dependent on computers. Computer helps in accomplishing different types of official tasks with the help of 'Office Package'. With the help of 'Office Package ' to accomplish basic tasks like typing and composing letters, doing calculations and comparisons, manipulation data and generating multiple types of reports, making presentation for demonstration, seminars etc.   For example: MS Office, OpenOffice, etc. Office package includes the following applications: 1. Word Processor:  A word processor is a type of application software that enables to create a documents by enabling to type text, insert page number, header, footer, edit, modify , and to take print or save documents in soft copy for future use.   2. Spreadsheet:   A spreadsheet package is an application software that stores data in an organized way and help to  analyse, calculate, compare the data or values. It also enables to present information in graphs, pie c...