This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: c A.H.Dixon CMPT 150 : Assignment 4 1 Due 23:59 Wednesday, March 19, 2008 (2 pages) NOTE: Before you prepare your final submission, please access the course web site and check the “Submissions” link 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. In any programming language, in order to display a result on a workstation in a form readable to humans, that result must be expressed as a sequence of characters. For example, a computation might produce the result: 0 1 0 0 1 1 0 0 Now if it is known that this is the base2 representation of an integer, then it must be converted to the character string “76” because that is the what the base2 number given by the binary sequence 01001100 represents. Therefore every programming language in cludes “output procedures” to make this conversion so that you will observe “76” on your workstation rather than 01001100 ....
View
Full Document
 Spring '08
 Dr.AnthonyDixon
 Positional notation, Decimal, Binarycoded decimal, ASCII, display area, BCD codeword

Click to edit the document details