SlideShare a Scribd company logo
1 of 40
Prepared by:
Abdul Quddus
Class:
BSCS 2nd (regular)
Roll no:
BCSF19BM039
Course:
Digital Logic Design
Instructor:
Mr.Kamran Shah
Question no: 1
Conversion:
(A) Octal 623.77 to Decimal, Binary and Hexadecimal
1. Octal to decimal:
Solution:
623.778 = 6∙82+2∙81 +3∙80 +7∙8-1 +7∙8-2
=384+16+3+0.875+0.109375
= 403.98437510
Happened: 403.9843710
2. Octal to Binary:
Solution:
Converting 403.98437510 in
Binary system here
Whole part of a number is
obtained by dividing on the basis new
40310 =1100100112
0
.
984375
2
1 96875
2
1 9375
2
1 875
2
1 75
2
1 5
2
1 0
623.778 = 110010011.1111112
The fractional part of number is found by
multiplying on the basis new:
0.98437510 = 0.1111112
Add up together both parts here so:
1100100112 + 0.1111112 =
110010011.1111112
Result of converting:
3. Octal to Hexadecimal:
Solution:
Converting 403.98437510 in Hexadecimal system here
so:
Whole part of a number is obtained by dividing on the
basis new
Happened:
40310 = 19316
The fractional part of number is found by multiplying on
the basis new
Happened:
0.98437510 = 0.FC16
Add up together whole and fractional
part here so:
19316 + 0.FC16 = 193.FC16
Result of converting:
623.778 = 193.FC16
(b) Hexadecimal 2AC5.D to Decimal, Octal, and Binary.
1. Hexadecimal to decimal:
Solution:
Translate it to decimal here:
2AC5.D16 = 2∙163 +10∙162 +12∙161 +5∙160 +13∙16-1
=8192+2560+192+5+0.81
= 10949.812510
Result :
2AC5.D16 = 10949.812510
2. Hexadecimal to Octal:
Solution:
Result of converting in t decimal :
2AC5.D16 = 10949.812510
Converting 10949.812510 in octal system
here so:
1094910 =253058
The fractional part of number is found by multiplying
on the basis new
0.812510 = 0.6488
Add up together whole and fractional part here so:
253058 + 0.648 = 25305.648
Result after converting:
2AC5.D16 = 25305.648
3.Hexadecimal to Binary:
Solution:
Converting 10949.812510 in Binary
System here so:
Whole part of a number is obtained by
dividing on the basis new
1094910 = 101010110001012
The fractional part of number is found by multiplying
on the basis
Happened:
0.812510 = 0.11012
Add up together whole and fractional part here
so:
= 101010110001012 + 0.11012
= 10101011000101.11012
Result of converting:
2AC5.D16 = 10101011000101.11012
Question no: 2
(a) OR Gate:
• An OR gate has two or more than two inputs
and one output signal.
• It is called an OR gate because the output signal
will be high only if any or all input signals are
high.
• The OR gate follow the logical operation of the
input and output signals. It permits the signal to
pass and stop through it.
Logic Symbol:
The logic symbol for the gate is shown below.
Switching Circuit:
The switching circuit of the gate operation is shown below.
Explanation:
A lamp L is connected to a voltage source. A and B
are the two switches. The switching circuit
illustrates that the lamp L will glow when either of
the switches A or B or both A and B is closed. The
lamp will go off when both the switches are in the
open condition.
Truth Table:
(B) NAND Gate:
 The NAND gate is a combination of an AND gate
and NOT gate.
 They are connected in cascade form.
 It is also called Negated And gate.
 The NAND gate provides the false or low output
only when their outputs are high or true.
 The NAND gate is essential because different types
of a Boolean function are implemented by using it.
Functional Completeness:
The NAND gate has the property of functional
completeness. The function completeness means
any types of gates can be implemented by using the
NAND gate. It performs the function of OR, NOR
and AND gate.
Logic Symbol:
Logic Circuit:
From the logic circuit, the output can be expressed as:
Z=A.B
Switching Circuit:
Truth Table:
The truth table of the NAND gate is given below.
It is clear that all the input is kept high to
get low output
Question no: 3
Octal to Binary Encoder:
• An octal to binary encoder consists of eight
input lines and three output lines. Each input
line corresponds to each octal digit and three
outputs generate corresponding binary code.
• In encoders, it is to be assumed that only one
input is active or has a value 1 at any given time
otherwise the circuit has no meaning.
Logic Symbol:
The figure below shows the logic symbol of octal
to binary encoder.
Figure:
We can implement the octal to
binary encoder using set of OR
gates as shown in figure below.
Truth Table
Question no: 4
BCD to Decimal Decoder
Decoder:
o A decoder is a Combinational Circuit that
converts encoded signals back to its original form.
o The decoder circuit performs the exact opposite
function of an encoder.
o It accepts coded signals from the encoder and
generates the desired output.
o It is possible to operate a demultiplexer as a decoder.
BCD to Decimal Decoder:
This device is formed by a circuit that converts
Binary-Coded- Decimal into a 1-of-10 output.
Circuit Diagram:
The circuit diagram of BCD to the decimal decoder
is nothing but the demultiplexer circuit shown in
the below diagram.
Truth Table:
Question No#05
Draw a combinational logic circuit, define its all
parts and complete process with the help of
diagram?
LOGIC PROBE
What is logic probe:
• Logic probes are very cheap and easy to use as
simple digital testers in many applications. Logic
probes can provide a simple way of testing slow
moving digital logic levels and signals.
• It detects Logic Levels, which are discrete voltage
levels that represent 1’s and 0’s in a binary circuit.
• It indicates if a 1 or a 0 is present in a circuit.
What is logic probe
• This allows a designer to quickly troubleshoot a
circuit to see if Logic levels are being set correctly.
• They are usually found as small/handheld devices
that can be connected to any point in a circuit.
• They commonly light up an LED light that
indicates what the Logic Level is.
Figure
How Logic Probes Work
• Models like the one in Figure above are low-cost
because they are electrically quite simple, because
their job is simple: they’re designed to give a visual
and (usually) aural cue about the logic state of a
particular circuit line.
• One LED (light-emitting diode) on the probe lights
up if the logic is 0 (also referred to as LOW). See
Figure below.
• Another LED lights up if the logic is 1 (or HIGH).
How Logic Probe Work
• A third LED indicates a pulsing signal, one that rapidly
alternates between 0 and 1.
• A good logic probe can detect a logic gate pulsing at
speeds of up to 10 MHz (10 megahertz, or 10,000,000
times per second), which is more than fast enough for
most robotics applications, even when using computer
control.
• To use the logic probe you really have to know what
points in the circuit to test. This means you need to have
a schematic or other wiring diagram, so you know what
goes to where.
Logic Probe Circuit
RED
LED
GREEN
• +V and Ground are connected to the power of the
circuit to be probed (alligator clips).
• Probe can be a simple wire.
• The internal circuit runs from a 5V power supply
but an on-board regulator is provided, so the circuit
can be powered from a wide range of power
supplies.
Circuit on Breadboard
Using a Logic Probe
• Be careful when working close to any kind of high
voltage or current.
• Logic probes aren’t meant for testing these kinds of
circuits anyway, so if high voltage or current is
exposed in your circuit, cover that portion up so
you don’t actually touch it with your fingers or the
logic probe.
• It’s nearly impossible to blindly use the logic
probe on a circuit without knowing what you are
testing.
Octal to Decimal Conversion Using Logic Gates

More Related Content

What's hot

Differential amplifier
Differential amplifierDifferential amplifier
Differential amplifiersarunkutti
 
Digital electronics logic families
Digital electronics logic familiesDigital electronics logic families
Digital electronics logic familiesBLESSINAR0
 
Transistor Transistor Logic
Transistor Transistor LogicTransistor Transistor Logic
Transistor Transistor Logicsurat murthy
 
8051 Microcontroller I/O ports
8051 Microcontroller I/O ports8051 Microcontroller I/O ports
8051 Microcontroller I/O portsanishgoel
 
Keypad Interfacing with 8051 Microcontroller
Keypad Interfacing with 8051 MicrocontrollerKeypad Interfacing with 8051 Microcontroller
Keypad Interfacing with 8051 MicrocontrollerSudhanshu Janwadkar
 
Ppt on interfacing led and 7 segmentwith 8951
Ppt on interfacing led  and 7 segmentwith 8951Ppt on interfacing led  and 7 segmentwith 8951
Ppt on interfacing led and 7 segmentwith 8951pooja jaiswal
 
multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexersUnsa Shakir
 
Flip-Flop || Digital Electronics
Flip-Flop || Digital ElectronicsFlip-Flop || Digital Electronics
Flip-Flop || Digital ElectronicsMd Sadequl Islam
 
NMOS PPT for 2nd year
NMOS PPT for 2nd yearNMOS PPT for 2nd year
NMOS PPT for 2nd yearfaltuthings
 
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decodersGaditek
 
I o ports and timers of 8051
I o ports and timers of 8051I o ports and timers of 8051
I o ports and timers of 8051SARITHA REDDY
 
digital logic_families
digital logic_familiesdigital logic_families
digital logic_familiesPatel Jay
 
Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsVinoth Loganathan
 

What's hot (20)

Differential amplifier
Differential amplifierDifferential amplifier
Differential amplifier
 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
 
8051 instruction set
8051 instruction set8051 instruction set
8051 instruction set
 
Digital electronics logic families
Digital electronics logic familiesDigital electronics logic families
Digital electronics logic families
 
Transistor Transistor Logic
Transistor Transistor LogicTransistor Transistor Logic
Transistor Transistor Logic
 
8051 Microcontroller I/O ports
8051 Microcontroller I/O ports8051 Microcontroller I/O ports
8051 Microcontroller I/O ports
 
Keypad Interfacing with 8051 Microcontroller
Keypad Interfacing with 8051 MicrocontrollerKeypad Interfacing with 8051 Microcontroller
Keypad Interfacing with 8051 Microcontroller
 
Ppt on interfacing led and 7 segmentwith 8951
Ppt on interfacing led  and 7 segmentwith 8951Ppt on interfacing led  and 7 segmentwith 8951
Ppt on interfacing led and 7 segmentwith 8951
 
Logic Gates
Logic GatesLogic Gates
Logic Gates
 
multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexers
 
Encoder
EncoderEncoder
Encoder
 
CMOS Logic Circuits
CMOS Logic CircuitsCMOS Logic Circuits
CMOS Logic Circuits
 
Analog to digital converters, adc
Analog to digital converters, adcAnalog to digital converters, adc
Analog to digital converters, adc
 
Flip-Flop || Digital Electronics
Flip-Flop || Digital ElectronicsFlip-Flop || Digital Electronics
Flip-Flop || Digital Electronics
 
NMOS PPT for 2nd year
NMOS PPT for 2nd yearNMOS PPT for 2nd year
NMOS PPT for 2nd year
 
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decoders
 
I o ports and timers of 8051
I o ports and timers of 8051I o ports and timers of 8051
I o ports and timers of 8051
 
digital logic_families
digital logic_familiesdigital logic_families
digital logic_families
 
Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital Electronics
 
Logic gates
Logic gatesLogic gates
Logic gates
 

Similar to Octal to Decimal Conversion Using Logic Gates

Logic gate tester for IC's ( Digital Electronics and Logic deisgn EE3114 )
Logic gate tester for IC's ( Digital Electronics and Logic deisgn EE3114 )Logic gate tester for IC's ( Digital Electronics and Logic deisgn EE3114 )
Logic gate tester for IC's ( Digital Electronics and Logic deisgn EE3114 )Jikrul Sayeed
 
Assignment 1 Description Marks out of Wtg() Due date .docx
Assignment 1  Description Marks out of Wtg() Due date .docxAssignment 1  Description Marks out of Wtg() Due date .docx
Assignment 1 Description Marks out of Wtg() Due date .docxfredharris32
 
70 interesting circuits
70 interesting circuits70 interesting circuits
70 interesting circuitsivan ion
 
L3-.pptx
L3-.pptxL3-.pptx
L3-.pptxasdq4
 
Digital clock workshop
Digital clock workshopDigital clock workshop
Digital clock workshopKedarv
 
Lec 8,9,10 (interfacing)
Lec 8,9,10 (interfacing)Lec 8,9,10 (interfacing)
Lec 8,9,10 (interfacing)Mohamed Atef
 
UNIT 4 & 5 - I nterfacing_Lecture7.pptx
UNIT 4 & 5 - I         nterfacing_Lecture7.pptxUNIT 4 & 5 - I         nterfacing_Lecture7.pptx
UNIT 4 & 5 - I nterfacing_Lecture7.pptxnaveen088888
 
FPGA Implementation with Digital Devices
FPGA Implementation with Digital Devices FPGA Implementation with Digital Devices
FPGA Implementation with Digital Devices Sachin Mehta
 
Clock Generator
Clock Generator Clock Generator
Clock Generator Omkar Rane
 
combinational logic circuit and sequential logic circuit.pptx
combinational logic circuit and sequential logic circuit.pptxcombinational logic circuit and sequential logic circuit.pptx
combinational logic circuit and sequential logic circuit.pptxAhmedLakhwera
 
PIC Microcontroller
PIC MicrocontrollerPIC Microcontroller
PIC MicrocontrollerDivya Bansal
 
voltage doubler using 555 timer ic
voltage doubler using 555 timer ic voltage doubler using 555 timer ic
voltage doubler using 555 timer ic afzalvp99
 

Similar to Octal to Decimal Conversion Using Logic Gates (20)

Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptx
 
Logic gate tester for IC's ( Digital Electronics and Logic deisgn EE3114 )
Logic gate tester for IC's ( Digital Electronics and Logic deisgn EE3114 )Logic gate tester for IC's ( Digital Electronics and Logic deisgn EE3114 )
Logic gate tester for IC's ( Digital Electronics and Logic deisgn EE3114 )
 
Assignment 1 Description Marks out of Wtg() Due date .docx
Assignment 1  Description Marks out of Wtg() Due date .docxAssignment 1  Description Marks out of Wtg() Due date .docx
Assignment 1 Description Marks out of Wtg() Due date .docx
 
341-12-4-2001.ppt
341-12-4-2001.ppt341-12-4-2001.ppt
341-12-4-2001.ppt
 
Deld lab manual
Deld lab manualDeld lab manual
Deld lab manual
 
70 interesting circuits
70 interesting circuits70 interesting circuits
70 interesting circuits
 
L3-.pptx
L3-.pptxL3-.pptx
L3-.pptx
 
Digital clock workshop
Digital clock workshopDigital clock workshop
Digital clock workshop
 
2th year iv sem de lab manual
2th year iv sem de lab manual2th year iv sem de lab manual
2th year iv sem de lab manual
 
Lec 8,9,10 (interfacing)
Lec 8,9,10 (interfacing)Lec 8,9,10 (interfacing)
Lec 8,9,10 (interfacing)
 
UNIT 4 & 5 - I nterfacing_Lecture7.pptx
UNIT 4 & 5 - I         nterfacing_Lecture7.pptxUNIT 4 & 5 - I         nterfacing_Lecture7.pptx
UNIT 4 & 5 - I nterfacing_Lecture7.pptx
 
FPGA Implementation with Digital Devices
FPGA Implementation with Digital Devices FPGA Implementation with Digital Devices
FPGA Implementation with Digital Devices
 
Clock Generator
Clock Generator Clock Generator
Clock Generator
 
combinational logic circuit and sequential logic circuit.pptx
combinational logic circuit and sequential logic circuit.pptxcombinational logic circuit and sequential logic circuit.pptx
combinational logic circuit and sequential logic circuit.pptx
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
PROJECT ENGINEERIING (1)
PROJECT ENGINEERIING (1)PROJECT ENGINEERIING (1)
PROJECT ENGINEERIING (1)
 
Lab no 4
Lab no 4Lab no 4
Lab no 4
 
embedded system
embedded system  embedded system
embedded system
 
PIC Microcontroller
PIC MicrocontrollerPIC Microcontroller
PIC Microcontroller
 
voltage doubler using 555 timer ic
voltage doubler using 555 timer ic voltage doubler using 555 timer ic
voltage doubler using 555 timer ic
 

Recently uploaded

APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 

Recently uploaded (20)

APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 

Octal to Decimal Conversion Using Logic Gates

  • 1. Prepared by: Abdul Quddus Class: BSCS 2nd (regular) Roll no: BCSF19BM039 Course: Digital Logic Design Instructor: Mr.Kamran Shah
  • 2. Question no: 1 Conversion: (A) Octal 623.77 to Decimal, Binary and Hexadecimal 1. Octal to decimal: Solution: 623.778 = 6∙82+2∙81 +3∙80 +7∙8-1 +7∙8-2 =384+16+3+0.875+0.109375 = 403.98437510 Happened: 403.9843710
  • 3. 2. Octal to Binary: Solution: Converting 403.98437510 in Binary system here Whole part of a number is obtained by dividing on the basis new 40310 =1100100112
  • 4. 0 . 984375 2 1 96875 2 1 9375 2 1 875 2 1 75 2 1 5 2 1 0 623.778 = 110010011.1111112 The fractional part of number is found by multiplying on the basis new: 0.98437510 = 0.1111112 Add up together both parts here so: 1100100112 + 0.1111112 = 110010011.1111112 Result of converting:
  • 5. 3. Octal to Hexadecimal: Solution: Converting 403.98437510 in Hexadecimal system here so: Whole part of a number is obtained by dividing on the basis new Happened: 40310 = 19316
  • 6. The fractional part of number is found by multiplying on the basis new Happened: 0.98437510 = 0.FC16 Add up together whole and fractional part here so: 19316 + 0.FC16 = 193.FC16 Result of converting: 623.778 = 193.FC16
  • 7. (b) Hexadecimal 2AC5.D to Decimal, Octal, and Binary. 1. Hexadecimal to decimal: Solution: Translate it to decimal here: 2AC5.D16 = 2∙163 +10∙162 +12∙161 +5∙160 +13∙16-1 =8192+2560+192+5+0.81 = 10949.812510 Result : 2AC5.D16 = 10949.812510
  • 8. 2. Hexadecimal to Octal: Solution: Result of converting in t decimal : 2AC5.D16 = 10949.812510 Converting 10949.812510 in octal system here so: 1094910 =253058
  • 9. The fractional part of number is found by multiplying on the basis new 0.812510 = 0.6488 Add up together whole and fractional part here so: 253058 + 0.648 = 25305.648 Result after converting: 2AC5.D16 = 25305.648
  • 10. 3.Hexadecimal to Binary: Solution: Converting 10949.812510 in Binary System here so: Whole part of a number is obtained by dividing on the basis new 1094910 = 101010110001012
  • 11. The fractional part of number is found by multiplying on the basis Happened: 0.812510 = 0.11012 Add up together whole and fractional part here so: = 101010110001012 + 0.11012 = 10101011000101.11012 Result of converting: 2AC5.D16 = 10101011000101.11012
  • 12. Question no: 2 (a) OR Gate: • An OR gate has two or more than two inputs and one output signal. • It is called an OR gate because the output signal will be high only if any or all input signals are high. • The OR gate follow the logical operation of the input and output signals. It permits the signal to pass and stop through it.
  • 13. Logic Symbol: The logic symbol for the gate is shown below.
  • 14. Switching Circuit: The switching circuit of the gate operation is shown below.
  • 15. Explanation: A lamp L is connected to a voltage source. A and B are the two switches. The switching circuit illustrates that the lamp L will glow when either of the switches A or B or both A and B is closed. The lamp will go off when both the switches are in the open condition.
  • 17. (B) NAND Gate:  The NAND gate is a combination of an AND gate and NOT gate.  They are connected in cascade form.  It is also called Negated And gate.  The NAND gate provides the false or low output only when their outputs are high or true.  The NAND gate is essential because different types of a Boolean function are implemented by using it.
  • 18. Functional Completeness: The NAND gate has the property of functional completeness. The function completeness means any types of gates can be implemented by using the NAND gate. It performs the function of OR, NOR and AND gate.
  • 19. Logic Symbol: Logic Circuit: From the logic circuit, the output can be expressed as: Z=A.B
  • 21. Truth Table: The truth table of the NAND gate is given below. It is clear that all the input is kept high to get low output
  • 22. Question no: 3 Octal to Binary Encoder: • An octal to binary encoder consists of eight input lines and three output lines. Each input line corresponds to each octal digit and three outputs generate corresponding binary code. • In encoders, it is to be assumed that only one input is active or has a value 1 at any given time otherwise the circuit has no meaning.
  • 23. Logic Symbol: The figure below shows the logic symbol of octal to binary encoder.
  • 24. Figure: We can implement the octal to binary encoder using set of OR gates as shown in figure below.
  • 26. Question no: 4 BCD to Decimal Decoder Decoder: o A decoder is a Combinational Circuit that converts encoded signals back to its original form. o The decoder circuit performs the exact opposite function of an encoder. o It accepts coded signals from the encoder and generates the desired output. o It is possible to operate a demultiplexer as a decoder.
  • 27. BCD to Decimal Decoder: This device is formed by a circuit that converts Binary-Coded- Decimal into a 1-of-10 output. Circuit Diagram: The circuit diagram of BCD to the decimal decoder is nothing but the demultiplexer circuit shown in the below diagram.
  • 29. Question No#05 Draw a combinational logic circuit, define its all parts and complete process with the help of diagram?
  • 30. LOGIC PROBE What is logic probe: • Logic probes are very cheap and easy to use as simple digital testers in many applications. Logic probes can provide a simple way of testing slow moving digital logic levels and signals. • It detects Logic Levels, which are discrete voltage levels that represent 1’s and 0’s in a binary circuit. • It indicates if a 1 or a 0 is present in a circuit.
  • 31. What is logic probe • This allows a designer to quickly troubleshoot a circuit to see if Logic levels are being set correctly. • They are usually found as small/handheld devices that can be connected to any point in a circuit. • They commonly light up an LED light that indicates what the Logic Level is.
  • 33. How Logic Probes Work • Models like the one in Figure above are low-cost because they are electrically quite simple, because their job is simple: they’re designed to give a visual and (usually) aural cue about the logic state of a particular circuit line. • One LED (light-emitting diode) on the probe lights up if the logic is 0 (also referred to as LOW). See Figure below. • Another LED lights up if the logic is 1 (or HIGH).
  • 34. How Logic Probe Work • A third LED indicates a pulsing signal, one that rapidly alternates between 0 and 1. • A good logic probe can detect a logic gate pulsing at speeds of up to 10 MHz (10 megahertz, or 10,000,000 times per second), which is more than fast enough for most robotics applications, even when using computer control. • To use the logic probe you really have to know what points in the circuit to test. This means you need to have a schematic or other wiring diagram, so you know what goes to where.
  • 35.
  • 37. • +V and Ground are connected to the power of the circuit to be probed (alligator clips). • Probe can be a simple wire. • The internal circuit runs from a 5V power supply but an on-board regulator is provided, so the circuit can be powered from a wide range of power supplies.
  • 39. Using a Logic Probe • Be careful when working close to any kind of high voltage or current. • Logic probes aren’t meant for testing these kinds of circuits anyway, so if high voltage or current is exposed in your circuit, cover that portion up so you don’t actually touch it with your fingers or the logic probe. • It’s nearly impossible to blindly use the logic probe on a circuit without knowing what you are testing.