I just failed a test in discrete math. Here is the Question that cost me the most points:
An n-dimension hypercube f(n) is defined as follows. Basis Step: f(1) is a graph with 2 vertices connected by a link, and with 1-bit ID for each vertex.
Recursive step: To define f(n) for n>=2, we use two (n-1) dimension hypercubes. For one f(n-1), we append 0 to each of its vertex IDs and for the other f(n-1), we append 1 to each of its vertex IDs differ only in the left-most bit. Determine if the graph following graph is a two dimension hypercube. And then draw the graph for f(3)

For the first question I put "NO" because if the first graph is just two vertices connected by a straight line and it's considered a 1-dimension line. Then each additional vertices requires a new line which would add a dimension. Therefor the graph above would be more than two dimensions.
I was given ZERO points with no explanation by the Teacher as to the logic behind this.
The last question asks us to 'Prove' that the number of links in an n-dimension hypercube is n*2^(n-1) for all n>=1
At this point I was completely lost.
That picture is a two-dimensional hypercube. Notice how a given vertex $v$ is only adjacent to other vertices whose binary strings differ from $v$ by a single digit. A hypercube $Q_{n}$ has $2^{n}$ vertices with binary strings in $\{0, 1\}^{n}$.
For the edge count, consider a given vertex $v \in Q_{n}$. It has a binary string. How many binary strings differ from $v$ in exactly one place? Consider $010$. We have three such strings- $110, 011, 000$. So if we generalize, we have $n$ such vertices that $v$ is adjacent to. Now apply the handshake lemma. Each vertex has degree $n$. There are $2^{n}$ vertices. So $n2^{n} = 2E$.
Does that make sense?