TUGAS 2. RANGKUMAN MATERI SISTEM BILANGAN
TUGAS 2. RANGKUMAN MATERI SISTEM BILANGAN
Bilangan Desimal
Dalam setiap bilangan desimal terdiri dari 10 digit, 0 sampai dengan 9. Contoh: Ungkapkan bilangan desimal 2745.214 sebagai penjumlahan nilai setiap digit.
Bilangan Biner
Sistem Bilangan biner merupakan cara lain untuk melambangkan kuantitas, dimana 1 (HIGH) dan 0 (LOW). Sistem bilangan biner mempunyai nilai basis 2 dengan nilai setiap posisi dibagi dengan faktor 2:
Konversi Desimal ke Biner
· Metode Sum-of-Weight.
· Pengulangan pembagian dengan Metode bilangan 2.
· Konversi fraksi desimal ke biner.
1’s and 2’s Complements of Binary Numbers
The 1’s and 2’s Complements of Binary Numbers are very important because they permit the representation of negative numbers. The method of 2’s compliment arithmetic is commonly used in computers to handle negative numbers
Signed Numbers
Digital systems, such as the computer, must be able to handle both positive and negative numbers. A signed binary number consists of both sign and magnitude information. The sign indicates whether a number is positive or negative and the magnitude is the value of the number. There three forms in which signed integer (whole) numbers can be represented in binary:
- Sign-Magnitude
- 1’s Complement
- 2’s Complement
The Decimal Value of Signed Numbers
Decimal Value of positive and negative numbers in the sign-magnitude form are determined by summing the weights in all the magnitude bit positions where there are 1s and ignoring those positions where there are zeros.
Arithmetic Operations with Signed Number
In this section we will learn how signed numbers are added, subtracted, multiplied and divided. This section will cover only on the 2’s complement arithmetic, because, it widely used in computers and microprocessor-based system .
Sumber : https://onlinelearning.uhamka.ac.id/
Komentar
Posting Komentar