I have two questions please. I know the answers because it was in last year exam (multiple choice). I would like to know the way to get the answers.
1)I need to find the Number of different functions with 4 variables $f(x,y,z,w)$ that satisfied the following requirements: $f(0,0,0,0)=0$ And $f(0,y,z,w) = f(1,y,z,w)$
The answer in the exam was:128
2)I need to find the Number of different functions with 6 variables $f(x1, x2, x3, x4, x5, x6)$ that satisfied the following requirements: $f(0,0,0,0,0,0)=0$ And $f(1,1,1,1,1,1)=0$ And $f(x1, x2, 0, x4, x5, x6) = f(x1, x2, 1, x4, x5, x6)$
The answer in the exam was: 2^30