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

Similar documents
ECE 2030D Computer Engineering Spring problems, 5 pages Exam Two 8 March 2012

ECE 2020B Fundamentals of Digital Design Spring problems, 6 pages Exam Two 26 February 2014

ECE 2020B Fundamentals of Digital Design Spring problems, 6 pages Exam Two Solutions 26 February 2014

Digital Logic Design Exercises. Assignment 1

Question Total Possible Test Score Total 100

ECE 30 Introduction to Computer Engineering

Experimental Methods I

CMPSCI 145 MIDTERM #1 Solution Key. SPRING 2017 March 3, 2017 Professor William T. Verts

Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates. Invitation to Computer Science, C++ Version, Third Edition

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.

Number Systems. Both numbers are positive

Numeric Encodings Prof. James L. Frankel Harvard University

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

Number Systems Standard positional representation of numbers: An unsigned number with whole and fraction portions is represented as:

Student Number: UTORid: Question 0. [1 mark] Read and follow all instructions on this page, and fill in all fields.

Basic Arithmetic (adding and subtracting)

DIGITAL ELECTRONICS. P41l 3 HOURS

ECE 341 Midterm Exam

CHAPTER V NUMBER SYSTEMS AND ARITHMETIC

ENEL Digital Circuits Midterm Examination

1. Mark the correct statement(s)

CDA 3103 Computer Organization Exam 1 (Sep. 22th, 2014)

Floating Point Arithmetic

CS/ECE 252: INTRODUCTION TO COMPUTER ENGINEERING UNIVERSITY OF WISCONSIN MADISON

CHW 261: Logic Design

60-265: Winter ANSWERS Exercise 4 Combinational Circuit Design

CMPSCI 145 MIDTERM #2 SPRING 2017 April 7, 2017 Professor William T. Verts NAME PROBLEM SCORE POINTS GRAND TOTAL 100

UNIVERSITY OF WISCONSIN MADISON

ECE232: Hardware Organization and Design

CDS130 Mid-term exam: Sample

Binary Adders: Half Adders and Full Adders

Computer Organisation CS303

1. Draw general diagram of computer showing different logical components (3)

CS101 Lecture 04: Binary Arithmetic

Operations On Data CHAPTER 4. (Solutions to Odd-Numbered Problems) Review Questions

CSCI 402: Computer Architectures. Arithmetic for Computers (3) Fengguang Song Department of Computer & Information Science IUPUI.

EE292: Fundamentals of ECE

PART A (22 Marks) 2. a) Briefly write about r's complement and (r-1)'s complement. [8] b) Explain any two ways of adding decimal numbers.

Floating-point Arithmetic. where you sum up the integer to the left of the decimal point and the fraction to the right.

Arab Open University. Computer Organization and Architecture - T103

Chapter 4. Combinational Logic

ECE 341 Midterm Exam

Computer Organization and Architecture (CSCI-365) Sample Final Exam

Chapter 03: Computer Arithmetic. Lesson 09: Arithmetic using floating point numbers

END-TERM EXAMINATION

D I G I T A L C I R C U I T S E E

ECE331: Hardware Organization and Design

Digital Fundamentals

ELCT 501: Digital System Design

Digital Fundamentals. Lab 6 2 s Complement / Digital Calculator

Computer Sc. & IT. Digital Logic. Computer Sciencee & Information Technology. 20 Rank under AIR 100. Postal Correspondence

10.1. Unit 10. Signed Representation Systems Binary Arithmetic

CDS Computing for Scientists. Midterm Exam Review. Midterm Exam on October 22, 2013

CS/COE 0447 Example Problems for Exam 2 Spring 2011

Birkbeck (University of London) Department of Computer Science and Information Systems. Introduction to Computer Systems (BUCI008H4)

COMP2611: Computer Organization. Data Representation

Computer Organization and Levels of Abstraction

BUILDING BLOCKS OF A BASIC MICROPROCESSOR. Part 1 PowerPoint Format of Lecture 3 of Book

IT 1204 Section 2.0. Data Representation and Arithmetic. 2009, University of Colombo School of Computing 1

Binary Addition. Add the binary numbers and and show the equivalent decimal addition.

Advanced Computer Architecture-CS501

Objectives: 1. Design procedure. 2. Fundamental circuits. 1. Design procedure

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

Number System. Introduction. Decimal Numbers

Time: 8:30-10:00 pm (Arrive at 8:15 pm) Location What to bring:

Number Systems and Computer Arithmetic

Number Systems. Binary Numbers. Appendix. Decimal notation represents numbers as powers of 10, for example

Introduction to Computer Science-103. Midterm

Review Topics. Midterm Exam Review Slides

Chapter 3: Arithmetic for Computers

Logic, Words, and Integers

ECE2020 Final Exam Summer 2014 GTL July 30, 2014

Introduction to Computers and Programming. Numeric Values

Chapter Three. Digital Components

Code No: R Set No. 1

CS 151 Quiz 4. Instructions: Student ID. (Last Name) (First Name) Signature

COMPUTER ARCHITECTURE AND ORGANIZATION. Operation Add Magnitudes Subtract Magnitudes (+A) + ( B) + (A B) (B A) + (A B)

Introduction to Computer Science. Homework 1

Review Topics. Midterm Exam Review Slides

3. The high voltage level of a digital signal in positive logic is : a) 1 b) 0 c) either 1 or 0

CE161-4-AU UNIVERSITY OF ESSEX. Undergraduate Examinations 2014 DIGITAL SYSTEMS ARCHITECTURE. Time allowed: TWO hours

Microcomputers. Outline. Number Systems and Digital Logic Review

Philadelphia University Student Name: Student Number:

9/3/2015. Data Representation II. 2.4 Signed Integer Representation. 2.4 Signed Integer Representation

CONTENTS CHAPTER 1: NUMBER SYSTEM. Foreword...(vii) Preface... (ix) Acknowledgement... (xi) About the Author...(xxiii)

The ALU consists of combinational logic. Processes all data in the CPU. ALL von Neuman machines have an ALU loop.

LECTURE 4. Logic Design

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

Combinational Logic II

Written exam for IE1204/5 Digital Design Thursday 29/

that system. weighted value associated with it. numbers. a number. the absence of a signal. MECH 1500 Quiz 2 Review Name: Class: Date:

Birkbeck (University of London) Department of Computer Science and Information Systems. Introduction to Computer Systems (BUCI008H4)

Inf2C - Computer Systems Lecture 2 Data Representation

Computer Organization and Levels of Abstraction

ECE 313 Computer Organization EXAM 2 November 11, 2000

1. NUMBER SYSTEMS USED IN COMPUTING: THE BINARY NUMBER SYSTEM

Week 7: Assignment Solutions

Injntu.com Injntu.com Injntu.com R16

Question No: 1 ( Marks: 1 ) - Please choose one A SOP expression is equal to 1

CS 101: Computer Programming and Utilization

Transcription:

Instructions: This is a closed book, closed note exam. Calculators are not permitted. If you have a question, raise your hand and I will come to you. Please work the exam in pencil and do not separate the pages of the exam. For maximum credit, show your work. Good Luck! Your Name (please print) 1 2 3 4 total 22 28 24 26 100 1

Problem 1 (3 parts, 22 points) Building Blocks Part A (6 points) Implement a 1 to 2 demultiplexor with pass gates and inverters. Be sure to label all inputs and outputs. Part B (8 points) Suppose the circuit below has the following input priority: I 2 > I 3 > I 0 > I 1. Complete the truth table by filling in the input values that would produce the given outputs and derive a simplified expression for O 1. I 3 I 2 I 1 I 0 V O 1 O 0 I0 I1 I2 I3 O0 O1 0 X X 1 0 0 1 0 1 1 1 0 1 1 1 O 1 = Part C (8 points) Which building block does the following circuit implement? Label all inputs and outputs by filling in the squares. This implements a. In0 In1 En 2 to 4 decoder 0 1 2 3 2

Problem 2 (3 parts, 28 points) Number Systems Part A (10 points) Convert the following notations: binary notation 1010 1100. 101 1111.101 hexadecimal notation decimal notation 6.6875 octal notation 243.54 5F3.DC Part B (12 points) For the 32 bit representations below, determine the most positive value and the step size (difference between sequential values). All answers should be expressed in decimal notation. Fractions (e.g., 3/16ths) may be used. Signed representations are two s complement. representation most positive value step size unsigned integer (32 bits). (0 bits) (24 bits). (8 bits) (28 bits). (4 bits) (16 bits). (16 bits) Part C (6 points) A 24 bit floating point representation has a 15 bit mantissa field, a 8 bit exponent field, and one sign bit. What is the largest value that can be represented (closest to infinity)? What is the smallest value that can be represented (closest to zero)? How many decimal significant figures are supported? 2 2 3

Problem 3 (3 parts, 24 points) Adding & Subtracting Part A (12 points) For each problem below, compute the operations using the rules of arithmetic, and indicate whether an overflow occurs assuming all numbers are expressed using a six bit unsigned and six bit two s complement representations. result unsigned error? signed error? 101101 + 10111 1110 + 10101 Part B (4 points) Complete the truth table below for a full adder. 11001-111000 110100-10010 A B C in C out Sum 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 Part C (8 points) Implement the full adder using only NAND, XOR, and inverter gates. Label inputs A, B, and C in. Label outputs C out and Sum. 4

Problem 4 (4 parts, 26 points) Registers and Latches Part A (6 points) Implement a transparent latch using gates of any type (e.g., AND, inverter, pass gates), but use the minimum number of transistors. Label the inputs In and En, and output. Part B (7 points) Design an RS latch using NOR gates only. Label inputs R and S. Label outputs OUT and OUT. Do not attempt to employ mixed logic notation. Also complete the truth table. R S Part C (5 points) Expand the RS latch to an implementation of a two-phase non-overlapping clock, generated from an input signal In that is a periodic square wave. Use only an RS latch and basic gates (AND, OR, NAND, NOR, and inverters). Label the input In and the outputs F1 and F2. R S OUT OUT 0 0 0 1 1 0 1 1 Part D (8 points) Assume the following signals are applied to a register with write enable. Draw the output signal. Draw a vertical line where In is sampled. Assume is initially zero. Φ 1 Φ 2 WE In 5