ex1 - Department of Computer Science and Engineering CUHK...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Department of Computer Science and Engineering, CUHK ERG2020A (Fall 2007): Revision Exercise # 1 Posted: 4th Oct, 2007 1. Convert the following decimal numbers to binary: 1776, 1812, 1969, and 2000. Please show your steps. 2. Convert the following numbers from the given base to the other three bases listed in the table: (correct to 3 decimal places) Decimal Binary Octal Hexadecimal 289.42 ? ? ? ? 1000101.101 ? ? ? ? 235.6 ? ? ? ? E5A8.B 3. Convert the following decimal numbers to the indicated bases using the methods of Lecture Note 1 page 18. (correct to 3 decimal places) (a) 6789.6 to octal (b) 1842.359 to hexadecimal (c) 83.82 to binary 4. Division is composed of multiplications and subtractions. Perform the binary division 1011110 ÷ 101 to obtain a quotient and remainder. 5. The following calculation was performed by a particular breed of unusually intelligent chicken. If the radix r used by the chicken corresponds to its total number of toes, how many toes does the chicken have on each foot? ((35)
Background image of page 1

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

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 2

ex1 - Department of Computer Science and Engineering CUHK...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online