Skip to main content

Number System Conversion Decimal and Binary

How to find binary to decimal and decimal to binary number ? 

Decimal to binary conversion:-

There are multiple ways of conversion decimal numbers to  binary numbers, The most commonly used is the dibble-dabble method. The method is to decimal numbers to be converted is repeatedly divided by 2. The remainders 0 & 1 so obtained are then read in the reverse order to obtain the binary equivalent of the decimal number.
lets take an example:-
Example :- Convert to decimal to binary 27510 = ?
 how to find decimal to binary number?

Steps to solve the above example:-

  Step1: first take 275 Decimal number.

  Step2: Then divide by the number 2.

  Step3: If the given decimal number is completely divide then remainder is 0.

  Step4: If the given decimal number is not complete divide then remainder is 1.

  Step5: Then take remainder at the side of the remaining digit below like a 137 --> 1.

  Step6: Then continue the divide at the end when digit is divided in the form of 1 or 0.

  Step7: Then take and collect the number which is in the form of 0 or 1 into the upward dirction as given above in the figure as shown.

Binary to Decimal conversion:-

The decimal equivalent is obtained by multiplying each binary digit with its positional value. The right most bit has positional value 20 , the second right most bit has value 21  and so on.
Example :- convert into binary to decimal number 10101012 = ?

 how to find binary to decimal numbers                                                                                                                                                                      

 Steps to solve the binary to decimal conversion:

Step1: Take 1010101 and check its base is 2.

Step2: Now count the digit in the given binary number there are 7 digits in the given binary number.

Step3: Now take a first digit 1 and multiply by 2 each digits in the given binary number.

Step4: Place the power of digit 2 counting with 0 to 6 in the decrease form which are digits like 6,5,4,3,2,1,0 are the seven digits in the decrease form.

Step5: Seperate each multiplication by the (+) sign like this 1*(2)^6 + 0*2^5..... so on.

Step6: Solve and complete to get the final answer and final answer will be decimal number.

-----------------------------------------------------------------------------------------------------------------------------

My latest post is here links below about the databases technology

What are the components of data model in [DBMS] Relational Database Management System?

There are five main components of data model... 👉 click here ðŸ‘ˆ

What is stability of the distributed database management system?

In the distributed database model there are.... 👉 click here👈

Comments

Popular posts from this blog

What are the three main purpose of an operating system?

What are the three main purpose of an operating system? There are three main purpose of an operating system. 1. The first main purpose is User interface between hardware and users. 2. The second main purpose is to operate the internal parts of the computer properly and systematically using binary code system in the form of 0 and 1. 3. The third main purpose is to provide an environment for development of an application software and program to uses the hardware resources of the computer and connected to the computer parts which provides output to the user, the output from application software is very useful for users. Interface between user and hardware device  The operating system uses all types of interface such as command line interface, batch command interface and Graphical User Interface to interact with users to hardware peripheral devices through the monitor screen. Monitor has a big role making interface between hardware and users. Monitor visualization of all types of o

what are the function of the joystick and light pen?

Q 1. State the functions of a joystick and that of a light pen? Introduction to the joystick device, virtual or soft joystick tool, game controller, virtual or soft game controller and light pen topics are covered below here: Joystick What is the meaning of the joystick in computer? What is the joystick as a peripheral device in the computer system? What is main use of joystick in computer system peripheral devices? What is the purpose of the joystick in computer? What are the types of joysticks in the peripheral system for game purpose? What do you mean by analog joystick in peripheral system? What are the advantages of analog joystick device? What are the disadvantages or drawbacks of analog joystick device? What are the uses of joysticks? What are top 5 uses of joystick device in the computer system peripheral? Where is the use of joystick? How to connect the joystick for game in computer system? Can you connect the joystick to the laptop? Why do n

Discuss the role played by the various components of the CPU

Q Discuss the roles played by the various components of CPU? The CPU is the brain of the computer system. All major calculations, manipulations and comparisons are made by the CPU. The CPU is also responsible for activating and controlling the operations performed by all other units of the computer system. The major components of the CPU are: a) Arithmetic Logic Unit (A.L.U.) b) Control Unit (CU) c) Primary Memory Arithmetic Logic Unit (A.L.U.): What is ALU Arithmetic logic Unit? ALU is a part of the CPU. It is a part to calculate the logical term in the CPU where the term refers to an operation of logical type. It also calculates the arithmetic terms in the CPU where the term refers to an operation of arithmetic type. It is used to direct access through the processor controller. The ALU connected to the input and output peripheral system through the bus with the different types of bus. Such as control bus, data bus etc. ALU is a part of the CPU that can calculate the input