Define the domain and range of the following functions a a f
Define the domain and range of the following functions:
a. a function which assigns to an arbitrary bit string the number of bits left over after the string
is split into as many successive full bytes as possilbe.
b. a function which assigns to an arbitrary integer its largest hexadecimal digit.
Solution
a) the domain is the particular set of bit strings, the range is {0,1,2,3,4,5,6,7}
b) function is hex()
domain is {0,10000}
range {0,width}
