Find the domain and range of these functions.

a) the function that assigns to each pair of positive integers the first integer of the pair

b) the function that assigns to each positive integer its largest decimal digit

c) the function that assigns to a bit string the number of ones minus the number of zeros in the string

d) the function that assigns to each positive integer the largest integer not exceeding the square root of the integer

e) the function that assigns to a bit string tie longest string of ones in the string

Step1

Given that

We have to find that the domain and range of functions.

Step2

a) the function that assigns to each pair of positive integers the first integer of the pair.

We can write the function as

Therefore, the domain is and the range is

Step3

b) the function that assigns to each positive integer its largest decimal digit.

We can write the function as

Therefore, the domain is and the range is

Step4

c) the function that assigns to a bit string the number of ones minus the number of zeros in the...