Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  The 2's complement representation of the ... Start Learning for Free
The 2's complement representation of the decimal value -15 is
  • a)
    1111
  • b)
    11111
  • c)
    111111
  • d)
    10001
Correct answer is option 'D'. Can you explain this answer?
Verified Answer
The 2's complement representation of the decimal value -15 isa)111...
is the correct ans.In 2's complement representation, positive numbers are represented in simple binary form and negative numbers are represented in its 2's complement form. So, for -15, we have to complement its binary value -01111 and add a 1 to it, which gives 10001. Option D.
View all questions of this test
Most Upvoted Answer
The 2's complement representation of the decimal value -15 isa)111...
2's Complement Representation

- The 2's complement representation of a negative number is obtained by taking the 1's complement of the absolute value of the number and adding 1 to the result.
- For example, to find the 2's complement representation of -15, we first find the absolute value of 15, which is 15 itself.
- Then we find the 1's complement of 15, which is obtained by flipping all the bits in the binary representation of 15.
- The binary representation of 15 is 1111, so the 1's complement of 15 is 0000.
- Finally, we add 1 to the 1's complement to get the 2's complement representation of -15, which is 0001.

Binary Representation of -15

- The binary representation of -15 in 2's complement notation is obtained by taking the 2's complement of 15.
- We have already seen that the 2's complement of 15 is 0001.
- However, since we are representing a negative number, we need to use the sign bit, which is the leftmost bit in the binary representation.
- In 2's complement notation, the sign bit is 1 for negative numbers and 0 for non-negative numbers.
- Therefore, the binary representation of -15 is 10001, where the leftmost bit is the sign bit.

Answer

- The correct answer is option 'D', which is 10001.
- This is the binary representation of -15 in 2's complement notation.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

The 2's complement representation of the decimal value -15 isa)1111b)11111c)111111d)10001Correct answer is option 'D'. Can you explain this answer?
Question Description
The 2's complement representation of the decimal value -15 isa)1111b)11111c)111111d)10001Correct answer is option 'D'. Can you explain this answer? for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about The 2's complement representation of the decimal value -15 isa)1111b)11111c)111111d)10001Correct answer is option 'D'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for The 2's complement representation of the decimal value -15 isa)1111b)11111c)111111d)10001Correct answer is option 'D'. Can you explain this answer?.
Solutions for The 2's complement representation of the decimal value -15 isa)1111b)11111c)111111d)10001Correct answer is option 'D'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of The 2's complement representation of the decimal value -15 isa)1111b)11111c)111111d)10001Correct answer is option 'D'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of The 2's complement representation of the decimal value -15 isa)1111b)11111c)111111d)10001Correct answer is option 'D'. Can you explain this answer?, a detailed solution for The 2's complement representation of the decimal value -15 isa)1111b)11111c)111111d)10001Correct answer is option 'D'. Can you explain this answer? has been provided alongside types of The 2's complement representation of the decimal value -15 isa)1111b)11111c)111111d)10001Correct answer is option 'D'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice The 2's complement representation of the decimal value -15 isa)1111b)11111c)111111d)10001Correct answer is option 'D'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
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