9 votes 9 votes The number of digit 1 present in the binary representation of $3 \times 512 + 7 \times 64 + 5 \times 8 + 3$ is 8 9 10 12 Digital Logic isro2007 digital-logic number-representation + – go_editor asked Jun 10, 2016 go_editor 12.2k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 28 votes 28 votes Option B 3*512 + 7*64 +5*8+3 =(2+1)29 + (22+2+1)26 +(22+1)23+(2+1) =210+29+28+27+26+25+23+21+20 =11111101011 Therefore Total Number of 1's =9 shivanisrivarshini answered Jun 10, 2016 • selected Jun 25, 2016 by LeenSharma shivanisrivarshini comment Share Follow See all 0 reply Please log in or register to add a comment.
8 votes 8 votes Option B The octal representation of the given number is 3753 (the given number is 3*8^3+7*8^2+5*8+3.so it is easy to represent in octal) then octal to binary conversion. 011 111 101 011 Anu answered Jun 25, 2016 Anu comment Share Follow See all 0 reply Please log in or register to add a comment.
6 votes 6 votes 3*512+7*64+5*8+3 As we can see that 512=2^9 have one 1 64=2^6 have one 1 8=2^3 have one 1 Hence,they remains as same in no of 1's and when any other no is multiplied by themselves. So, no of 1's is only the count of the no of 1's in other multiplicant. 3=011 # of 1's=2 7=111 # of 1's=3 5=101 # of 1's=2 3=011 # of 1's=2 --------------------- Total # of 1's=9 ayushigupta answered Jun 25, 2016 ayushigupta comment Share Follow See all 3 Comments See all 3 3 Comments reply shashi_shashank commented Feb 16, 2018 reply Follow Share superb solution 0 votes 0 votes RohanGhosh commented Nov 3, 2019 reply Follow Share Best explanation 0 votes 0 votes midhunraj commented Jan 3, 2020 reply Follow Share wait a min, I get everything except that last line. How you get the no of 1s are 9? Lets say a = 3 = 11 and b = 2 = 10. a + b = 100. So the number of 1s are not added... 0 votes 0 votes Please log in or register to add a comment.
1 votes 1 votes 9 ones Option B is correct Shubham Sharma 2 answered Mar 3, 2017 Shubham Sharma 2 comment Share Follow See all 0 reply Please log in or register to add a comment.