ITEC 1000 Study Guide - Final Guide: Binary Number, Negative Number, Ebcdic

185 views7 pages

Document Summary

1) a) convert 122 to its binary representation: 12210 = 011110102. The answer: 01111010 b) convert -122 to its binary representation: -12210 = -011110102. Using the second method for negative numbers, invert and then add 1. The answer: 10000110 c) convert 55 to its binary representation: 5510 = 001101112. The four least significant digits of the ascii code match the four bits of bcd: between -7999 and +7999. This is because 16 bits provide four four-bit locations. The lowest (right most) and two middle 4 bits can each store any number from 0 to 9. In the highest (left most) 4 bits, one bit is used for the sign, leaving 3 bits for digits. These 3 bits can accommodate numbers between 0 and 7. https://moodle. yorku. ca/moodle/pluginfile. php/3639206/mod_resource/content/16/a2itec1000abf18solutions. htm. 11/14/2018 a) 14645 is a positive number and is represented by itself. 5914 c) there was no overflow condition because the number have opposite signs and overflow cannot occur.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents