GATE Exam  >  GATE Questions  >  The number of 1’s in the 8-bit unsigned... Start Learning for Free
The number of 1’s in the 8-bit unsigned representation of 127 in its 2’s complement form is m and that in 1’s complement form is n. What is the value of m : n?
  • a)
    2 : 1
  • b)
    1 : 2
  • c)
    3 : 1
  • d)
    1 : 3
Correct answer is option 'A'. Can you explain this answer?
Most Upvoted Answer
The number of 1’s in the 8-bit unsigned representation of 127 in...
It seems like your sentence is incomplete. Could you please provide more information or clarify what you are referring to?
Free Test
Community Answer
The number of 1’s in the 8-bit unsigned representation of 127 in...
Concept:
1’s complement representation of a binary number is obtained by toggling all the bits, i.e. replacing 1 with 0, and 0 with 1.
2’s complement representation of a binary number is obtained by adding 1 to the 1’s complement representation.
Application:
(127)10 = (01111111)2
1’s complement representation will be:
1’s complement = 10000000
Number of 1’s is the 1’s complement is, n = 1
Now, the two (2’s) complement representation will be:
2’s complement = 10000000 + 1
= 10000001
Number of 1’s in 2’s complement is, m = 2
∴ The required ratio is m : n = 2 : 1
Explore Courses for GATE exam
The number of 1’s in the 8-bit unsigned representation of 127 in its 2’s complement form is m and that in 1’s complement form is n. What is the value of m : n?a)2 : 1b)1 : 2c)3 : 1d)1 : 3Correct answer is option 'A'. Can you explain this answer?
Question Description
The number of 1’s in the 8-bit unsigned representation of 127 in its 2’s complement form is m and that in 1’s complement form is n. What is the value of m : n?a)2 : 1b)1 : 2c)3 : 1d)1 : 3Correct answer is option 'A'. Can you explain this answer? for GATE 2024 is part of GATE preparation. The Question and answers have been prepared according to the GATE exam syllabus. Information about The number of 1’s in the 8-bit unsigned representation of 127 in its 2’s complement form is m and that in 1’s complement form is n. What is the value of m : n?a)2 : 1b)1 : 2c)3 : 1d)1 : 3Correct answer is option 'A'. Can you explain this answer? covers all topics & solutions for GATE 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for The number of 1’s in the 8-bit unsigned representation of 127 in its 2’s complement form is m and that in 1’s complement form is n. What is the value of m : n?a)2 : 1b)1 : 2c)3 : 1d)1 : 3Correct answer is option 'A'. Can you explain this answer?.
Solutions for The number of 1’s in the 8-bit unsigned representation of 127 in its 2’s complement form is m and that in 1’s complement form is n. What is the value of m : n?a)2 : 1b)1 : 2c)3 : 1d)1 : 3Correct answer is option 'A'. Can you explain this answer? in English & in Hindi are available as part of our courses for GATE. Download more important topics, notes, lectures and mock test series for GATE Exam by signing up for free.
Here you can find the meaning of The number of 1’s in the 8-bit unsigned representation of 127 in its 2’s complement form is m and that in 1’s complement form is n. What is the value of m : n?a)2 : 1b)1 : 2c)3 : 1d)1 : 3Correct answer is option 'A'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of The number of 1’s in the 8-bit unsigned representation of 127 in its 2’s complement form is m and that in 1’s complement form is n. What is the value of m : n?a)2 : 1b)1 : 2c)3 : 1d)1 : 3Correct answer is option 'A'. Can you explain this answer?, a detailed solution for The number of 1’s in the 8-bit unsigned representation of 127 in its 2’s complement form is m and that in 1’s complement form is n. What is the value of m : n?a)2 : 1b)1 : 2c)3 : 1d)1 : 3Correct answer is option 'A'. Can you explain this answer? has been provided alongside types of The number of 1’s in the 8-bit unsigned representation of 127 in its 2’s complement form is m and that in 1’s complement form is n. What is the value of m : n?a)2 : 1b)1 : 2c)3 : 1d)1 : 3Correct answer is option 'A'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice The number of 1’s in the 8-bit unsigned representation of 127 in its 2’s complement form is m and that in 1’s complement form is n. What is the value of m : n?a)2 : 1b)1 : 2c)3 : 1d)1 : 3Correct answer is option 'A'. Can you explain this answer? tests, examples and also practice GATE tests.
Explore Courses for GATE exam
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev