Copy a line in vi editor

Question:
What is the command to copy a line in vi editor?

  1. p
  2. dd
  3. yy
  4. x
Answer:
yy - copy a line
dd- delete a line
p - paste
x - delete a single character
So the answer is C - yy