SlideShare a Scribd company logo
1 of 7
Download to read offline
ECE380: Digital Logic

Sample Exam 1

The exam will be closed book and closed notes. The following questions are representative of the
type of questions that will be on the exam. A sheet showing Boolean theorems will be provided.
You will be allowed one information sheet (front side only) with any additional information you
choose to put on it. Your name must be on this sheet and it must be turned in with the exam. No
calculators will be allowed. There will be 15 problems on the exam: 10 multiple choice (similar to
samples 1-5) and 5 written (similar to samples 6-12).
1. Rewrite the following function in SOP form.
F(a,b,c,d,e)=(a+c’)(a+d)(ab’c+e)
a)
b)
c)
d)
e)

a+ab’d+ae+c’de
ab’c+ae+c’de, from 12b and 12a
ab’c+ab’d+ae+c’
a’bc+ae+c’de
a+ae+c’de

2. Which of the following Boolean expressions are false?
a)
b)
c)
d)
e)

(x+y)(x+z)=x+yz, true from 12b
(x+y)(x’+z)=x’y+xz, true by truth table (or K-map) comparison
xy+x’=x’+y, true from 16a
x+(y+z)=(x+y)+z, true from 11b
none of the above

3. For the following Boolean expressions, which equalities are true?
F1=wy’+w’x’y’+w’yz
F2=wxy’+x’y’+w’yz
F3=wy’+x’y’z’+w’x’z+w’y’z
F4=w’xy’+wy+yz’
a)
b)
c)
d)
e)

F1=F2
F1=F3 and F2=F4
F1=F2=F3
F3=F4
none of the above

4. How many literals and variables does the following function have in this form?
F=a’bc+a’bcd+c’d’
a) 4 literals, 9 variables
b) 4 variables, 4 literals
c) 4 variables, 9 literals
d) 9 variables, 9 literals
e) none of the above
5. For the circuit:

a)
b)
c)
d)
e)

f=ab+a’b’+bc
f=(ab)(bc)’
f=abc
f=0
none of the above

6. Draw the minimum cost AND-OR implementation for F. Input variables are available in true and
complement forms.
F(A,B,C,D)= m(1,3,6,7,11,14,15)+D(5,9,10)

AB
00

01

11

10

00

0

0

0

0

01

1

d

0

d

1

1

1

CD

11

10

0

1

1

1

d
7. Write the VHDL ENTITY and ARCHITECTURE constructs for the circuit described by the
equations below. Do not simplify.
F=(A+B’)(C+A’B)’
G=AB’+C(A’+B)
ENTITY prob7 IS
PORT (A,B,C : IN
BIT;
F,G
: OUT BIT);
END prob7;
ARCHITECTURE LogicFunc OF prob7 IS
BEGIN
F <= (A OR NOT B) AND NOT (C OR (NOT A AND B));
G <= (A AND NOT B) OR (C AND (NOT A OR B));
END LogicFunc;

8. Give the MAXTERM notation of the following function.
f=ab+a’bc’+a’c
f=M(0,4,5)
9. Identify the essential and nonessential prime implicants for the function given below. What is
the minimum cost SOP expression? What is the COST?
F(A,B,C,D)= m(1,3,5,8,14,15)+D(9,10)
10. Draw the minimum NAND-NAND implementation for F.
F(A,B,C,D)= m(1,5,8,13-15)+D(3,10,12)
11. Draw the minimum NOR-NOR implementation for F in problem 10.

12. Draw the schematic diagram for a programmed PLA that implements the functions below.
F=(A+B’)(C+A’B)’
G=AB’+C(A’+B)
Axioms of Boolean algebra
1a.
1b.
2a.
2b.
3a.
3b.
4a.
4b.

0·0=0
1+1=1
1·1=1
0+0=0
0·1=1·0=0
1+0=0+1=1
If x=0 then x’=1
If x=1 then x’=0

Single-Variable theorems
5a.
5b.
6a.
6b.
7a.
7b.
8a.
8b.
9.

x·0=0
x+1=1
x·1=x
x+0=x
x·x=x
x+x=x
x·x’=0
x+x’=1
x’’=x

Two & three variable properties
10a.
10b.
11a.
11b.
12a.
12b.
13a.
13b.
14a.
14b.
15a.
15b.
16a.
16b.

x·y=y·x
x+y=y+x
x·(y·z)=(x·y)·z
x+(y+z)=(x+y)+z
x·(y+z)=x·y+x·z
x+y·z=(x+y)·(x+z)
x+x·y=x
x·(x+y)=x
x·y+x·y’=x
(x+y)·(x+y’)=x
(x·y)’=x’+y’
(x+y)’=x’·y’
x+x’·y=x+y
x·(x’+y)=x·y

Commutative
Associative
Distributive
Absorption
Combining
DeMorgan’s
Theorem

More Related Content

What's hot

Ec2203 digital electronics questions anna university by www.annaunivedu.org
Ec2203 digital electronics questions anna university by www.annaunivedu.orgEc2203 digital electronics questions anna university by www.annaunivedu.org
Ec2203 digital electronics questions anna university by www.annaunivedu.organnaunivedu
 
Gate 2013 computer science and information technology previous year paper
Gate 2013 computer science and information technology previous year paperGate 2013 computer science and information technology previous year paper
Gate 2013 computer science and information technology previous year paperLokesh Kataria
 
[Question Paper] Introduction To C++ Programming (Revised Course) [April / 2015]
[Question Paper] Introduction To C++ Programming (Revised Course) [April / 2015][Question Paper] Introduction To C++ Programming (Revised Course) [April / 2015]
[Question Paper] Introduction To C++ Programming (Revised Course) [April / 2015]Mumbai B.Sc.IT Study
 
[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...
[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...
[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...Mumbai B.Sc.IT Study
 
[Question Paper] Advanced SQL (Revised Course) [January / 2014]
[Question Paper] Advanced SQL (Revised Course) [January / 2014][Question Paper] Advanced SQL (Revised Course) [January / 2014]
[Question Paper] Advanced SQL (Revised Course) [January / 2014]Mumbai B.Sc.IT Study
 
(Www.entrance exam.net)-tcs placement sample paper 2
(Www.entrance exam.net)-tcs placement sample paper 2(Www.entrance exam.net)-tcs placement sample paper 2
(Www.entrance exam.net)-tcs placement sample paper 2Pamidimukkala Sivani
 
3 further logic concepts
3 further logic concepts3 further logic concepts
3 further logic conceptschandkec
 
Lecture 2: arrays and pointers
Lecture 2: arrays and pointersLecture 2: arrays and pointers
Lecture 2: arrays and pointersVivek Bhargav
 
Function presentation
Function presentationFunction presentation
Function presentationjamil sadiq
 
Introduction to logic gate
Introduction to logic gateIntroduction to logic gate
Introduction to logic gatechauhankapil
 
Directed Acyclic Graph
Directed Acyclic Graph Directed Acyclic Graph
Directed Acyclic Graph AJAL A J
 

What's hot (19)

Ec2203 digital electronics questions anna university by www.annaunivedu.org
Ec2203 digital electronics questions anna university by www.annaunivedu.orgEc2203 digital electronics questions anna university by www.annaunivedu.org
Ec2203 digital electronics questions anna university by www.annaunivedu.org
 
Gate 2013 computer science and information technology previous year paper
Gate 2013 computer science and information technology previous year paperGate 2013 computer science and information technology previous year paper
Gate 2013 computer science and information technology previous year paper
 
[Question Paper] Introduction To C++ Programming (Revised Course) [April / 2015]
[Question Paper] Introduction To C++ Programming (Revised Course) [April / 2015][Question Paper] Introduction To C++ Programming (Revised Course) [April / 2015]
[Question Paper] Introduction To C++ Programming (Revised Course) [April / 2015]
 
[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...
[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...
[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...
 
And or search
And or searchAnd or search
And or search
 
[Question Paper] Advanced SQL (Revised Course) [January / 2014]
[Question Paper] Advanced SQL (Revised Course) [January / 2014][Question Paper] Advanced SQL (Revised Course) [January / 2014]
[Question Paper] Advanced SQL (Revised Course) [January / 2014]
 
CSE240 Pointers
CSE240 PointersCSE240 Pointers
CSE240 Pointers
 
(Www.entrance exam.net)-tcs placement sample paper 2
(Www.entrance exam.net)-tcs placement sample paper 2(Www.entrance exam.net)-tcs placement sample paper 2
(Www.entrance exam.net)-tcs placement sample paper 2
 
Toc CFG cfl properties
Toc CFG  cfl propertiesToc CFG  cfl properties
Toc CFG cfl properties
 
3 further logic concepts
3 further logic concepts3 further logic concepts
3 further logic concepts
 
Lecture 2: arrays and pointers
Lecture 2: arrays and pointersLecture 2: arrays and pointers
Lecture 2: arrays and pointers
 
Functions
FunctionsFunctions
Functions
 
Doc 20180130-wa0006
Doc 20180130-wa0006Doc 20180130-wa0006
Doc 20180130-wa0006
 
Doc 20180130-wa0004
Doc 20180130-wa0004Doc 20180130-wa0004
Doc 20180130-wa0004
 
Function presentation
Function presentationFunction presentation
Function presentation
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
C MCQ
C MCQC MCQ
C MCQ
 
Introduction to logic gate
Introduction to logic gateIntroduction to logic gate
Introduction to logic gate
 
Directed Acyclic Graph
Directed Acyclic Graph Directed Acyclic Graph
Directed Acyclic Graph
 

Viewers also liked

Adolecentes nação da cruz
Adolecentes nação da cruzAdolecentes nação da cruz
Adolecentes nação da cruzKaue Cavalcante
 
Clima, cultura, cambio y desarrollo (1)
Clima, cultura, cambio y desarrollo (1)Clima, cultura, cambio y desarrollo (1)
Clima, cultura, cambio y desarrollo (1)Pausides H
 
Antonia Postorivo scrive di Clint Eastwood
Antonia Postorivo scrive di Clint EastwoodAntonia Postorivo scrive di Clint Eastwood
Antonia Postorivo scrive di Clint EastwoodAntonia Postorivo d'Alì
 
Organicacion teorias
Organicacion teoriasOrganicacion teorias
Organicacion teoriasAlan Osornio
 
Questions and Answers to Google Adwords Advanced Display Exam by Digital Mark...
Questions and Answers to Google Adwords Advanced Display Exam by Digital Mark...Questions and Answers to Google Adwords Advanced Display Exam by Digital Mark...
Questions and Answers to Google Adwords Advanced Display Exam by Digital Mark...Simplilearn
 
Interpretação Bíblica da Históri - Cap 5 Daniel 7
Interpretação Bíblica da Históri - Cap 5   Daniel 7Interpretação Bíblica da Históri - Cap 5   Daniel 7
Interpretação Bíblica da Históri - Cap 5 Daniel 7E. M. Silva
 
Questions and Answers to Google Adwords Fundamentals Exam by Digital Marketin...
Questions and Answers to Google Adwords Fundamentals Exam by Digital Marketin...Questions and Answers to Google Adwords Fundamentals Exam by Digital Marketin...
Questions and Answers to Google Adwords Fundamentals Exam by Digital Marketin...Simplilearn
 

Viewers also liked (14)

GATE Exam
GATE ExamGATE Exam
GATE Exam
 
Adolecentes nação da cruz
Adolecentes nação da cruzAdolecentes nação da cruz
Adolecentes nação da cruz
 
Fiel mim
Fiel mimFiel mim
Fiel mim
 
Clima, cultura, cambio y desarrollo (1)
Clima, cultura, cambio y desarrollo (1)Clima, cultura, cambio y desarrollo (1)
Clima, cultura, cambio y desarrollo (1)
 
Antonia Postorivo scrive di Clint Eastwood
Antonia Postorivo scrive di Clint EastwoodAntonia Postorivo scrive di Clint Eastwood
Antonia Postorivo scrive di Clint Eastwood
 
Mayo agosto 2012
Mayo agosto 2012Mayo agosto 2012
Mayo agosto 2012
 
Organicacion teorias
Organicacion teoriasOrganicacion teorias
Organicacion teorias
 
Questions and Answers to Google Adwords Advanced Display Exam by Digital Mark...
Questions and Answers to Google Adwords Advanced Display Exam by Digital Mark...Questions and Answers to Google Adwords Advanced Display Exam by Digital Mark...
Questions and Answers to Google Adwords Advanced Display Exam by Digital Mark...
 
Interpretação Bíblica da Históri - Cap 5 Daniel 7
Interpretação Bíblica da Históri - Cap 5   Daniel 7Interpretação Bíblica da Históri - Cap 5   Daniel 7
Interpretação Bíblica da Históri - Cap 5 Daniel 7
 
As 4 Respostas de José
As 4 Respostas de JoséAs 4 Respostas de José
As 4 Respostas de José
 
Questions and Answers to Google Adwords Fundamentals Exam by Digital Marketin...
Questions and Answers to Google Adwords Fundamentals Exam by Digital Marketin...Questions and Answers to Google Adwords Fundamentals Exam by Digital Marketin...
Questions and Answers to Google Adwords Fundamentals Exam by Digital Marketin...
 
VENHA O TEU REINO
VENHA O TEU REINOVENHA O TEU REINO
VENHA O TEU REINO
 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
 
Digital in 2016
Digital in 2016Digital in 2016
Digital in 2016
 

Similar to Exam1 (example with solutions)

important C questions and_answers praveensomesh
important C questions and_answers praveensomeshimportant C questions and_answers praveensomesh
important C questions and_answers praveensomeshpraveensomesh
 
ELN-133 Chapter 4 Homework Spring 2015 Boolean Algebra .docx
ELN-133 Chapter 4 Homework Spring 2015 Boolean Algebra   .docxELN-133 Chapter 4 Homework Spring 2015 Boolean Algebra   .docx
ELN-133 Chapter 4 Homework Spring 2015 Boolean Algebra .docxjack60216
 
ECE 2103_L6 Boolean Algebra Canonical Forms.pptx
ECE 2103_L6 Boolean Algebra Canonical Forms.pptxECE 2103_L6 Boolean Algebra Canonical Forms.pptx
ECE 2103_L6 Boolean Algebra Canonical Forms.pptxMdJubayerFaisalEmon
 
Ramco Sample Paper 2003
Ramco  Sample  Paper 2003Ramco  Sample  Paper 2003
Ramco Sample Paper 2003ncct
 
Gate Computer Science Solved Paper 2007
Gate Computer Science Solved Paper 2007 Gate Computer Science Solved Paper 2007
Gate Computer Science Solved Paper 2007 Rohit Garg
 
Gate Previous Years Papers It2005
Gate Previous Years Papers It2005Gate Previous Years Papers It2005
Gate Previous Years Papers It2005Rahul Jain
 
PDT DC015 Chapter 2 Computer System 2017/2018 (f)
PDT DC015 Chapter 2 Computer System 2017/2018 (f)PDT DC015 Chapter 2 Computer System 2017/2018 (f)
PDT DC015 Chapter 2 Computer System 2017/2018 (f)Fizaril Amzari Omar
 
Number systems and Boolean Reduction
Number systems and Boolean ReductionNumber systems and Boolean Reduction
Number systems and Boolean ReductionDhaval Shukla
 
[Question Paper] Fundamentals of Digital Computing (Revised Course) [January ...
[Question Paper] Fundamentals of Digital Computing (Revised Course) [January ...[Question Paper] Fundamentals of Digital Computing (Revised Course) [January ...
[Question Paper] Fundamentals of Digital Computing (Revised Course) [January ...Mumbai B.Sc.IT Study
 

Similar to Exam1 (example with solutions) (20)

Gate-Cs 1999
Gate-Cs 1999Gate-Cs 1999
Gate-Cs 1999
 
important C questions and_answers praveensomesh
important C questions and_answers praveensomeshimportant C questions and_answers praveensomesh
important C questions and_answers praveensomesh
 
ELN-133 Chapter 4 Homework Spring 2015 Boolean Algebra .docx
ELN-133 Chapter 4 Homework Spring 2015 Boolean Algebra   .docxELN-133 Chapter 4 Homework Spring 2015 Boolean Algebra   .docx
ELN-133 Chapter 4 Homework Spring 2015 Boolean Algebra .docx
 
ECE 2103_L6 Boolean Algebra Canonical Forms.pptx
ECE 2103_L6 Boolean Algebra Canonical Forms.pptxECE 2103_L6 Boolean Algebra Canonical Forms.pptx
ECE 2103_L6 Boolean Algebra Canonical Forms.pptx
 
LAB 4.docx
LAB 4.docxLAB 4.docx
LAB 4.docx
 
Ramco Sample Paper 2003
Ramco  Sample  Paper 2003Ramco  Sample  Paper 2003
Ramco Sample Paper 2003
 
Adobe
AdobeAdobe
Adobe
 
Gate Computer Science Solved Paper 2007
Gate Computer Science Solved Paper 2007 Gate Computer Science Solved Paper 2007
Gate Computer Science Solved Paper 2007
 
Gate-Cs 1995
Gate-Cs 1995Gate-Cs 1995
Gate-Cs 1995
 
kmaps
 kmaps kmaps
kmaps
 
Gate Previous Years Papers It2005
Gate Previous Years Papers It2005Gate Previous Years Papers It2005
Gate Previous Years Papers It2005
 
130701 09-05-2012
130701 09-05-2012130701 09-05-2012
130701 09-05-2012
 
PDT DC015 Chapter 2 Computer System 2017/2018 (f)
PDT DC015 Chapter 2 Computer System 2017/2018 (f)PDT DC015 Chapter 2 Computer System 2017/2018 (f)
PDT DC015 Chapter 2 Computer System 2017/2018 (f)
 
Number systems and Boolean Reduction
Number systems and Boolean ReductionNumber systems and Boolean Reduction
Number systems and Boolean Reduction
 
9525.ppt
9525.ppt9525.ppt
9525.ppt
 
[Question Paper] Fundamentals of Digital Computing (Revised Course) [January ...
[Question Paper] Fundamentals of Digital Computing (Revised Course) [January ...[Question Paper] Fundamentals of Digital Computing (Revised Course) [January ...
[Question Paper] Fundamentals of Digital Computing (Revised Course) [January ...
 
Cs101 endsem 2014
Cs101 endsem 2014Cs101 endsem 2014
Cs101 endsem 2014
 
Gate-Cs 2007
Gate-Cs 2007Gate-Cs 2007
Gate-Cs 2007
 
3rd Semester Computer Science and Engineering (ACU) Question papers
3rd Semester Computer Science and Engineering  (ACU) Question papers3rd Semester Computer Science and Engineering  (ACU) Question papers
3rd Semester Computer Science and Engineering (ACU) Question papers
 
NET_Solved ans
NET_Solved ansNET_Solved ans
NET_Solved ans
 

Recently uploaded

mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 

Recently uploaded (20)

Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 

Exam1 (example with solutions)

  • 1. ECE380: Digital Logic Sample Exam 1 The exam will be closed book and closed notes. The following questions are representative of the type of questions that will be on the exam. A sheet showing Boolean theorems will be provided. You will be allowed one information sheet (front side only) with any additional information you choose to put on it. Your name must be on this sheet and it must be turned in with the exam. No calculators will be allowed. There will be 15 problems on the exam: 10 multiple choice (similar to samples 1-5) and 5 written (similar to samples 6-12). 1. Rewrite the following function in SOP form. F(a,b,c,d,e)=(a+c’)(a+d)(ab’c+e) a) b) c) d) e) a+ab’d+ae+c’de ab’c+ae+c’de, from 12b and 12a ab’c+ab’d+ae+c’ a’bc+ae+c’de a+ae+c’de 2. Which of the following Boolean expressions are false? a) b) c) d) e) (x+y)(x+z)=x+yz, true from 12b (x+y)(x’+z)=x’y+xz, true by truth table (or K-map) comparison xy+x’=x’+y, true from 16a x+(y+z)=(x+y)+z, true from 11b none of the above 3. For the following Boolean expressions, which equalities are true? F1=wy’+w’x’y’+w’yz F2=wxy’+x’y’+w’yz F3=wy’+x’y’z’+w’x’z+w’y’z F4=w’xy’+wy+yz’ a) b) c) d) e) F1=F2 F1=F3 and F2=F4 F1=F2=F3 F3=F4 none of the above 4. How many literals and variables does the following function have in this form? F=a’bc+a’bcd+c’d’ a) 4 literals, 9 variables b) 4 variables, 4 literals c) 4 variables, 9 literals d) 9 variables, 9 literals e) none of the above
  • 2. 5. For the circuit: a) b) c) d) e) f=ab+a’b’+bc f=(ab)(bc)’ f=abc f=0 none of the above 6. Draw the minimum cost AND-OR implementation for F. Input variables are available in true and complement forms. F(A,B,C,D)= m(1,3,6,7,11,14,15)+D(5,9,10) AB 00 01 11 10 00 0 0 0 0 01 1 d 0 d 1 1 1 CD 11 10 0 1 1 1 d
  • 3. 7. Write the VHDL ENTITY and ARCHITECTURE constructs for the circuit described by the equations below. Do not simplify. F=(A+B’)(C+A’B)’ G=AB’+C(A’+B) ENTITY prob7 IS PORT (A,B,C : IN BIT; F,G : OUT BIT); END prob7; ARCHITECTURE LogicFunc OF prob7 IS BEGIN F <= (A OR NOT B) AND NOT (C OR (NOT A AND B)); G <= (A AND NOT B) OR (C AND (NOT A OR B)); END LogicFunc; 8. Give the MAXTERM notation of the following function. f=ab+a’bc’+a’c f=M(0,4,5) 9. Identify the essential and nonessential prime implicants for the function given below. What is the minimum cost SOP expression? What is the COST? F(A,B,C,D)= m(1,3,5,8,14,15)+D(9,10)
  • 4. 10. Draw the minimum NAND-NAND implementation for F. F(A,B,C,D)= m(1,5,8,13-15)+D(3,10,12)
  • 5. 11. Draw the minimum NOR-NOR implementation for F in problem 10. 12. Draw the schematic diagram for a programmed PLA that implements the functions below. F=(A+B’)(C+A’B)’ G=AB’+C(A’+B)
  • 6.
  • 7. Axioms of Boolean algebra 1a. 1b. 2a. 2b. 3a. 3b. 4a. 4b. 0·0=0 1+1=1 1·1=1 0+0=0 0·1=1·0=0 1+0=0+1=1 If x=0 then x’=1 If x=1 then x’=0 Single-Variable theorems 5a. 5b. 6a. 6b. 7a. 7b. 8a. 8b. 9. x·0=0 x+1=1 x·1=x x+0=x x·x=x x+x=x x·x’=0 x+x’=1 x’’=x Two & three variable properties 10a. 10b. 11a. 11b. 12a. 12b. 13a. 13b. 14a. 14b. 15a. 15b. 16a. 16b. x·y=y·x x+y=y+x x·(y·z)=(x·y)·z x+(y+z)=(x+y)+z x·(y+z)=x·y+x·z x+y·z=(x+y)·(x+z) x+x·y=x x·(x+y)=x x·y+x·y’=x (x+y)·(x+y’)=x (x·y)’=x’+y’ (x+y)’=x’·y’ x+x’·y=x+y x·(x’+y)=x·y Commutative Associative Distributive Absorption Combining DeMorgan’s Theorem