Section 001. Read this before starting!

Similar documents
Read this before starting!

Section 001. Read this before starting! You may use one sheet of scrap paper that you will turn in with your test.

Read this before starting!

Read this before starting!

Read this before starting!

Read this before starting!

Read this before starting!

Read this before starting!

Read this before starting!

Read this before starting!

East Tennessee State University Department of Computer and Information Sciences CSCI 4717 Computer Architecture TEST 3 for Fall Semester, 2006

Read this before starting!

Section 001. Read this before starting!

East Tennessee State University Department of Computer and Information Sciences CSCI 4717 Computer Architecture TEST 3 for Fall Semester, 2005

If a b or a c, then a bc If a b and b c, then a c Every positive integer n > 1 can be written uniquely as n = p 1 k1 p 2 k2 p 3 k3 p 4 k4 p s

Read this before starting!

East Tennessee State University Department of Computer and Information Sciences CSCI 1710/Section 001 Web Design I TEST 1 for Fall Semester, 2000

East Tennessee State University Department of Computer and Information Sciences CSCI 4717 Computer Architecture TEST 2 for Fall Semester, 2007

Section 002. Read this before starting!

Read this before starting!

Section 001 & 002. Read this before starting!

Section 001. Read this before starting!

Read this before starting!

Read this before starting!

1. Mark the correct statement(s)

Read this before starting!

LSN 4 Boolean Algebra & Logic Simplification. ECT 224 Digital Computer Fundamentals. Department of Engineering Technology

Assignment (3-6) Boolean Algebra and Logic Simplification - General Questions

Combinational Circuits Digital Logic (Materials taken primarily from:

Philadelphia University Student Name: Student Number:

Ch. 5 : Boolean Algebra &

Summary. Boolean Addition

Propositional Calculus. Math Foundations of Computer Science

MODULE 5 - COMBINATIONAL LOGIC

DKT 122/3 DIGITAL SYSTEM 1

BOOLEAN ALGEBRA. Logic circuit: 1. From logic circuit to Boolean expression. Derive the Boolean expression for the following circuits.

Chapter Three. Digital Components

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

Chapter 2. Boolean Expressions:

LECTURE 4. Logic Design

Midterm Exam Review. CS 2420 :: Fall 2016 Molly O'Neil

MULTIMEDIA COLLEGE JALAN GURNEY KIRI KUALA LUMPUR

Experiment 3: Logic Simplification

Experiment 4 Boolean Functions Implementation

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

B.Tech II Year I Semester (R13) Regular Examinations December 2014 DIGITAL LOGIC DESIGN

Code No: R Set No. 1

DIGITAL CIRCUIT LOGIC UNIT 7: MULTI-LEVEL GATE CIRCUITS NAND AND NOR GATES

Last Name Student Number. Last Name Student Number

IT 201 Digital System Design Module II Notes

Module -7. Karnaugh Maps

UNCA CSCI 255 Exam 1 Spring February, This is a closed book and closed notes exam. It is to be turned in by 1:45 PM.

QUESTION BANK FOR TEST

Boolean Analysis of Logic Circuits

Logic Design: Part 2

Logic Gates and Boolean Algebra ENT263

Date Performed: Marks Obtained: /10. Group Members (ID):. Experiment # 04. Boolean Expression Simplification and Implementation

Code No: R Set No. 1

Simplification of Boolean Functions

EECS 140/141 Introduction to Digital Logic Design Fall Semester 2016 Exam #1 Date: 3 October 2016

ECE 331: N0. Professor Andrew Mason Michigan State University. Opening Remarks

ENEL 353: Digital Circuits Midterm Examination

Logic design Ibn Al Haitham collage /Computer science Eng. Sameer

II/IV B.Tech (Regular/Supplementary) DEGREE EXAMINATION. Answer ONE question from each unit.

Question Total Possible Test Score Total 100

Lecture (04) Boolean Algebra and Logic Gates

Lecture (04) Boolean Algebra and Logic Gates By: Dr. Ahmed ElShafee

Code No: R Set No. 1

A graphical method of simplifying logic

Digital Logic Design (3)

R10. II B. Tech I Semester, Supplementary Examinations, May

Final Exam Solution Sunday, December 15, 10:05-12:05 PM

EEE130 Digital Electronics I Lecture #4_1

Digital logic fundamentals. Question Bank. Unit I

Propositional Calculus: Boolean Algebra and Simplification. CS 270: Mathematical Foundations of Computer Science Jeremy Johnson

(Refer Slide Time 6:48)

ECE 2030B 1:00pm Computer Engineering Spring problems, 5 pages Exam Two 10 March 2010

DIGITAL ELECTRONICS. P41l 3 HOURS

Slide Set 5. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary

Propositional Calculus. CS 270: Mathematical Foundations of Computer Science Jeremy Johnson

Preface... xxi Chapter One: Digital Signals and Systems... 1 Chapter Two: Numbering Systems... 17

Specifying logic functions


Combinational Logic Circuits

Synthesis of combinational logic

EE292: Fundamentals of ECE

UNIT-4 BOOLEAN LOGIC. NOT Operator Operates on single variable. It gives the complement value of variable.

Chapter 6. Logic Design Optimization Chapter 6

Incompletely Specified Functions with Don t Cares 2-Level Transformation Review Boolean Cube Karnaugh-Map Representation and Methods Examples

Combinational Logic & Circuits

ENGIN 112 Intro to Electrical and Computer Engineering

SWITCHING THEORY AND LOGIC CIRCUITS

Chapter 3. Gate-Level Minimization. Outlines

SIR C.R.REDDY COLLEGE OF ENGINEERING, ELURU DEPARTMENT OF INFORMATION TECHNOLOGY LESSON PLAN

CprE 281: Digital Logic

Scheme G. Sample Test Paper-I

Injntu.com Injntu.com Injntu.com R16

4 KARNAUGH MAP MINIMIZATION

Written exam for IE1204/5 Digital Design Thursday 29/

Combinational Logic Circuits Part III -Theoretical Foundations

Transcription:

Points missed: Student's Name: Total score: / points East Tennessee State University Department of Computer and Information Sciences CSCI 25 (Tarnoff) Computer Organization TEST 2 for Fall Semester, 25 Section ead this before starting! The total possible score for this test is points. This test is closed book and closed notes. All answers must be placed in space provided. Failure to do so may result in loss of points. point will be deducted per answer for missing or incorrect units when required. No assumptions will be made for hexadecimal versus decimal, so you should always include the base in your answer. If you perform work on the back of a page in this test, indicate that you have done so in case the need arises for partial credit to be determined. Calculators are not allowed. Use the tables below for any conversions you may need. Leaving numeric equations is fine too. Binary Hex Binary Hex Power of 2 Equals 8 2 3 8 9 2 4 6 2 A 2 5 32 3 B 2 6 64 4 C 2 7 28 5 D 2 8 256 6 E 2 9 52 7 F 2 K 2 2 M 2 3 G Fine print Academic Misconduct: Section 5.7 "Academic Misconduct" of the East Tennessee State University Faculty Handbook, June, 2: "Academic misconduct will be subject to disciplinary action. Any act of dishonesty in academic work constitutes academic misconduct. This includes plagiarism, the changing of falsifying of any academic documents or materials, cheating, and the giving or receiving of unauthorized aid in tests, examinations, or other assigned school work. Penalties for academic misconduct will vary with the seriousness of the offense and may include, but are not limited to: a grade of 'F' on the work in question, a grade of 'F' of the course, reprimand, probation, suspension, and expulsion. For a second academic offense the penalty is permanent expulsion."

Short answers 2 points each For the following four circuits, identify the value of the output from the following choices. Consider the D-latch a rising edge triggered latch. a.) b.) c.) (stored value of ) d.) (inverse of stored value of ) e.) undefined. 2. 3. 4. 5. The expression A B C + A B C + A B is not in proper Sum-of-Products format. What boolean algebra operation would you need to apply to correct this? a.) It's not a problem; illegal term drops out b.) Distributive Law c.) Use "F-O-I-L" d.) Take the inverse of the inverse e.) DeMorgan's Theorem f.) It can't be fixed 6. True or False: There exists exactly one pattern of rectangles for every pattern of 's and 's in a Karnaugh map. 7. True or False: In a Karnaugh map, there must be an adjacent cell for every possible single-variable change. For example, if a Karnaugh map has three input variables, then there must be three cells adjacent to every cell in the map where only one variable value changes in a move to that cell. 8. How many cells does a 3 input Karnaugh map have? a.) 4 b.) 6 c.) 8 d.) 6 e.) 24 f.) 32 9. In a 4-variable Karnaugh map, how many input variables (A, B, C, or D) does a product have if its corresponding rectangle of 's contains 2 cells? a.) b.) 2 c.) 3 d.) 4 e.) Cannot be determined. A falling edge triggered latch copies data from the D input to the output when the clock is: a.) a logic b.) changing from a to a c.) a logic d.) changing from a to a

. True or False: Both the S and inputs to a D-latch have priority over the D and clock inputs. 2. Make the connections to the latch in the figure to the right that makes a divide-by-two circuit, i.e., divides D the frequency F in half at the output. F 3. Which of the following sums produces the truth table to the right? a.) c.) A + B + C b.) A + B + C c.) A + B + C B + C d.) B + C d.) None of the above 4. Fill in the truth table for the NAND circuit shown below. A '' X A X A B C X The next four problems use the state machine diagram to the right. Assume that the states are numbered so that bit S 2 is the MSB and bit S is the LSB. 5. What is the maximum number of states that this system can handle? I = Next state logic Clock 6. True or false: If the input I changed from to, but everything else remained unchanged, the output of the system would remain unchanged. 7. What is the current state of this system? Keep your answer in binary. D S 2 D S D S Output logic 8. If the clock were to pulse right now, what would the next state be? Keep your answer in binary. 9. True or False: enumbering the states of a state machine has no effect on the "next state" logic for the digital hardware implementation. 2. How many latches will a state machine with 22 states require? a.) b.) 2 c.) 3 d.) 4 e.) 5 f.) 6 g.) 7 2. If a group of four rows or columns in a Karnaugh map is identified with two variables, it is numbered,,, instead of,,,. Why?

22. For the multiplexer/selector shown to the right, what is the output Y? D D D 2 D 3 Y S S 23. For the Karnaugh map to the right, identify the problems with each of the three rectangles shown. (2 points each) ectangle : ectangle 2: AB ectangle ectangle 2 ectangle 3 CD ectangle 3: Medium answers 4 points each 24. Convert the Sum-of_Products circuit shown below to NAND-NAND logic, i.e., a circuit that contains nothing but NAND gates (and possible inverters at inputs). A B C 25. Complete the truth table to the right with the values for the following Sum-of-Products expression: X = ( A C) + ( A B C ) + ( A B C ) 26. In the Karnaugh map to the right, draw the best pattern of rectangles you can. Do not derive the SOP expression. A B C X CD AB X

27. Create a Karnaugh map from the truth table below. Do not worry about making the rectangles. A B C X 28. Show the D latch output waveform based on the inputs D, S,, and clock indicated in the graph to the right. Assume the latch captures on the rising edge. (The figure below is just for a reference.) Clock D D Clock Longer answers Points vary per problem 29. Make the state diagram that will output a when the sequence is detected in a serial stream of bits. For example, if the following binary stream is received: then s will be output here. (Notice that the last zero of the second pattern is shared with the first zero of the third pattern.) At all other times, the system will output zeros. Label the input D. (8 points) Initial state No digits

3. Derive the minimum SOP expression from the Karnaugh map below. (6 points) CD AB 3. Create the next state truth table and the output truth table for the state diagram to the right. Use the variable names S and S to represent the most significant and least significant bits respectively of the binary number identifying the state. Label the output 'X'. (8 points) K= K= K= K= K= K= K= K=

32. The three Boolean expressions below represent the next state bits (S ' and S ') and the output bit X based on the current state (S and S ) and the input A. Draw the logic circuit for the state machine including the latches and output circuitry. Be sure to label the latch inputs and other signals. (8 points) S ' = S A S ' = S A X = S S