1 / 10

BINARNI RAČUN

ABECEDA RAČUNALA. BINARNI RAČUN. 1+1=10. Binarne znamenke 0,1. ?. 1. 0. 0. 1. 1. 1. 0. 1. 1. Koliko je ?. 10 0 11 (2) + 1011 (2). 1. 1. Binarno:. 1 + 1 + 1 = 11. +. 1. 1. 1. 1. 0. 10 0 11 (2) + 1011 (2) = 1111 0 (2). Binarne znamenke 0,1. Binarno MNOŽENJE. 1. 0.

shino
Download Presentation

BINARNI RAČUN

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ABECEDA RAČUNALA BINARNI RAČUN 1+1=10 predavač:

  2. Binarne znamenke 0,1 ?

  3. 1 0 0 1 1 1 0 1 1 Koliko je ? 10011(2) + 1011(2) 1 1 Binarno: 1 + 1 + 1 = 11 + 1 1 1 1 0 10011(2) + 1011(2) =11110(2)

  4. Binarne znamenke 0,1 Binarno MNOŽENJE

  5. 1 0 0 1 Koliko je ? 1001(2)·101(2) · 1 0 1 0 1 0 0 1 + 1 0 1 1 0 1 1001(2)·101(2)=101101(2)

  6. Binarno ODUZIMANJE Koliko je ?1110101(2) -1001(2) 1 1 1 0 1 0 1 1 0 0 1 - 1 1 0 1 1 0 0 1110101(2) -1001(2) =1101100(2).

  7. Binarno ODUZIMANJE Oduzimanje svodimo na zbrajanje: a-b = a+(-b). U binarnom brojevnom sustavu negativni brojevi predočavaju se dvojnim komplementom. Koliko je ?1110101(2) -1001(2) Postupak: Umanjitelju s lijeve strane dopišemo nule (ako je potrebno) tako da umanjenik i umanjitelj imaju jednak broj znamenki. 1110101 0001001 Odredimo komplement umanjitelja (umjesto 0 pišemo 1 i obrnuto) 1110110 Komplementu pribrojimo 1 + 1 1110111 • - dobili smo dvojni komplement Dvojni komplement pribrojimo umanjeniku te odbacimo krajnju lijevu jedinicu. 1110101 + 1110111 11101100 1110101(2) -1001(2) =1101100(2).

  8. Binarno DJELJENJE ? Uzastopno oduzimanje!

  9. Što smo naučili? Zbroji, oduzmi i pomnoži brojeve: 1000111(2) i 1011(2) • PROVJERI DOBIVENE REZULTATE DEKADSKI!

More Related