Question 2Asked in Bihar STET 2024 Paper II Computer Science, 11 Jun 2024, Shift 1 (10:00 AM)

The 2's complement of a binary number is used in subtractors to:एक द्विआधारी संख्या के 2 के पूरक का उपयोग घटावकों में किया जाता है:

एक द्विआधारी संख्या के 2 के पूरक का उपयोग घटावकों में किया जाता है:
  1. ASimplify the subtraction processघटाव प्रक्रिया को सरल करें
  2. BEliminate the need for carry inputकैरी इनपुट की आवश्यकता को समाप्त करें
  3. CConvert subtraction to addition with inverted subtrahendउल्टे सबट्रहेंड के साथ जोड़ के लिए घटाव को परिवर्तित करें
  4. DEnsure only positive results in subtractionघटाव में केवल सकारात्मक परिणाम सुनिश्चित करें
Show answerHide answer

Correct answer: (C) Convert subtraction to addition with inverted subtrahendउल्टे सबट्रहेंड के साथ जोड़ के लिए घटाव को परिवर्तित करें

Explanation

In 2's-complement arithmetic A − B is computed as A + (2's complement of B), so the same adder circuit performs subtraction by adding the inverted subtrahend plus 1.2's complement अंकगणित में A − B को A + (B का 2's complement) के रूप में निकाला जाता है, इसलिए वही adder सर्किट उल्टे subtrahend में 1 जोड़कर घटाव कर लेता है।

From Bihar STET 2024 Paper II Computer Science PYQ, 11 Jun 2024, Shift 1 (10:00 AM)

This is question 2 of Bihar STET 2024 Paper II Computer Science PYQ, 11 Jun 2024, Shift 1 (10:00 AM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.