Decimal to Binary and Binary to Decimal Conversion

preview_player
Показать описание
Python Programming: Decimal to Binary & Binary to Decimal Conversion
Topics discussed:
1. Introduction to Number Systems.
2. Decimal to Binary Conversion.
3. Binary to Decimal Conversion.

Music:
Axol x Alex Skrindo - You [NCS Release]

#PythonByNeso #PythonProgramming #DecimalToBinary #BinaryToDecimal
Рекомендации по теме
Комментарии
Автор

Sir please continue Python topics every day, do not skip a day.

nehap-
Автор

158/2 = 79 (0)
79/2 = 39 (1)
39/2 = 19 (1)
19/2 = 9 (1)
9/2 = 4 (1)
4/2 = 2 (0)
2/2 = 1 (0)
1/2 = 0 (1)
Ans. for 1 = 10011110 base 2

2. 110011 = 1 x 2^5 + 1 x 2^4 + 1 x 2^1 + 1 x 2^0
= 32 + 16 + 2 + 1
= 51 base 10

leealvin
Автор

Convert (0111010101) base 2 to decimal and then to binary again the answer is not matching to the former binary number (0111010101) base 2.

sanjanaswain
Автор

Is this the last video in the Python coding series??

talharizwan
Автор

Sir please explain read and write in python ❤❤❤❤

majjiharish
Автор

2 / 158 = 0
2/ 79 = 1
2/39 = 1
2/19 = 1
2/9 = 1
2/4 = 0
2/2 = 0
2/1 = 1

1*1+1*2+1*16+1*32 = 51

1} = 10011110
2} = 51
Cheers, great content

wayneitaru
Автор

home work answers:
158 the binary would be : 10011110
110011 the decimal would be : 51

somanathking
Автор

(158)10 = (10011110)2

(110011)2 = (51)10

ShorifulIslam-thhy