SFU - CMPT 150 - Assignments - 1

SFU - CMPT 150 - Assignments - 1 - c A.H.Dixon CMPT 150 :...

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

View Full Document Right Arrow Icon
c ± A.H.Dixon CMPT 150 : ASSIGNMENT 1 1 Due 23:59 Monday, January 28, 2008 (2 pages) NOTE: Before you prepare your final submission, please access the course website and check the ”Submissions” link of the course website for information on how to present your solutions and what to submit for marking. You are responsible for having read these guidelines and marks may be deducted for not following them. 1. These days, a typical computer word is either 32 or 64 bits long. For each of the following encodings, determine the number of unsigned integers that can be represented with 32 bits and with 64 bits: (a) Fixed length binary encoding (base 2). (b) BCD encoding. (c) 8-bit ASCII encoding. This encoding is very similar to 7-bit ASCII as given on page 27 of the textbook, except that 8-bit codewords are used rather than 7. You may assume the leftmost bit is 0. NOTE: You may leave your answers expressed as powers of 2 or 10 (as appropriate) if you wish. For example, the expression “2 8 + 1” can be left
Background image of page 1

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

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

Page1 / 2

SFU - CMPT 150 - Assignments - 1 - c A.H.Dixon CMPT 150 :...

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