Tugas 2. Rangkuman Materi Sistem Bilangan
Sistem – Sistem Bilangan, Operasi
dan Kode
Sistem Biner dan Kode- kode digital merupakan dasar untuk komputer dan elektronika digital secara umum. Sistem bilangan biner seperti desimal, hexadesimal dan oktal juga dibahas pada bagian ini. Operasi aritmatika dengan bilangan biner akan dibahas untuk memberikan dasar pengertian bagaimana komputer dan jenis-jenis perangkat digital lain bekerja.
Sistem Bilangan
Sistem bilangan terdiri dari 4 bagian yaitu :
- Desimal 0 - 9
- Biner 0 - 1
- Oktal 0 - 7
- Hexadesimal 0 - F
Aplikasi
Digital
Konversi Desimal ke Biner
- Metode Sum-of-Weight.
- Pengulangan pembagian dengan metode bilangan 2.
- Konversi fraksi desimal ke biner.
Binary Arithmmetic
- Binary arithmetic is essential in all digital computers and in many other types of digital systems.
- Addition, Subtraction, Multiplication, and Division.
Binary Addition
The four basic rules for adding binary digits (bits) are as follows:
0 + 0 = 0 sum of 0 with a carry of 0
0 + 1 = 1 sum of 1 with a carry 0f 0
1 + 0 = 1 sum of 1 with a carry of 0
1+ 1 = 10 sum of 0
with a carry 0f 1
The four basic rules for subtracting bits are as
follows:
0 – 0 = 0
1 – 1 = 0
1 – 0 = 1
10
– 1 = 1 0 –
1 with a borrow of 1
0 X 0 = 0
0 X 1 = 0
1 X 0 = 0
1 X 1 = 1
1's and 2's Complements of Binary Number
- 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.
Finding The 1's Complement
The 1's complement of a binary number is found by changing all 1s to 0s and all 0s to 1s.
Example :
1 0 1 1 0 0 1 0 (Binary Number)
0 1 0 0 1 1 0 1 (1's Complement)
Find
the 2’s complement of 10110010
10110010 (Binary number)
+ 01001101 (1’s complement)
1 (Add
1)
01001110
Nama : Wiar Winengsih
NIM : 1803015160
Matakuliah : Sistem Digital dan Gelombang
Sumber : https://onlinelearning.uhamka.ac.id/
Komentar
Posting Komentar