Practice7_3332 - German University in Cairo Faculty of...

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

View Full Document Right Arrow Icon
German University in Cairo Faculty of Media Engineering and Technology Prof. Dr. Slim Abdennadher Introduction to Computer Science , Winter Term 2009-2010 Practice Assignment 7 Discussion: 5.12.2009 - 10.12.2009 Exercise 7-1 What would be the ranges of numbers that can be represented by sign / magnitude, 1's complement, and 2's complement using the following number of bits: 3 bits 8 bits 10 bits Justify your answer. Exercise 7-2 Show how the decimal number - 22 . 246 is stored in a computer that uses 16 bits to represent real numbers ( 10 for the mantissa and 6 for the exponent, both including the sign bit). Show your work as indicated below. a) Show the binary representation of the decimal number - 22 . 246 . b) Show the binary number in normalized scienti c notation. c) Show how the binary number will be stored in the 16 bits below. Sign of Mantissa Sign of Exponent mantissa exponent 1 bit 9 bits 1 bit 5 bits Exercise 7-3 Assume that our computer stores decimal numbers using 16 bits 10 bits for a
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 / 3

Practice7_3332 - German University in Cairo Faculty of...

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