Read this before starting!

Similar documents
Read this before starting!

Read this before starting!

Read this before starting!

Read this before starting!

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.

Section 001. 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

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

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!

Read this before starting!

Read this before starting!

Read this before starting!

Section 001. Read this before starting!

Section 001. 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

Section 001 & 002. Read this before starting!

Section 002. Read this before starting!

Read this before starting!

Read this before starting!

Read this before starting!

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

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

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.

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

Combinational Circuits Digital Logic (Materials taken primarily from:

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)

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

Logic Design: Part 2

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

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

CPSC 121 Some Sample Questions for the Final Exam Tuesday, April 15, 2014, 8:30AM

Lecture (04) Boolean Algebra and Logic Gates

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

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

ENGIN 112 Intro to Electrical and Computer Engineering

Binary Values. CSE 410 Lecture 02

DIGITAL SYSTEM DESIGN

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

Binary Adders: Half Adders and Full Adders

1. Mark the correct statement(s)

Philadelphia University Student Name: Student Number:


ENEL 353: Digital Circuits Midterm Examination

Summary of Course Coverage

SE311: Design of Digital Systems

4 Operations On Data 4.1. Foundations of Computer Science Cengage Learning

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

CSE COMPUTER USE: Fundamentals Test 1 Version D

Lecture 2: Number Systems

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

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:

IT 201 Digital System Design Module II Notes

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

EECS150 Homework 2 Solutions Fall ) CLD2 problem 2.2. Page 1 of 15

Propositional Calculus. Math Foundations of Computer Science

Logic Gates and Boolean Algebra ENT263

Chapter 4. Operations on Data

QUESTION BANK FOR TEST

CDS130 Mid-term exam: Sample

Lecture (03) Binary Codes Registers and Logic Gates

Chapter 2: Universal Building Blocks. CS105: Great Insights in Computer Science

ECE20B, Spring Final Exam lab questions.

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

4 Operations On Data 4.1. Foundations of Computer Science Cengage Learning

Combinational Logic & Circuits

At this point in our study of digital circuits, we have two methods for representing combinational logic: schematics and truth tables.

CS & IT Conversions. Magnitude 10,000 1,

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

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

Summary. Boolean Addition

CS1800 Discrete Structures Final Version A

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

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

Finite Mathematical Structures A

2. BOOLEAN ALGEBRA 2.1 INTRODUCTION

DIGITAL ARITHMETIC: OPERATIONS AND CIRCUITS

EE292: Fundamentals of ECE

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

Computer Organization and Levels of Abstraction

CMPSCI 145 MIDTERM #2 SOLUTION KEY SPRING 2016 March 30, 2016 Professor William T. Verts

Binary. Hexadecimal BINARY CODED DECIMAL

COMP combinational logic 1 Jan. 18, 2016

15110 PRINCIPLES OF COMPUTING SAMPLE EXAM 2

EE 109L Review. Name: Solutions

Microcomputers. Outline. Number Systems and Digital Logic Review

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

Digital Systems and Binary Numbers

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

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

1. Boolean algebra. [6] 2. Constructing a circuit. [4] 3. Number representation [4] 4. Adders [4] 5. ALU [2] 6. Software [4]

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

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

Exam Principles of Imperative Computation, Summer 2011 William Lovas. June 24, 2011

Transcription:

Points missed: Student's Name: Total score: /100 points East Tennessee State University Department of Computer and Information Sciences CSCI 2150 (Tarnoff) Computer Organization TEST 1 for Spring Semester, 2009 Read this before starting! The total possible score for this test is 100 points. This test is closed book and closed notes Please turn off all cell phones & pagers during the test. You may NOT use a calculator. Leave all numeric answers in the form of a formula. You may use one sheet of scrap paper that you must turn in with your test. Please draw a box around your answers. This is to aid the grader. Failure to do so might result in no credit for answer. Example: 1 point will be deducted per answer for missing or incorrect units when required. No assumptions will be made for hexadecimal versus decimal versus binary, 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. Statement regarding academic misconduct from Section 5.7 of the East Tennessee State University Faculty Handbook, June 1, 2001: "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." Combined w/0 Basic Rules of Boolean Algebra OR AND XOR A 0 A A 0 0 A 0 A Combined w/1 A 1 1 A 1 A A 1 A Combined w/self A A A A A A A A 0 Combined w/inverse A A 1 A A 0 A A 1 Other rules DeMorgan's Th. A A B A A A B A B ( A B) ( A C) A B C A B A B A B A B

Short-ish Answer (2 points each unless otherwise noted) 1. Which unit of measurement is used to represent the frequency of a periodic waveform? a.) Seconds b.) Percent c.) Hertz d.) Seconds per cycle e.) Cycles 2. What is the frequency of the signal show to the right? (Note: 1 microsecond = 1 10-6 seconds) 10 microseconds 20 microseconds 3. The duty cycle for the previous problem is: a.) 25% b.) 33% c.) 40% c.) 50% d.) 66% e.) 75% f.) 100% 4. How many patterns of 1's and 0's can be made using 7 bits? 5. You can quickly determine whether a number is positive or negative in the signed representations 2's complement, signed magnitude, and IEEE-754 floating-point by simply looking at the. a.) most significant bit b.) least significant bit c.) number of bits 6. What is the most positive value that can be stored using 10-bit unsigned binary representation? a.) 2 11 b.) 2 11 1 c.) 2 10 d.) 2 10 1 e.) 2 9 f.) 2 9 1 7. What is the most negative value that can be stored using 9-bit signed magnitude representation? a.) 2 10 b.) (2 10 1) c.) 2 9 d.) (2 9 1) e.) 2 8 f.) (2 8 1) 8. What is the minimum number of bits needed to represent 1250 10 in unsigned binary representation? a.) 8 b.) 9 c.) 10 d.) 11 e.)12 f.) 13 9. The IEEE-754 32-bit floating-point value 11000000100101000000000000000000 is. a.) positive b.) negative 10. Write the complete truth table for a 2-input XOR gate. (3 points) A B X

11. Perform the binary addition shown below. 1 0 1 1 0 0 1 0 + 0 1 0 1 0 001 12. True or false: The above addition works the same regardless of whether the numbers are in 2's complement notation or unsigned binary notation. (1 point) 13. True or false: If the above addition is in 8-bit unsigned binary notation, the result can be contained in 8 bits. (1 point) 14. True or false: If the above addition is in 8-bit 2's complement notation, the result can be contained in 8 bits. (1 point) 15. In the boolean expression below, circle the single operation that would be performed first. A B C D E 16. Divide the 16-bit value 0000010110100000 2 by 16. Leave your answer in 16-bit binary. (Hint: Remember the shortcut!) 17. Convert 1100000110100010101 2 to hexadecimal. 18. Convert the unsigned binary value 001100 2 to its corresponding 6-bit binary Gray code. (3 points) Medium-ish Answer (4 points each unless otherwise noted) 19. Convert the 32-bit IEEE 754 floating-point number 11000000000110100000000000000000 to its binary exponential format, e.g., 1.001010 x 2-12, (which, by the way, is not the answer). 20. Convert 0110.011 2 to decimal. (You may leave your answer in expanded form if you wish.)

21. In the space to the right, draw the circuit exactly as it is represented by the following Boolean expression: A ( B C). 22. Prove the rule A 1 A. (Remember that is the XOR or exclusive-or) For full credit, please show all steps in detail. 23. In the space to the right, create the truth table for the circuit shown below. (6 points) A B C A B X C 24. Write the Boolean expression for the circuit shown in the previous problem. Do not simplify! 25. Use DeMorgan's Theorem to distribute the inverse of the expression A ( B C) D all of the way to the individual input terms. Be careful of the AND and OR precedence. It might help to see the expression as a logic circuit. Do not simplify!

26. Assume that an 8-bit binary number is used to represent an analog value in the range from 10 to 20. Convert all four of the following binary values to their analog equivalent, i.e., what analog value does each of these binary values represent? You may leave your answer in the form of a fraction in some cases if you wish. (5 points) a.) 00000000 2 b.) 00000001 2 c.) 00000110 2 d.) 11111111 2 Longer Answers (Points vary per problem) 27. Mark each Boolean expression as true or false depending on whether the right and left sides of the equal sign are equivalent. Show all of your work to receive partial credit for incorrect answers. (3 points each) a.) A B A 1 Answer: b.) A B ( A B) 1 Answer: c.) ( A B C A B C) 1 Answer:

28. Fill in the blank cells of the table below with the correct numeric format. For cells representing binary values, only 8-bit values are allowed! If a value for a cell is invalid or cannot be represented in that format, write "X". (7 points per row) Decimal 2's complement binary Signed magnitude binary Unsigned binary Unsigned BCD 01010011 10001001 23