For a Function→y=f(x),
Domain is the set of all x values for which y is defined.
Range of a function is defined as, set of all possible values of y, for which x is defined.
For the function given in Question 4
⇒For every value of x lying in the interval from (-∞,∞), there are value of y which will lie in the interval (-∞,∞).
Domain of the function=(-∞,∞)=R
Range of the Function =(-∞,∞)=R
⇒For a Linear function in Question 5
Domain as well as Range =(-∞,∞)=R
⇒For the Function given in Question 6
Domain =[0,4]
Range=[-2,2]