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.

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

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

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

Read this before starting!

CS/COE 0447 Example Problems for Exam 2 Spring 2011

1. Mark the correct statement(s)

Gate-Level Minimization. BME208 Logic Circuits Yalçın İŞLER

Read this before starting!

CSE-1520R Test #1. The exam is closed book, closed notes, and no aids such as calculators, cellphones, etc.

Chapter 2. Boolean Expressions:

CSE-1520R Test #1. The exam is closed book, closed notes, and no aids such as calculators, cellphones, etc.

Binary. Hexadecimal BINARY CODED DECIMAL

CS/EE1012 INTRODUCTION TO COMPUTER ENGINEERING SPRING 2013 HOMEWORK I. Solve all homework and exam problems as shown in class and sample solutions

CS1800 Discrete Structures Final Version A

Read this before starting!

Logic Design: Part 2

Read this before starting!

Read this before starting!

public static String[] manyme() {

Gate-Level Minimization. section instructor: Ufuk Çelikcan

Read this before starting!

CDS130 Mid-term exam: Sample

ENEL 353: Digital Circuits Midterm Examination

CHW 261: Logic Design

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

Simplification of Boolean Functions

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

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

4. Write a sum-of-products representation of the following circuit. Y = (A + B + C) (A + B + C)

MODULE 5 - COMBINATIONAL LOGIC

Department of Electrical and Computer Engineering University of Wisconsin - Madison. ECE/CS 352 Digital System Fundamentals.

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

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

Experiment 4 Boolean Functions Implementation

Chapter 2 Combinational Logic Circuits

History of Computing. Ahmed Sallam 11/28/2014 1

Chapter 3. Gate-Level Minimization. Outlines

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

Question Total Possible Test Score Total 100

Experimental Methods I

Course overview. Computer Organization and Assembly Languages Yung-Yu Chuang 2006/09/18. with slides by Kip Irvine


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

Summary of Course Coverage

Section 001. Read this before starting!

ELCT201: DIGITAL LOGIC DESIGN

CSC 220: Computer Organization Unit 10 Arithmetic-logic units

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

Slide Set 1. for ENEL 339 Fall 2014 Lecture Section 02. Steve Norman, PhD, PEng

CprE 281: Digital Logic

ELCT201: DIGITAL LOGIC DESIGN

Unit 2: Data Storage CS 101, Fall 2018

Midterm Exam 2B Answer key

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

EE292: Fundamentals of ECE

NATIONAL UNIVERSITY OF SINGAPORE CS2100 COMPUTER ORGANISATION

Basic Definition INTEGER DATA. Unsigned Binary and Binary-Coded Decimal. BCD: Binary-Coded Decimal

EECS 270 Midterm Exam

Computer Architecture: Part III. First Semester 2013 Department of Computer Science Faculty of Science Chiang Mai University

Digital Design. Chapter 4. Principles Of. Simplification of Boolean Functions

Logic Gates and Boolean Algebra ENT263

T02 Tutorial Slides for Week 2

2. (a) Compare the characteristics of a floppy disk and a hard disk. (b) Discuss in detail memory interleaving. [8+7]

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

Department of Electrical and Computer Engineering University of Wisconsin - Madison. ECE/CS 352 Digital System Fundamentals.

KING FAHD UNIVERSITY OF PETROLEUM & MINERALS COMPUTER ENGINEERING DEPARTMENT

Digital Fundamentals

Assembly Language for Intel-Based Computers, 4 th Edition. Chapter 1: Basic Concepts. Chapter Overview. Welcome to Assembly Language

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

/90 TOTAL. 1(a) 8pts. fiv(a,b) is called the function.

Arithmetic-logic units

LECTURE 4. Logic Design

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

Specifying logic functions

Lecture (03) Binary Codes Registers and Logic Gates

THE LOGIC OF COMPOUND STATEMENTS

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

E40M. Binary Numbers, Codes. M. Horowitz, J. Plummer, R. Howe 1

Spring 2010 CPE231 Digital Logic Section 1 Quiz 1-A. Convert the following numbers from the given base to the other three bases listed in the table:

Logic Circuits I ECE 1411 Thursday 4:45pm-7:20pm. Nathan Pihlstrom.

QUESTION BANK FOR TEST

SWITCHING THEORY AND LOGIC CIRCUITS

Chapter 4. Combinational Logic

R a) Simplify the logic functions from binary to seven segment display code converter (8M) b) Simplify the following using Tabular method

Boolean Analysis of Logic Circuits

15110 PRINCIPLES OF COMPUTING SAMPLE EXAM 2

Homework 1. Due Date: Wednesday 11/26/07 - at the beginning of the lecture

(Refer Slide Time 6:48)

Chapter 2 Combinational

CS/COE 0447 Example Problems for Exam 2 Fall 2010

IT 201 Digital System Design Module II Notes

ECE2020 Final Exam Summer 2014 GTL July 30, 2014

END-TERM EXAMINATION

Chapter 3 Data Representation

CS1800 Discrete Structures Fall 2016 Profs. Aslam, Gold, Ossowski, Pavlu, & Sprague December 16, CS1800 Discrete Structures Final

Outline. policies. with some potential answers... MCS 260 Lecture 19 Introduction to Computer Science Jan Verschelde, 24 February 2016

Korea University of Technology and Education

MULTIMEDIA COLLEGE JALAN GURNEY KIRI KUALA LUMPUR

CS1800 Discrete Structures Fall 2017 October 25, CS1800 Discrete Structures Midterm Version B

Transcription:

UNCA CSCI 255 Exam 1 Spring 2017 27 February, 2017 This is a closed book and closed notes exam. It is to be turned in by 1:45 PM. Communication with anyone other than the instructor is not allowed during the exam. Furthermore, calculators, cell phones, and any other electronic or communication devices may not be used during this exam. Anyone needing a break during the exam must leave their exam with the instructor. Cell phones or computers may not be used during breaks. If you want partial credit for imperfect answers, explain the reason for your answer! Name: Problem 1 (8 points) Decimal to two s complement conversion Convert the following four signed decimal numbers into six-bit two s complement representation. Some of these numbers may be outside the range of representation for six-bit two's complement numbers. Write out-of-range for those cases. -20 32 5-5 Problem 2 (8 points) Two s complement to decimal conversion Convert the following four six-bit two s complement numbers into signed decimal representation. 100000 010010 110000 001100 Page 1 of 6

Problem 3 (8 points) Adding signed numbers Add the following pairs of six-bit two s complement numbers and indicate which additions result in an overflow by writing one of overflow or no overflow in each box. You must write either overflow or no overflow in each box in addition to the result of the addition. 001111 + 011101 000101 + 010100 100011 + 100011 110101 + 110100 Problem 4 (2 points) Write the four characters of the string h(5@ using ASCII encoding as eight hexadecimal digits. Problem 5 (4 points) What is the range of numbers that can be stored in a seven-bit two's complement number? Give integer literals, like 49, not formulas, like 7 2. Problem 6 (3 points) How is the decimal number 3.14 most accurately expressed in six-bit two s complement with three fractional bits? Problem 7 (3 points) If 101010 is a six-bit two s complement number with three factional bits, what is the correspondingly decimal number? Page 2 of 6

Problem 8 (12 points) Digital logic to truth table A gate-level circuit is shown below with three inputs on the left and a single output on the right. Complete the truth table so that it corresponds to this digital circuit. 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 Problem 9 (4 points) Digital logic to Boolean expression Write a Boolean expression that corresponds to the logic circuit shown in Problem 8. You can build on your Problem 8 answer if that seems appropriate. Page 3 of 6

Problem 10 (8 points) Truth table to Boolean expression Write a Boolean expression that will implement the following truth table, where X, Y, and Z are inputs and A is the single output. 0 0 0 0 0 0 1 1 0 1 0 0 0 1 1 1 1 0 0 1 1 0 1 0 1 1 0 0 1 1 1 0 Problem 11 (8 points) Truth table to digital logic Draw a digital logic, implemented with standard gates, that corresponds to the truth table shown in Problem 10. You can build on your Problem 10 answer if that seems appropriate. Page 4 of 6

Problem 12 (8 points) Boolean expression to truth table Complete the truth table on the right below so that it corresponds to the following Boolean equation A = X (Y + Z) + X Z If you prefer that your inversions be primes, you can think of the equation as A = X (Y + Z') + X' Z Or, if you really like Java and C expressions, you can go with A = X && (Y!Z)!X && Z 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 Problem 13 (8 points) Boolean expression to digital logic On the remainder of this page, draw a logic circuit at the gate level that will implement the Boolean equation given in Problem 12. You can build on your Problem 12 answer if that seems appropriate. Page 5 of 6

Problem 14 (6 points) Sigma notation to truth table Complete the truth table for the Boolean function specified using Sigma notation: F(X, Y, Z) = Σ(3, 5, 6) where A = F(X, Y, Z). 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 Problem 15 (2 points) Sigma notation to Boolean equation Write a Boolean equation for the truth table shown in Problem 14. Don t try to simplify it. You ll only make the next problem harder. Problem 16 (8 points) Sigma notation to NAND-NAND implementation And finally, implement your Boolean equation by adding and connecting three inverters and four three-input NAND gates in the following circuit. Page 6 of 6