A signed fixed point system has a range of values from 50 to
A signed fixed point system has a range of values from -50 to +50 with a resolution of 2-8.
 Note: 2-8 equals 1/256. With which of the following data types should the software variables be allocated? When
 more than one answer is possible choose the most space efficient type.
A) char
B) unsigned char
C) float
D) short
E) unsigned short
F) double
G) long
H) unsigned long
Solution
(50)10 = (110010)2 So it needs 6 bits for data and 1 bit for sign to store negative numbers. = 7bits
1/256 = 0.00396 so almost 8 bits for fraction
short and long can be used to store integers.
so float is the possible choice as it uses 6 decimal places for precision
C) float

