0% found this document useful (0 votes)
40 views

Chapter 1

The document discusses number base systems and converting between decimal, binary, octal, and hexadecimal numbering systems. It includes problems involving 8-bit and 16-bit floating point number representation.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views

Chapter 1

The document discusses number base systems and converting between decimal, binary, octal, and hexadecimal numbering systems. It includes problems involving 8-bit and 16-bit floating point number representation.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

AQ010-3-1-MCFC Number Base System

(1) Convert all the following answers in decimal (base 10):


(a) 1011012 (b) 5678 (c) AB116 (d) 1010.1012
(e) 562.18 (f) 121.A16 (g) 277.5428 (h) 23.15

(2) Convert all the following answers in binary (base 2):


(a) 1278 (b) 7710 (c) 9916 (d) DA.316
(e) 12.510 (f) 32.678 (g) 43.216 (h) 107.2510
(i) 101110102 + 11111012 (j) 1010001012 - 111112
(k) 11111012 + 1010112 – 10111112

(3) Convert all the following answers in octal (base 8):


(a) 8310 (b) 10110112 (c) 1011101.112 (d) AB16
(e) A1F2.C16 (f) 6758 + 7718 (g) 5310 - 508 (h) 10258 - 7738
(i) 23458 – 12348 + 78 – 5128 + 628 (j) 101012 + 9A316
(k) 1648 + 658 – 528

(4) Convert all the following answers in hexadecimal (base 16):


(a) 10101112 (b) 146.138 (c) 11001.011012 (d) 124.562510
(e) AB.CD16 + E5.2F16 (f) C5.A216 – A7.B316 (g) 93716 + 37258
(h) 100.0116 – 142.310(round to 2 decimal digit) (i) 30.48 – 111.11012
(j) 83A7F4.5D16 + B5B63.3E16 (k) [12358 – (7168+ 1048)] + 25616

(5) Using 8-bit register, convert the following decimal numbers to binary and find the 1’s
and 2’s complements.
(a) 1510 (b) 5310 (c) 11510 (d) 9510

(6) Using two’s complement in 8-bit register, show how the computer would evaluate
(a) 0001 11012 – 0001 01012 (b) 0011 11012 – 0001 01112
(c) 0111 11002 – 0111 01012 (d) 1110 – 2510 (e) –1110 – 2510
(f) 2510 – 1110 (g) 3210 – 1310 (h) –1010 – 510

(7) A computer stores the floating number in 16 bit where 1 bit for the sign, 6 bits for the
exponent having a biased or (+31) and mantissa has a hidden bit.
(a) Show how those floating-point values would be represented in that computer.
(i) 12.7510
(ii) –6.0312510
(iii) 8.62510
5
(iv)
16 10
(b) If the computer represents a number as
(i) 1100 1011 1000 00002,
(ii) 0100 1111 0111 01012
(iii) 0011 1101 0111 01012
what is the decimal value of this number?

(8) A computer stores the floating number in 32 bit where 1 bit for the sign, 8 bits for the
exponent having a biased or (+127) and mantissa has a hidden bit. Show how those
floating-point values would be represented in that computer.
(i) 27.7510
(ii) -37.87510

Level 1 Asia Pacific University of Technology & Innovation Page 1 of 2


AQ010-3-1-MCFC Number Base System

(a) If the computer represents a number as


1 10000010 111101100000000000000002,
what is the decimal value of this number?
(b) If the computer represents a number as C210000016, what is the decimal value of
this number?

Level 1 Asia Pacific University of Technology & Innovation Page 2 of 2

You might also like