82 views

Uploaded by Hafiz Usman Mahmood

Logic and Computer Design fundamentals

- Matlab Image Noises algorithms explained and manually implementation
- TSPICE Tutorial
- Digital Logic & Computer Design
- Computer and Systems
- Image Processing in Matlab
- Updated Final Computer Exam Paper Questions
- DIP Image Enhancement 1
- Frequency Domain Filtering Image Processing
- Image Enhancement Techniques
- 05 Basic Computer Part2
- 6 MatLab Tutorial Problems
- Computer and Systems
- Signals and Systems Notes
- Computer Training_ Windows 10
- Microprocessor 8086
- Slides_Ch_1_3
- Logic Gates & Com Bi National Logic Design
- Introduction to ISO 8583 - CodeProject
- Introduction to Logic Circuits
- 7 Boolean Algebra.pdf

You are on page 1of 7

Problem 1

The given octal number (365)8 can be written in the Gray code and BCD code as follows: (i) GRAY CODE The binary equivalent of (365)8 is (011110101)2. The corresponding Gray code can be represented as follows: (010001111)GRAY (ii) BCD (8421) CODE The given octal number can be represented in BCD by first converting the octal number into decimal and then writing the BCD equivalent of each individual digit. This implies that: (365)8 = 3*82 + 6*81 + 5*80 (365)8 = (245)10 Hence, we can write the decimal equivalent of each digit of (245)10 to get our BCD code which is as follows (0010 0100 0101)BCD

Problem 2

(a)

The given expression is:

(b)

The given expression is: [ ( ) ]

Algebraically manipulating the given expression, we can simplify the given function as follows: [ ( ) ( ] )

Problem 3

The given expression is: [ [ ( ( ( ) ( ( ) ( )( ) ) ( ) ) ] ] ( ) )

We can convert this expression into its canonical forms by following the procedure prescribed below: ( ( ) ) ( )

The above expression for is in the SUM OF MINTERMS form. The PRODUCT OF MAXTERMS form can be found by implementing truth table for function F. A 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 B 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 C 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 are: D 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 F 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1

) (Sum-Of-Minterms) ) (Product-Of-Maxterms)

Problem 5

From the above diagram, A, B, C are the inputs with the given HIGH and LOW values and the function is the output for which the values are given. By implementing the truth table, we can find out the Sum-of-Minterms and Product-of-Maxterms for . A 0 1 0 1 0 0 1 1 B 0 1 1 0 1 0 0 1 C 0 1 1 1 0 1 0 0 F 1 0 0 1 0 1 0 0

Problem 4

(a)

A 0 0 0 0 0 0 0 0 1 1 1 1 B 0 0 0 0 1 1 1 1 0 0 0 0 C 0 0 1 1 0 0 1 1 0 0 1 1 D 0 1 0 1 0 1 0 1 0 1 0 1 W 0 0 1 1 1 0 0 0 1 1 1 0

1 1 1 1

1 1 1 1

0 0 1 1

0 1 0 1

0 0 1 1

(b)

We are given 4-bit positive binary numbers. In 4-bit positive binary numbers, the MSB would represent the sign bit while the other three will represent the value. However, the numbers whose MSB is 1, they fall under the DONT CARE CONDITION in this case as they represent the negative numbers. A 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 B 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 C 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 D 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 X 0 0 0 1 0 1 0 1 1 1 0 1 0 1 1

(c)

If AB and CD differ by 2 or more, than our output is 1 otherwise 0. A 0 0 0 0 0 0 0 0 1 1 1 B 0 0 0 0 1 1 1 1 0 0 0 C 0 0 1 1 0 0 1 1 0 0 1 D 0 1 0 1 0 1 0 1 0 1 0 Y 0 0 1 1 0 0 0 1 1 0 0

1 1 1 1 1

0 1 1 1 1

1 0 0 1 1

1 0 1 0 1

0 1 1 0 0

(d)

In Excess-3 code, the digits greater than 9 are usually not represented as they are regarded as unused bit-combinations. Hence, these combinations are not used hence dont care. A 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 B 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 C 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 D 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Z 1 1 0 0 1 0 0 0 0 1 -

- Matlab Image Noises algorithms explained and manually implementationUploaded bySufiyan Ghori
- TSPICE TutorialUploaded byfsahmed
- Digital Logic & Computer DesignUploaded bydjpsychoscientz
- Computer and SystemsUploaded byEma Mohamed
- Image Processing in MatlabUploaded bymukeshpatel045
- Updated Final Computer Exam Paper QuestionsUploaded byShahzad Asghar Arain
- DIP Image Enhancement 1Uploaded byapi-3711506
- Frequency Domain Filtering Image ProcessingUploaded bySankalp_Kallakur_402
- Image Enhancement TechniquesUploaded byShivam Pachauri
- 05 Basic Computer Part2Uploaded byKendall Birjue
- 6 MatLab Tutorial ProblemsUploaded byabhijeet834u
- Computer and SystemsUploaded byEma Mohamed
- Signals and Systems NotesUploaded byAkshansh Chaudhary
- Computer Training_ Windows 10Uploaded byDejan Šotra
- Microprocessor 8086Uploaded bykaushik.sastra3223
- Slides_Ch_1_3Uploaded byfirefly_light20068718
- Logic Gates & Com Bi National Logic DesignUploaded byEnock Omari
- Introduction to ISO 8583 - CodeProjectUploaded bysuryabagaskara
- Introduction to Logic CircuitsUploaded byudara11
- 7 Boolean Algebra.pdfUploaded byM R Fajar Setiawan
- Digital Electronics Tutorial Sheet-2Uploaded byAlok Pandey

- Systems Response With Additional Poles and ZeroesUploaded byHafiz Usman Mahmood
- Analog Layout DesignUploaded byHafiz Usman Mahmood
- Cadence TutorialUploaded byHafiz Usman Mahmood
- 01 Intro&Theory GtUploaded byHafiz Usman Mahmood
- Signals and Systems NotesUploaded byEjaru Sagar
- Constitutional Development of Pakistan 1949-1973Uploaded byHafiz Usman Mahmood
- 02 Ms5001 DescriptionUploaded byHafiz Usman Mahmood
- Transmission LinesUploaded byHafiz Usman Mahmood
- Importance of English LanguageUploaded byHafiz Usman Mahmood
- Chapter 01 SolutionUploaded byHafiz Usman Mahmood
- 1.CircuitAnalysisUploaded bygolfrid
- Examples Thevenin SuperpositionUploaded byMalik Nauman Nawaz
- Measurement and InstrumentationUploaded byHafiz Usman Mahmood
- Sequence of TensesUploaded byRanka Teodorovic
- DmmPPTUploaded byNipponVampireMichi
- w3-414-[2005]Uploaded byHafiz Usman Mahmood

- Week 10 Logical FallaciesUploaded byHector Garcia
- 15 Tola DragonettiUploaded bymprusso
- Rosen ErrataUploaded bymhkhan1980
- Sayers, Sean - Reality and reason. Dialectic and the theory of knowledge.pdfUploaded bybarbarrojo
- 2011 - Apr - 22 - R09 - STLDUploaded byvasuvlsi
- MELJUN CORTES TCU Syllabus Ds 101 Discrete Structures 1 Syllabus Cortes Obe New Formats New Revisions 2018Uploaded byMELJUN CORTES, MBA,MPA
- Kant on Representation and ObjectivityUploaded byReza Khaje
- Theoretical and Conceptual FrameworkUploaded byEzan Rosnizan
- PIaget ReasonUploaded byRamiro Tau
- 2104491Uploaded byAlonso Bustamante
- AIUploaded byশিবলী ফোরকান
- 99568832-Ch-2-Theory-and-Method.docxUploaded byRos Shinie Balan
- BR Skills for Business Int Chap 6Uploaded bySara Guimarães
- Epistemological Aspects of MethodsUploaded byMariaIsabel
- Pigeonhole PrincipleUploaded byNoisyPoisy
- Turing MachineUploaded bytruongthuthuy47
- Could We be Brains in a Vat? PETER SMITH - Canadian Journal of Philosophy.pdfUploaded byTruck Heart
- hw4sol_052Uploaded byJoan Mae Canaya
- 7th topic b.pptxUploaded byFarhad Fabregas
- fmcsUploaded byHKCHETHAN
- Mathematical Induction 1aUploaded bySalmanAnjans
- Math Handout 03Uploaded bygcuusman
- Grade 8 February 12 - 16 2018Uploaded byRorenzu Kun
- father of geometryUploaded bymohammedismayil
- 9A05407 Formal Languages and Automata TheoryUploaded bysivabharathamurthy
- Manalog NotesUploaded byNieldylandy
- The Development of Modus Ponens in Antiquity: From Aristotle to the 2nd Century ADUploaded byTheo
- Tyler_the Vision Quest in the WestUploaded byYoyoli Perez
- Theory Banging Religion Research Paper Final DraftUploaded byRohith Gopal
- orbital mechanics aristotle presentationUploaded byapi-206600955