0% found this document useful (0 votes)
11 views15 pages

Digital Logic Design 1st Lecture

The document introduces the fundamentals of Digital Logic Design, focusing on the binary number system, which uses only two digits (0 and 1) and has a base of 2. It explains key concepts such as bits, various number systems (binary, octal, decimal, hexadecimal), and basic binary arithmetic operations including addition, subtraction, multiplication, and division. The content serves as an introductory lecture for students in computer science.

Uploaded by

sawerakanwal55
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views15 pages

Digital Logic Design 1st Lecture

The document introduces the fundamentals of Digital Logic Design, focusing on the binary number system, which uses only two digits (0 and 1) and has a base of 2. It explains key concepts such as bits, various number systems (binary, octal, decimal, hexadecimal), and basic binary arithmetic operations including addition, subtraction, multiplication, and division. The content serves as an introductory lecture for students in computer science.

Uploaded by

sawerakanwal55
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

DIGITAL LOGIC DESIGN

Lecture #1

Sawera Kanwal
Lecturer
Department of Computer Science
sawerakanwal@ncbae.edu.pk
Fundamental of DLD
What is a binary number system?
A number system where a number is represented by using
only two digits (0 and 1) with a base 2 is called a binary
number system. For example, (1001) is a binary number.
What is a bit?
A bit is a single digit in the binary number. For example,
101 is a three-bit binary number, where 1, 0 and 1 are the
bits.
Book: Digital Fundamentals by Floyd, 11/e
NUMBER SYSTEM
Number systems are the technique to represent numbers in the computer
system architecture, every value that you are saving or getting into/from
computer memory has a defined number system. The number system is
simply a system to represent or express numbers. There are various types of
number systems and the most commonly used ones are decimal number
systems, binary number systems, octal number systems, and hexadecimal
number systems.
Computer architecture supports the following number of systems.
1. Binary number system
2. Octal number system
3. Decimal number system
4. Hexadecimal (hex) number system
Conversion in Binary
BINARY NUMBER SYSTEM
• BINARY NUMBER SYSTEM A Binary number system has only two digits
that are 0 and 1. Every number (value) represents 0 and 1 in this
number system. The base of the binary number system is 2, because
it has only two digits.
Example
The binary system is applied internally by almost all latest computers
and computer-based devices because of its direct implementation in
electronic circuits using logic gates. Every digit is referred to as a bit.

Example: Convert 4 in binary


Solution:
4 in binary is (100)2
Example

Dividend Remainder

4/2 = 2 0

2/2 = 1 0

1/2 = 0 1
Overview
Binary Arithmetic Operations
The arithmetic operations in numbers, in the same way, we can perform
addition, subtraction, multiplication and division operations on Binary
numbers. Let us learn them one by one.
Binary Addition
Adding two binary numbers will give us a binary number itself. It is the
simplest method. The addition of two single-digit binary numbers is given in
the table below.
Binary Numbers Addition
0 0 0
0 1 1
1 0 1
1 1 0; Carry →1
Let us take an example of two binary numbers and add them.
For example: Add 11012 and 10012.
Solution:
Binary Subtraction

Subtracting two binary numbers will give us a binary number itself. It is


also a straightforward method. The subtraction of two single-digit
binary numbers is given in the table below.

Binary Numbers Subtraction


0 0 0
0 1 1; Borrow 1
1 0 1
1 1 0
Binary Multiplication
The multiplication process is the same for binary numbers as it is for numerals. Let us
understand it with an example.
Example: Multiply 11012 and 10102.
Solution:
Binary Division
The binary division is similar to the decimal number division method.
We will learn with an example here.
Thank You

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy