Find the domain and range of these functions. Note that in each ease, to find the domain, determine the set of elements assigned values by the function.a) the function that assigns to each bit string the number of ones in the string minus the number of zeros in the string________________b) the function that assigns to each bit string twice the number of zeros in that siring________________c) the function that assigns the number of bits left over when a bit string is split into bytes (which arc blocks of 8 bits)________________d) the function that assigns to each positive integer the largest perfect square not exceeding this integer

SolutionStep 1(a)In the Problem we have to find the domain and range of the function that assign to each bit string the number of ones in the string minus the number of zero in the string.Here, domain of the function = set of all bit integers whose length greater than and equal to 1. Range of the function = N - {0} = N = set of integers = {1, 2, 3, 4,......}Step 2(b)In the Problem we have to find the domain and range of function assign to each bit string twice the number of zero in that stringHere, domain of the function = set of all bit integers whose length greater than and equal to 1. Range of the function = set of all positive even number integers = {2,4,6,.......}