# sample_test2 - COCO Name of Student Student ID Number Exam...

This preview shows pages 1–3. Sign up to view the full content.

COCO Exam 1 Name of Student Student ID Number RCS ID Section Exam Rules: 1. Open Book and Notes, 1-page 'crib' sheet is encouraged 2. Calculators are allowed, but not required 3. Laptops are permitted 4. Individual Work Spring 2000

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
1. (20 points) Number Systems, Codes, Computer Arithmetic A. (8 points) (1) Convert 10101010 2 to a 2s-complement negative number. ___________________ (1) Convert 10101010 2 to a decimal number. ___________________ (1) Convert 10101010 2 to a hexadecimal number. ___________________ (1) Convert 10101010 2 to a Gray code number. ___________________ (1) Convert 10101010 Gray code to a binary number. ___________________ (1) Convert A3 16 to a binary number. ___________________ (1) Convert 70 10 to a binary number. ___________________ (1) Convert 70 10 to a BCD number. ___________________ B. (5 points) Add using 2s-complement arithmetic 01100101 2 + 10101010 2 . Does this result in an overflow? Explain your answer. Sum = _____________________ Overflow result = ____________________________________________________________ C. (2 points) Convert the numbers of part (b) to decimal and add them. What answer do you get? Sum = _____________________
This is the end of the preview. Sign up to access the rest of the document.

## This homework help was uploaded on 04/22/2008 for the course ECSE 2610 taught by Professor Ji during the Spring '08 term at Rensselaer Polytechnic Institute.

### Page1 / 7

sample_test2 - COCO Name of Student Student ID Number Exam...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online