a) yy
Explanation:
The command 'p' puts the copied text after the cursor.
2. Which command is used to close the vi editor?
a) q
b) wq
c) both (a) and (b)
d) none of the mentioned
c) both (a) and (b)
Explanation:
The command 'q' just closes the file and 'wq' saves and closes the file.
b) vi editor commands are not case sensitive
a) moves screen down one page
b) autoindentation can be set using the command ':set ai'