Is there anything wrong if the out come is zeroAdding and subtracting two's complementWhy we need to add 1 while doing 2's complementNormalised Floating point representationDefinition of Two's Complement?What would be the binary bit pattern in memory representing +66?Need explanation regarding the idea of two's complementWhat is the most negative number that can be represented in binary?How to find 9s complement of a given decimal number?Seven bit and two complimentWhat is the meaning of the number after Arithmetic shift?

How did sloshing prevent the Apollo Service Module from moving safely away from the Command Module and how was this fixed?

Should I hide my travel history to the UK when I apply for an Australian visa?

Is there ever a reason not to use Java 8's parallelSort?

Has there ever been a cold war other than between the U.S. and the U.S.S.R.?

Phrasing "it says" or "it reads"

Show that there are infinitely more problems than we will ever be able to compute

Park the computer

How to deal with administrative duties killing the research spirit?

Two queries on triangles, the sides of which have rational lengths

Does taking on an assistant professor position prevent me from doing post-docs later?

Why do we need a bootloader separate than our application program in MCU's?

What is meaning of 4 letter abbreviations in Roman names like Titus Flavius T. f. T. n. Sabinus?

Does the Defensive Duelist feat stack with the Warforged integrated protection?

Term for a character that only exists to be talked to

Will electrically joined dipoles of different lengths, at right angles, behave as a multiband antenna?

How frequently do Russian people still refer to others by their patronymic (отчество)?

Why did moving the mouse cursor cause Windows 95 to run more quickly?

What is this arch-and-tower near a road?

How to respond to someone who condemns behavior similar to what they exhibit?

Could you sell yourself into slavery in the USA?

Do I need to be legally qualified to install a Hive smart thermostat?

Data normalization before or after train-test split?

How to improve the size of cells in this table?

Contributing to a candidate as a Foreign National US Resident?



Is there anything wrong if the out come is zero


Adding and subtracting two's complementWhy we need to add 1 while doing 2's complementNormalised Floating point representationDefinition of Two's Complement?What would be the binary bit pattern in memory representing +66?Need explanation regarding the idea of two's complementWhat is the most negative number that can be represented in binary?How to find 9s complement of a given decimal number?Seven bit and two complimentWhat is the meaning of the number after Arithmetic shift?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








-1















i'm doing an exercise on two complement, the question sound like this:



  1. Solving 11base10 – 11base10 using 2’s complement will lead to a problem; by using 7-bit data representation. Explain what the problem is and suggest steps to overcome the problem.

i got 0 for the answer because 11-11=0, what problem if the answer is 0?
and is there a way to overcome it?










share|improve this question




























    -1















    i'm doing an exercise on two complement, the question sound like this:



    1. Solving 11base10 – 11base10 using 2’s complement will lead to a problem; by using 7-bit data representation. Explain what the problem is and suggest steps to overcome the problem.

    i got 0 for the answer because 11-11=0, what problem if the answer is 0?
    and is there a way to overcome it?










    share|improve this question
























      -1












      -1








      -1








      i'm doing an exercise on two complement, the question sound like this:



      1. Solving 11base10 – 11base10 using 2’s complement will lead to a problem; by using 7-bit data representation. Explain what the problem is and suggest steps to overcome the problem.

      i got 0 for the answer because 11-11=0, what problem if the answer is 0?
      and is there a way to overcome it?










      share|improve this question














      i'm doing an exercise on two complement, the question sound like this:



      1. Solving 11base10 – 11base10 using 2’s complement will lead to a problem; by using 7-bit data representation. Explain what the problem is and suggest steps to overcome the problem.

      i got 0 for the answer because 11-11=0, what problem if the answer is 0?
      and is there a way to overcome it?







      twos-complement






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 25 at 18:41









      X unknownX unknown

      13 bronze badges




      13 bronze badges






















          1 Answer
          1






          active

          oldest

          votes


















          0














          So 11 in base 10 is the following in 7-bit base 2:



          000 1011



          To subtract 11, you need to find -11 first. One of the many ways is to invert all the bits and add 1, leaving you with:



          111 0101



          Add the two numbers together:



          1000 0000



          Well, that's interesting. The 8th bit is a 1.



          You didn't end up with zero. Or did you?



          That's the question that your homework is attempting to get you to answer.






          share|improve this answer























          • it means that in 8 bit the outcome would be 128 because there is 1 at there

            – X unknown
            Mar 25 at 18:57











          • i think i got the answer for it thank you so much

            – X unknown
            Mar 25 at 18:58











          • Please feel free to mark this question as the answer if that helped.

            – Broam
            Apr 4 at 19:24










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55344501%2fis-there-anything-wrong-if-the-out-come-is-zero%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          So 11 in base 10 is the following in 7-bit base 2:



          000 1011



          To subtract 11, you need to find -11 first. One of the many ways is to invert all the bits and add 1, leaving you with:



          111 0101



          Add the two numbers together:



          1000 0000



          Well, that's interesting. The 8th bit is a 1.



          You didn't end up with zero. Or did you?



          That's the question that your homework is attempting to get you to answer.






          share|improve this answer























          • it means that in 8 bit the outcome would be 128 because there is 1 at there

            – X unknown
            Mar 25 at 18:57











          • i think i got the answer for it thank you so much

            – X unknown
            Mar 25 at 18:58











          • Please feel free to mark this question as the answer if that helped.

            – Broam
            Apr 4 at 19:24















          0














          So 11 in base 10 is the following in 7-bit base 2:



          000 1011



          To subtract 11, you need to find -11 first. One of the many ways is to invert all the bits and add 1, leaving you with:



          111 0101



          Add the two numbers together:



          1000 0000



          Well, that's interesting. The 8th bit is a 1.



          You didn't end up with zero. Or did you?



          That's the question that your homework is attempting to get you to answer.






          share|improve this answer























          • it means that in 8 bit the outcome would be 128 because there is 1 at there

            – X unknown
            Mar 25 at 18:57











          • i think i got the answer for it thank you so much

            – X unknown
            Mar 25 at 18:58











          • Please feel free to mark this question as the answer if that helped.

            – Broam
            Apr 4 at 19:24













          0












          0








          0







          So 11 in base 10 is the following in 7-bit base 2:



          000 1011



          To subtract 11, you need to find -11 first. One of the many ways is to invert all the bits and add 1, leaving you with:



          111 0101



          Add the two numbers together:



          1000 0000



          Well, that's interesting. The 8th bit is a 1.



          You didn't end up with zero. Or did you?



          That's the question that your homework is attempting to get you to answer.






          share|improve this answer













          So 11 in base 10 is the following in 7-bit base 2:



          000 1011



          To subtract 11, you need to find -11 first. One of the many ways is to invert all the bits and add 1, leaving you with:



          111 0101



          Add the two numbers together:



          1000 0000



          Well, that's interesting. The 8th bit is a 1.



          You didn't end up with zero. Or did you?



          That's the question that your homework is attempting to get you to answer.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 25 at 18:50









          BroamBroam

          4,03618 silver badges37 bronze badges




          4,03618 silver badges37 bronze badges












          • it means that in 8 bit the outcome would be 128 because there is 1 at there

            – X unknown
            Mar 25 at 18:57











          • i think i got the answer for it thank you so much

            – X unknown
            Mar 25 at 18:58











          • Please feel free to mark this question as the answer if that helped.

            – Broam
            Apr 4 at 19:24

















          • it means that in 8 bit the outcome would be 128 because there is 1 at there

            – X unknown
            Mar 25 at 18:57











          • i think i got the answer for it thank you so much

            – X unknown
            Mar 25 at 18:58











          • Please feel free to mark this question as the answer if that helped.

            – Broam
            Apr 4 at 19:24
















          it means that in 8 bit the outcome would be 128 because there is 1 at there

          – X unknown
          Mar 25 at 18:57





          it means that in 8 bit the outcome would be 128 because there is 1 at there

          – X unknown
          Mar 25 at 18:57













          i think i got the answer for it thank you so much

          – X unknown
          Mar 25 at 18:58





          i think i got the answer for it thank you so much

          – X unknown
          Mar 25 at 18:58













          Please feel free to mark this question as the answer if that helped.

          – Broam
          Apr 4 at 19:24





          Please feel free to mark this question as the answer if that helped.

          – Broam
          Apr 4 at 19:24








          Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







          Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55344501%2fis-there-anything-wrong-if-the-out-come-is-zero%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

          155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해