Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
+1 vote
12.4k views
in Computer by (52.7k points)

Subtract 28(10) from 14(10) using 2’s complement.

1 Answer

+1 vote
by (46.7k points)
selected by
 
Best answer

14 – 28 = -14.

14(10) = 01110(2), 29(10) = 11100(2)

1’s complement of 11100 is 00011

2’s complement is 00011 + 1 = 00100

Now add, minuend with subtrahend, i.e.,01110 + 00100= 10010

Find the 1’s complement of 10010 is 01101 and

2’s complement of 01101 is 01101 + 1 = 1110(1).

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...