I am trying to solve the following three tasks (for exam practice, not as a homework):
Define $𝐺 : \{0,1\}^* \rightarrow \{0,1\}^*$ by $G(x_1,...,x_n) = 𝑥_1 \oplus 𝑥_2,𝑥_1,⋅⋅⋅,x_n.$ Prove that this $G$ is not a pseudorandom generator.
Let $G$ be a pseudorandom generator, and define $G'(x_1, ..., x_n) = G(x_1, ..., x_n)|(x_1 \vee x_2)$. Is $G'$ a pseudorandom generator?
Define $𝐹 : \{0,1\}^* × \{0,1\}^* \rightarrow \{0,1\}^*$ as follows: $𝐹_{𝑘_1,...,𝑘_𝑛} (𝑥_1,..., 𝑥_𝑛) = \bigoplus_i 𝑘_𝑖 𝑥_𝑖$, where $𝑘_𝑖, 𝑥_𝑖 \in \{0,1\}^*$ (Note that, different from the usual convention, $F$ takes an n-bit key and an n-bit input, but has only a single-bit output). Prove that this 𝐹 is not a pseudorandom function.
My guesses are:
Not a pseudorandom generator since a distinguisher can always distinguish G(s) from a truly random string because the first bit of G(s) is always equal to the XOR of the second and third bit.
Not a pseudorandom generator because a distinguisher could simply check whether the last bit of the string equals $x_1 \vee x_2$ and could thus distinguish G(s) from a truly random string.
I cannot determine how to solve this.
Are my guesses correct? Can someone provide an idea for 3?